[Jython-checkins] jython: Add __package__

frank.wierzbicki jython-checkins at python.org
Tue Apr 24 01:18:43 CEST 2012


http://hg.python.org/jython/rev/495224d53fe8
changeset:   6620:495224d53fe8
user:        Frank Wierzbicki <fwierzbicki at gmail.com>
date:        Mon Apr 23 16:18:36 2012 -0700
summary:
  Add __package__

files:
  Lib/test/test_descr.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -351,7 +351,7 @@
     minstance.b = 2
     minstance.a = 1
     names = [x for x in dir(minstance) if x not in ["__name__", "__doc__"]]
-    vereq(names, ['a', 'b'])
+    vereq(names, ['__package__', 'a', 'b'])
 
     class M2(M):
         def getdict(self):

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list