Open dejw opened 11 years ago
Hey, just noticed this one.
Was this still an issue or did it get fixed in the last few updates? I tried to replicate the error you're seeing on the Windows versions of Python 2.7 and Python 3.2, but didn't run into any issues. See below:
[vip]$ nosetests-2.7.exe -v
test_should_call_command (vip.test.test_core.TestCommandExecution) ... ok
test_should_propagate_SIGINT (vip.test.test_core.TestCommandExecution) ... ok
test_should_propagate_status_code (vip.test.test_core.TestCommandExecution) ... ok
test_should_raise_VipError_when_CalledProcessError_is_found (vip.test.test_core.TestCommandExecution) ... ok
test_should_raise_VipError_when_command_is_not_found (vip.test.test_core.TestCommandExecution) ... ok
test_create_virtualenv (vip.test.test_core.TestCreateVirtualenv) ... ok
test_empty (vip.test.test_core.TestGetRequirementsFilenames) ... ok
test_prefix_and_version (vip.test.test_core.TestGetRequirementsFilenames) ... ok
test_should_raise_VipError_when_no_vip_is_found (vip.test.test_core.TestVipDirectoryFinder) ... ok
test_should_return_absolute_path_to_vip_directory (vip.test.test_core.TestVipDirectoryFinder) ... ok
test_should_skip_vip_which_is_no_directory (vip.test.test_core.TestVipDirectoryFinder) ... ok
test_should_raise_VipError_when_no_executable_is_found (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_best_valid_executable (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_valid_path_to_executable_with_extension (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_valid_path_to_executable_without_extension (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_valid_path_with_executable_extension (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_raise_VipError_when_no_vip_is_found (vip.test.test_core.TestWindowsVipDirectoryFinder) ... ok
test_should_return_absolute_path_to_vip_directory (vip.test.test_core.TestWindowsVipDirectoryFinder) ... ok
test_should_skip_vip_which_is_no_directory (vip.test.test_core.TestWindowsVipDirectoryFinder) ... ok
test_import (vip.test.test_main.TestMain) ... ok
----------------------------------------------------------------------
Ran 20 tests in 0.048s
OK
[vip]$ nosetests-3.2.exe -v
test_should_call_command (vip.test.test_core.TestCommandExecution) ... ok
test_should_propagate_SIGINT (vip.test.test_core.TestCommandExecution) ... ok
test_should_propagate_status_code (vip.test.test_core.TestCommandExecution) ... ok
test_should_raise_VipError_when_CalledProcessError_is_found (vip.test.test_core.TestCommandExecution) ... ok
test_should_raise_VipError_when_command_is_not_found (vip.test.test_core.TestCommandExecution) ... ok
test_create_virtualenv (vip.test.test_core.TestCreateVirtualenv) ... ok
test_empty (vip.test.test_core.TestGetRequirementsFilenames) ... ok
test_prefix_and_version (vip.test.test_core.TestGetRequirementsFilenames) ... ok
test_should_raise_VipError_when_no_vip_is_found (vip.test.test_core.TestVipDirectoryFinder) ... ok
test_should_return_absolute_path_to_vip_directory (vip.test.test_core.TestVipDirectoryFinder) ... ok
test_should_skip_vip_which_is_no_directory (vip.test.test_core.TestVipDirectoryFinder) ... ok
test_should_raise_VipError_when_no_executable_is_found (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_best_valid_executable (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_valid_path_to_executable_with_extension (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_valid_path_to_executable_without_extension (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_return_valid_path_with_executable_extension (vip.test.test_core.TestWindowsFindExecutable) ... ok
test_should_raise_VipError_when_no_vip_is_found (vip.test.test_core.TestWindowsVipDirectoryFinder) ... ok
test_should_return_absolute_path_to_vip_directory (vip.test.test_core.TestWindowsVipDirectoryFinder) ... ok
test_should_skip_vip_which_is_no_directory (vip.test.test_core.TestWindowsVipDirectoryFinder) ... ok
test_import (vip.test.test_main.TestMain) ... ok
----------------------------------------------------------------------
Ran 20 tests in 0.065s
OK
(3.2 output is after fixing a bug I just noticed and fixed in another pull request)
When developing on windows, nosetests picks up too many tests (both unix and Windows version).