Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d304f449
Commit
d304f449
authored
Jan 21, 2001
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch #103343: Allow the important test_pkg to succeed under Jython.
parent
db786876
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Lib/test/output/test_pkg
Lib/test/output/test_pkg
+3
-3
Lib/test/test_pkg.py
Lib/test/test_pkg.py
+3
-3
No files found.
Lib/test/output/test_pkg
View file @
d304f449
...
...
@@ -38,8 +38,8 @@ t6.eggs loading
['eggs', 'ham', 'spam', 't6']
running test t7
t7 loading
['__
builtins__', '__
doc__', '__file__', '__name__', '__path__']
['__
builtins__', '__
doc__', '__file__', '__name__', '__path__']
['__doc__', '__file__', '__name__', '__path__']
['__doc__', '__file__', '__name__', '__path__']
t7.sub.subsub loading
['__
builtins__', '__
doc__', '__file__', '__name__', '__path__', 'spam']
['__doc__', '__file__', '__name__', '__path__', 'spam']
t7.sub.subsub.spam = 1
Lib/test/test_pkg.py
View file @
d304f449
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment