[Jython-checkins] jython: Fixed #2318 (also see PR 65, https://github.com/jythontools/jython/pull/65)

stefan.richthofer jython-checkins at python.org
Wed Mar 15 20:01:56 EDT 2017


https://hg.python.org/jython/rev/3898500ffc7e
changeset:   8058:3898500ffc7e
user:        James Mudd <james.mudd at gmail.com>
date:        Thu Mar 16 01:01:34 2017 +0100
summary:
  Fixed #2318 (also see PR 65, https://github.com/jythontools/jython/pull/65)

files:
  Lib/test/test_zipimport_jy.py |  2 +-
  NEWS                          |  1 +
  2 files changed, 2 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_zipimport_jy.py b/Lib/test/test_zipimport_jy.py
--- a/Lib/test/test_zipimport_jy.py
+++ b/Lib/test/test_zipimport_jy.py
@@ -47,7 +47,7 @@
 class ZipImporterDictTest(unittest.TestCase):
     def test_subclass_assign_attribute(self):
         class A(zipimporter): pass
-        path = os.path.abspath('tests/modjy/lib_python_folder/test_modules.zip')
+        path = test_support.findfile("zipdir.zip")
         A(path).somevar = 1
 
 def test_main():
diff --git a/NEWS b/NEWS
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
 
 Jython 2.7.1rc1
   Bugs fixed
+    - [ 2318 ] test_zipimport_jy failure on Windows
     - [ 2568 ] test_threading intermittent failure
     - [ 2559 ] test_marshal fails
     - [ 2564 ] test_socket_jy fails on Linux

-- 
Repository URL: https://hg.python.org/jython


More information about the Jython-checkins mailing list