mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Patch #103343: Allow the important test_pkg to succeed under Jython.
This commit is contained in:
parent
db786876b6
commit
d304f44906
2 changed files with 6 additions and 6 deletions
|
@ -187,13 +187,13 @@ print dir()
|
|||
"""
|
||||
t7, sub, subsub = None, None, None
|
||||
import t7 as tas
|
||||
print dir(tas)
|
||||
print fixdir(dir(tas))
|
||||
verify(not t7)
|
||||
from t7 import sub as subpar
|
||||
print dir(subpar)
|
||||
print fixdir(dir(subpar))
|
||||
verify(not t7 and not sub)
|
||||
from t7.sub import subsub as subsubsub
|
||||
print dir(subsubsub)
|
||||
print fixdir(dir(subsubsub))
|
||||
verify(not t7 and not sub and not subsub)
|
||||
from t7.sub.subsub import spam as ham
|
||||
print "t7.sub.subsub.spam =", ham
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue