Update of /cvsroot/jython/bugtests
In directory usw-pr-cvs1:/tmp/cvs-serv7621
Modified Files:
test307.py test323.py
Log Message:
Updated to match the new way of adding .zip files to sys.path.
Index: test307.py
===================================================================
RCS file: /cvsroot/jython/bugtests/test307.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test307.py 2001/07/25 20:21:45 1.1
--- test307.py 2001/11/27 11:27:48 1.2
***************
*** 35,42 ****
compare("__name__", __name__, "test307p")
compare("__file__", __file__, "test307p/__init__.py")
! compare("__path__", __path__, ["test307.zip!test307p"])
import mod
import submod
! __path__.append("test307.zip!foo/bar")
import foobar
""")
--- 35,42 ----
compare("__name__", __name__, "test307p")
compare("__file__", __file__, "test307p/__init__.py")
! compare("__path__", __path__, ["test307.zip/test307p"])
import mod
import submod
! __path__.append("test307.zip/foo/bar")
import foobar
""")
Index: test323.py
===================================================================
RCS file: /cvsroot/jython/bugtests/test323.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** test323.py 2001/10/28 14:51:01 1.1
--- test323.py 2001/11/27 11:27:48 1.2
***************
*** 30,34 ****
import sys
! sys.path.append("test323.zip!Lib")
import test323m
--- 30,34 ----
import sys
! sys.path.append("test323.zip/Lib")
import test323m
|