summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipapp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_zipapp.py')
-rw-r--r--Lib/test/test_zipapp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_zipapp.py b/Lib/test/test_zipapp.py
index 948833b..73bddc7 100644
--- a/Lib/test/test_zipapp.py
+++ b/Lib/test/test_zipapp.py
@@ -365,7 +365,7 @@ class ZipAppCmdlineTest(unittest.TestCase):
args = [str(original), '-o', str(original)]
with self.assertRaises(SystemExit) as cm:
zipapp.main(args)
- # Program should exit with a non-zero returm code.
+ # Program should exit with a non-zero return code.
self.assertTrue(cm.exception.code)
def test_cmdline_copy_change_main(self):
@@ -375,7 +375,7 @@ class ZipAppCmdlineTest(unittest.TestCase):
args = [str(original), '-o', str(target), '-m', 'foo:bar']
with self.assertRaises(SystemExit) as cm:
zipapp.main(args)
- # Program should exit with a non-zero returm code.
+ # Program should exit with a non-zero return code.
self.assertTrue(cm.exception.code)
@patch('sys.stdout', new_callable=io.StringIO)
@@ -385,7 +385,7 @@ class ZipAppCmdlineTest(unittest.TestCase):
args = [str(target), '--info']
with self.assertRaises(SystemExit) as cm:
zipapp.main(args)
- # Program should exit with a zero returm code.
+ # Program should exit with a zero return code.
self.assertEqual(cm.exception.code, 0)
self.assertEqual(mock_stdout.getvalue(), "Interpreter: <none>\n")
@@ -395,7 +395,7 @@ class ZipAppCmdlineTest(unittest.TestCase):
args = [str(target), '--info']
with self.assertRaises(SystemExit) as cm:
zipapp.main(args)
- # Program should exit with a non-zero returm code.
+ # Program should exit with a non-zero return code.
self.assertTrue(cm.exception.code)