Kaydet (Commit) 5cfbd264 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

frozen modules now apparently have empty __path__

üst 3e0651b5
...@@ -36,7 +36,7 @@ class FrozenTests(unittest.TestCase): ...@@ -36,7 +36,7 @@ class FrozenTests(unittest.TestCase):
else: else:
expect.add('spam') expect.add('spam')
self.assertEqual(set(dir(__phello__)), expect) self.assertEqual(set(dir(__phello__)), expect)
self.assertEqual(__phello__.__path__, [__phello__.__name__]) self.assertEqual(__phello__.__path__, [])
self.assertEqual(stdout.getvalue(), 'Hello world!\n') self.assertEqual(stdout.getvalue(), 'Hello world!\n')
with captured_stdout() as stdout: with captured_stdout() as stdout:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment