[Python-checkins] CVS: python/dist/src/Lib/test test_pkg.py,1.11,1.12
Tim Peters
tim_one@users.sourceforge.net
Sun, 21 Jan 2001 11:51:55 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv20859/python/dist/src/lib/test
Modified Files:
test_pkg.py
Log Message:
Patch #103343: Allow the important test_pkg to succeed under Jython.
Index: test_pkg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pkg.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** test_pkg.py 2001/01/17 19:11:13 1.11
--- test_pkg.py 2001/01/21 19:51:53 1.12
***************
*** 188,198 ****
t7, sub, subsub = None, None, None
import t7 as tas
! print dir(tas)
verify(not t7)
from t7 import sub as subpar
! print dir(subpar)
verify(not t7 and not sub)
from t7.sub import subsub as subsubsub
! print dir(subsubsub)
verify(not t7 and not sub and not subsub)
from t7.sub.subsub import spam as ham
--- 188,198 ----
t7, sub, subsub = None, None, None
import t7 as tas
! print fixdir(dir(tas))
verify(not t7)
from t7 import sub as subpar
! print fixdir(dir(subpar))
verify(not t7 and not sub)
from t7.sub import subsub as subsubsub
! print fixdir(dir(subsubsub))
verify(not t7 and not sub and not subsub)
from t7.sub.subsub import spam as ham