mirror of https://github.com/python/cpython
frozen modules now apparently have empty __path__
This commit is contained in:
parent
3e0651b5fa
commit
5cfbd2642c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue