[issue6199] test_unittest fails on Windows

2009-06-05 Thread James Abbatiello

New submission from James Abbatiello abb...@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 rep...@bugs.python.org
http://bugs.python.org/issue6199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6199] test_unittest fails on Windows

2009-06-05 Thread Antoine Pitrou

Changes by Antoine Pitrou pit...@free.fr:


--
assignee:  - michael.foord
nosy: +michael.foord

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6199] test_unittest fails on Windows

2009-06-05 Thread Michael Foord

Michael Foord mich...@voidspace.org.uk added the comment:

Thanks - I should have tested on Windows first. Tests now pass on
Windows and Mac OS X. Committed revision 73247.

--
resolution:  - accepted
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6199
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com