Merged revisions 85562 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85562 | benjamin.peterson | 2010-10-15 22:45:45 -0500 (Fri, 15 Oct 2010) | 1 line

  don't identify the toplevel namespace by name #9997
........
This commit is contained in:
Benjamin Peterson 2010-10-16 03:49:22 +00:00
parent c404afdf8b
commit e9633491ca
3 changed files with 12 additions and 1 deletions

View file

@ -693,6 +693,14 @@ result2 = h()
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)