[New-bugs-announce] [issue6199] test_unittest fails on Windows

James Abbatiello report at bugs.python.org
Fri Jun 5 07:58:07 CEST 2009


New submission from James Abbatiello <abbeyj at gmail.com>:

test_unittest fails on Windows with:
======================================================================
FAIL: test_find_tests_with_package (test.test_unittest.TestDiscovery)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Projects\python-trunk\lib\test\test_unittest.py", line 3540,
in test_find_tests_with_package
    self.assertEqual(suite, ['load_tests', '/foo/test_directory2 module
tests'])

AssertionError: Lists differ: ['load_tests', '/foo\\test_dir... !=
['load_tests', '/foo/test_dire...

First differing element 1:
/foo\test_directory2 module tests
/foo/test_directory2 module tests

- ['load_tests', '/foo\\test_directory2 module tests']
?                     ^^

+ ['load_tests', '/foo/test_directory2 module tests']
?                     ^


----------------------------------------------------------------------


Patch attached.

----------
components: Tests, Windows
files: test_unittest_on_windows.patch
keywords: patch
messages: 88923
nosy: abbeyj
severity: normal
status: open
title: test_unittest fails on Windows
versions: Python 2.7
Added file: http://bugs.python.org/file14191/test_unittest_on_windows.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6199>
_______________________________________


More information about the New-bugs-announce mailing list