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
Return get_output back
  • Loading branch information
arhadthedev committed Jun 24, 2022
commit 16d3dcc82fb6ae7fb67308d2889abac52852a091
3 changes: 3 additions & 0 deletions Lib/test/test_base64.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,9 @@ 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_file(self):
with open(os_helper.TESTFN, 'wb') as fp:
fp.write(b'a\xffb\n')
Expand Down