nose-devs/nose — Issue #154: Tests fail on Windows
Author: jpellerin
Created: 2011-12-14 16:02:01+00:00
State: open

I get two test failures on Windows:

C:\src\nose>svn info
Path: .
URL: https://python-nose.googlecode.com/svn/trunk
Repository Root: https://python-nose.googlecode.com/svn
Repository UUID: f2aedcf1-e524-0410-9c8c-f7a7fd695dcf
Revision: 340
Node Kind: directory
Schedule: normal
Last Changed Author: jpellerin
Last Changed Rev: 309
Last Changed Date: 2007-08-11 22:11:24 -0300 (Sat, 11 Aug 2007)

C:\src\nose>python setup.py test
...
======================================================================
FAIL: test_load_from_name_package_root_path (test_loader.TestTestLoader)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\src\nose\unit_tests\test_loader.py", line 367, in
test_load_from_name
_package_root_path
assert len(tests) == 1, "Expected one test, got %s" % tests
AssertionError: Expected one test, got []
-------------------- >> begin captured stdout << ---------------------
is dir 'C:\src\nose\lib'?
is dir 'C:\src\nose\src'?
load from name package root path
is dir '/package'?
is dir '/package\lib'?
is dir '/package\src'?
is dir 'C:\package\subpackage'?
is dir 'C:\package\subpackage'?

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: test_finalize (test_plugins.TestProfPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\src\nose\unit_tests\test_plugins.py", line 398, in test_finalize
assert not os.path.exists(pfile), \
AssertionError: finalize did not remove temp file c:\docume~1
\admini~1.ali\local
s~1\temp\tmp0-46tn

----------------------------------------------------------------------
Ran 226 tests in 6.283s

FAILED (failures=2)

Google Code Info:
Issue #: 103
Author: sidnei.d...@gmail.com
Created On: 2007-09-25T01:53:04.000Z
Closed On: 2007-09-25T22:31:37.000Z