frozen modules now apparently have empty __path__

This commit is contained in:
Benjamin Peterson 2013-05-31 22:18:26 -07:00
parent 3e0651b5fa
commit 5cfbd2642c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class FrozenTests(unittest.TestCase):
else:
expect.add('spam')
self.assertEqual(set(dir(__phello__)), expect)
self.assertEqual(__phello__.__path__, [__phello__.__name__])
self.assertEqual(__phello__.__path__, [])
self.assertEqual(stdout.getvalue(), 'Hello world!\n')
with captured_stdout() as stdout: