Issue2309

classification
Title: test_classpathimporter fails on Windows.
Type: behaviour Severity: normal
Components: Library Versions: Jython 2.7
Milestone: Jython 2.7.1
process
Status: pending Resolution: fixed
Dependencies: Superseder:
Assigned To: stefan.richthofer Nosy List: jamesmudd, jeff.allen, stefan.richthofer
Priority: normal Keywords: test failure causes

Created on 2015-04-06.19:02:08 by jeff.allen, last changed 2017-03-16.22:47:36 by stefan.richthofer.

Messages
msg9767 (view) Author: Jeff Allen (jeff.allen) Date: 2015-04-06.19:06:02
Sorry, rounded up too much text the first time (although they might be related, I suppose).

Works in 2.7b4, fails in rc2, observed on Windows 7 64-bit.

> jython -m test.test_classpathimporter
test_bug1126 (__main__.ClasspathImporterTestCase) ... ERROR
test_bug1239 (__main__.ClasspathImporterTestCase) ... ERROR
test_default_pyclasspath (__main__.PyclasspathImporterTestCase) ... skipped 'FIXME: worked in Jython 2.5'
test_path_in_pyclasspath (__main__.PyclasspathImporterTestCase) ... skipped 'FIXME: worked in Jython 2.5'

======================================================================
ERROR: test_bug1126 (__main__.ClasspathImporterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\test\test_classpathimporter.py", line 36, in test_bug1126
    import org.subpackage
ImportError: No module named subpackage

======================================================================
ERROR: test_bug1239 (__main__.ClasspathImporterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\test\test_classpathimporter.py", line 30, in test_bug1239
    import org.test403javapackage.test403
ImportError: No module named test403javapackage

----------------------------------------------------------------------
msg11238 (view) Author: Stefan Richthofer (stefan.richthofer) Date: 2017-03-16.22:47:36
James Mudd fixed this one in PR 66, https://github.com/jythontools/jython/pull/66.
I merged that PR as of https://hg.python.org/jython/rev/e725a0b2d939.

Also see #2554.
History
Date User Action Args
2017-03-16 22:47:36stefan.richthofersetstatus: open -> pending
nosy: + jamesmudd, stefan.richthofer
messages: + msg11238
priority: normal
assignee: stefan.richthofer
milestone: Jython 2.7.1
resolution: fixed
2015-04-06 19:06:14jeff.allensetmessages: - msg9766
2015-04-06 19:06:02jeff.allensetmessages: + msg9767
2015-04-06 19:02:08jeff.allencreate