Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove an associated test
  • Loading branch information
arhadthedev committed Jun 24, 2022
commit cc58d751b7704c5a39967a648db3b8a635c2d5ae
11 changes: 0 additions & 11 deletions Lib/test/test_base64.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,17 +759,6 @@ def tearDown(self):
if os.path.exists(os_helper.TESTFN):
os.unlink(os_helper.TESTFN)

def get_output(self, *args):
return script_helper.assert_python_ok('-m', 'base64', *args).out

def test_encode_decode(self):
Comment thread
arhadthedev marked this conversation as resolved.
output = self.get_output('-t')
self.assertSequenceEqual(output.splitlines(), (
b"b'Aladdin:open sesame'",
br"b'QWxhZGRpbjpvcGVuIHNlc2FtZQ==\n'",
b"b'Aladdin:open sesame'",
))

def test_encode_file(self):
with open(os_helper.TESTFN, 'wb') as fp:
fp.write(b'a\xffb\n')
Expand Down