summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-11-05 22:48:33 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-11-05 22:48:33 (GMT)
commitd968e27581e42874427979c87885997c59af5ba5 (patch)
treed6c2030a8e16c15bfd399c9a2a175070a38f47cd /Lib
parent65676e407cd4beecf9ea482ae68926bff8329049 (diff)
downloadcpython-d968e27581e42874427979c87885997c59af5ba5.zip
cpython-d968e27581e42874427979c87885997c59af5ba5.tar.gz
cpython-d968e27581e42874427979c87885997c59af5ba5.tar.bz2
fix #4211: the __path__ of a frozen package should be a list.
Patch by Brett Cannon, review by Christian Heimes.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_frozen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_frozen.py b/Lib/test/test_frozen.py
index 545941b..ab7b52f 100644
--- a/Lib/test/test_frozen.py
+++ b/Lib/test/test_frozen.py
@@ -22,6 +22,7 @@ class FrozenTests(unittest.TestCase):
self.assertEqual(len(dir(__phello__)), 7, dir(__phello__))
else:
self.assertEqual(len(dir(__phello__)), 8, dir(__phello__))
+ self.assertEquals(__phello__.__path__, [__phello__.__name__])
try:
import __phello__.spam