diff options
| author | Mike <mehanig@gmail.com> | 2017-12-14 14:04:53 +0300 |
|---|---|---|
| committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2017-12-14 13:04:53 +0200 |
| commit | 53f7a7c2814fbfd8a29200926601a32fa48bacb3 (patch) | |
| tree | 4f74255b4cf6af46480b3e48bdc2411dfede9e15 /Lib/test/test_zipapp.py | |
| parent | 5364b5cd7571f2dfa75acd37b388c14ac33fef73 (diff) | |
| download | cpython-git-53f7a7c2814fbfd8a29200926601a32fa48bacb3.tar.gz | |
bpo-32297: Few misspellings found in Python source code comments. (#4803)
* Fix multiple typos in code comments
* Add spacing in comments (test_logging.py, test_math.py)
* Fix spaces at the beginning of comments in test_logging.py
Diffstat (limited to 'Lib/test/test_zipapp.py')
| -rw-r--r-- | Lib/test/test_zipapp.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_zipapp.py b/Lib/test/test_zipapp.py index 948833b200..73bddc79c1 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) |
