[Jython-checkins] jython: Update for __package__.
frank.wierzbicki
jython-checkins at python.org
Wed Apr 11 20:46:46 CEST 2012
http://hg.python.org/jython/rev/54c36a67dc8f
changeset: 6569:54c36a67dc8f
user: Frank Wierzbicki <fwierzbicki at gmail.com>
date: Wed Apr 11 11:46:39 2012 -0700
summary:
Update for __package__.
files:
Lib/test/test_jy_internals.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_jy_internals.py b/Lib/test/test_jy_internals.py
--- a/Lib/test/test_jy_internals.py
+++ b/Lib/test/test_jy_internals.py
@@ -281,11 +281,11 @@
from org.python.core import PyModule, PyInstance
test = PyModule("test", {})
exec "a = 2" in test.__dict__
- self.assertEquals(len(test.__dict__), 3)
+ self.assertEquals(len(test.__dict__), 4)
#test = PyInstance.__tojava__(test, PyModule)
exec "b = 3" in test.__dict__
- self.assertEquals(len(test.__dict__), 4)
+ self.assertEquals(len(test.__dict__), 5)
def test_main():
test_support.run_unittest(__name__)
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list