commit | 230b20684f6d10044d604bc88065692393037948 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Oct 16 03:45:45 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Oct 16 03:45:45 2010 +0000 |
tree | 252d777b8743aa3884daf112549e4fdf4275d117 | |
parent | 294a9fcba67b95efc62c5461fcc6fe9a5a59c525 [diff] [blame] |
don't identify the toplevel namespace by name #9997
diff --git a/Lib/test/test_scope.py b/Lib/test/test_scope.py index 0e5a8e9..390e39f 100644 --- a/Lib/test/test_scope.py +++ b/Lib/test/test_scope.py
@@ -705,6 +705,14 @@ h = g() self.assertEqual(h(), 3) + def testTopIsNotSignificant(self): + # See #9997. + def top(a): + pass + def b(): + global a + + def test_main(): run_unittest(ScopeTests)