summaryrefslogtreecommitdiff
path: root/Lib/importlib/test
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-02-07 01:38:38 +0000
committerBrett Cannon <bcannon@gmail.com>2009-02-07 01:38:38 +0000
commit8d27a591b6800f47f233822070a32e003e03395d (patch)
tree2faa9d1f8dff5bf8170776fb84b45e2ea819115c /Lib/importlib/test
parent4b8fe5528bc9ad559380d6ad179e7469f81ecff8 (diff)
downloadcpython-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.py2
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)