diff options
Diffstat (limited to 'Lib/test/test_global.py')
-rw-r--r-- | Lib/test/test_global.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_global.py b/Lib/test/test_global.py index 22e4b254c2..2a58a10a22 100644 --- a/Lib/test/test_global.py +++ b/Lib/test/test_global.py @@ -21,7 +21,7 @@ def wrong1(): def test2(self): prog_text_2 = """\ def wrong2(): - print x + print(x) global x """ check_syntax_error(self, prog_text_2) @@ -29,7 +29,7 @@ def wrong2(): def test3(self): prog_text_3 = """\ def wrong3(): - print x + print(x) x = 2 global x """ |