diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-02-07 01:38:38 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-02-07 01:38:38 +0000 |
commit | 8d27a591b6800f47f233822070a32e003e03395d (patch) | |
tree | 2faa9d1f8dff5bf8170776fb84b45e2ea819115c /Lib/importlib/test | |
parent | 4b8fe5528bc9ad559380d6ad179e7469f81ecff8 (diff) | |
download | cpython-8d27a591b6800f47f233822070a32e003e03395d.tar.gz |
Move importlib's frozen importer over to rpartition for setting __package__.
Diffstat (limited to 'Lib/importlib/test')
-rw-r--r-- | Lib/importlib/test/frozen/test_loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/importlib/test/frozen/test_loader.py b/Lib/importlib/test/frozen/test_loader.py index c6f4463323..9032b0bb69 100644 --- a/Lib/importlib/test/frozen/test_loader.py +++ b/Lib/importlib/test/frozen/test_loader.py @@ -9,7 +9,7 @@ class LoaderTests(abc.LoaderTests): with util.uncache('__hello__'): module = machinery.FrozenImporter.load_module('__hello__') check = {'__name__': '__hello__', '__file__': '<frozen>', - '__package__': None} + '__package__': ''} for attr, value in check.items(): self.assertEqual(getattr(module, attr), value) |