mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #17516: do not create useless tuple: remove dummy commas in tests
This commit is contained in:
parent
765531d2d0
commit
3fa1aaebde
4 changed files with 11 additions and 11 deletions
|
|
@ -98,9 +98,9 @@ class CmdLineTest(unittest.TestCase):
|
|||
assert_python_failure('-m', 'fnord43520xyz')
|
||||
# Check the runpy module also gives an error for
|
||||
# a nonexistent module
|
||||
assert_python_failure('-m', 'runpy', 'fnord43520xyz'),
|
||||
assert_python_failure('-m', 'runpy', 'fnord43520xyz')
|
||||
# All good if module is located and run successfully
|
||||
assert_python_ok('-m', 'timeit', '-n', '1'),
|
||||
assert_python_ok('-m', 'timeit', '-n', '1')
|
||||
|
||||
def test_run_module_bug1764407(self):
|
||||
# -m and -i need to play well together
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue