From c392a334fc70dc83e56a3683d42434cc6fec8f52 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Sat, 27 Mar 2021 11:26:27 -0400 Subject: [PATCH] Pacify Python 3 `b"foo"` is `str` in Python 2, `bytes` in Python 3 --- src/allmydata/test/cli/test_invite.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/allmydata/test/cli/test_invite.py b/src/allmydata/test/cli/test_invite.py index f3f8859b5..20d012995 100644 --- a/src/allmydata/test/cli/test_invite.py +++ b/src/allmydata/test/cli/test_invite.py @@ -233,9 +233,9 @@ class Invite(GridTestMixin, CLITestMixin, unittest.TestCase): successfully send an invite """ invite = yield self._invite_success(( - b"--shares-needed", b"1", - b"--shares-happy", b"2", - b"--shares-total", b"3", + "--shares-needed", "1", + "--shares-happy", "2", + "--shares-total", "3", )) self.assertEqual( invite["shares-needed"], "1",