mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
frozen modules now apparently have empty __path__
This commit is contained in:
parent
3e0651b5fa
commit
5cfbd2642c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue