Author vstinner
Recipients barry, chris.jerdonek, elopio, michael.foord, python-dev, r.david.murray, rbcollins, vila, vstinner, zach.ware
Date 2014-09-11.07:23:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410420216.67.0.792863018364.issue16662@psf.upfronthosting.co.za>
In-reply-to
Content
The changeset d0ff527c53da5b925b61a8a70afc686ca6e05960 related to this issue introduced a regression in test_unittest. The test now fails on Windows. Example:

http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/5065/steps/test/logs/stdio


======================================================================
ERROR: test_discover_with_init_module_that_raises_SkipTest_on_import (unittest.test.test_discovery.TestDiscovery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\test\test_discovery.py", line 451, in test_discover_with_init_module_that_raises_SkipTest_on_import
    suite = loader.discover('/foo')
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\loader.py", line 284, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\loader.py", line 319, in _find_tests
    paths = sorted(os.listdir(start_dir))
  File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\unittest\test\test_discovery.py", line 388, in list_dir
    return list(vfs[path])
KeyError: 'C:\\foo'
History
Date User Action Args
2014-09-11 07:23:36vstinnersetrecipients: + vstinner, barry, rbcollins, vila, r.david.murray, michael.foord, chris.jerdonek, python-dev, zach.ware, elopio
2014-09-11 07:23:36vstinnersetmessageid: <1410420216.67.0.792863018364.issue16662@psf.upfronthosting.co.za>
2014-09-11 07:23:36vstinnerlinkissue16662 messages
2014-09-11 07:23:35vstinnercreate