rednose
rednose copied to clipboard
Test suite stuck on Python 2
All tests are passing here, but it gets stuck (does not exit) right after saying OK here with python 2.7.15, nose 1.3.7.
running test
running egg_info
creating rednose.egg-info
writing requirements to rednose.egg-info/requires.txt
writing rednose.egg-info/PKG-INFO
writing top-level names to rednose.egg-info/top_level.txt
writing dependency_links to rednose.egg-info/dependency_links.txt
writing entry points to rednose.egg-info/entry_points.txt
writing manifest file 'rednose.egg-info/SOURCES.txt'
reading manifest file 'rednose.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'rednose.egg-info/SOURCES.txt'
running build_ext
test_colored_result (test_files.new_tests.TestRedNose) ... ok
test_colored_result (test_files.new_tests.TestRedNoseEncoding) ... ok
test_colored_result (test_files.new_tests.TestRedNoseEncodingWithLiterals) ... ok
test_colored_result (test_files.new_tests.TestRedNoseSampleTests) ... ok
test_colored_result (test_files.new_tests.TestRedNoseSkipInClass) ... oh noes, it's gonna blow!
ok
test_colored_result (test_files.new_tests.TestRedNoseWithId) ... ok
----------------------------------------------------------------------
Ran 6 tests in 0.160s
OK
The problem is not present on Python 3, though.
This seems to happen because those reload(sys)
in the test_files/new_tests.py.