Mac OS X 10.13
Python 3.6.2
Python 3.4.4
Python 2.7.10
nose==1.3.0 and nose==1.3.7[latest on pypi]
Latest JarrodCTaylor dotfiles install
I am using nm to run a python unittest method. The test runs correctly (gets proper ERROR/FAIL/OK status) and displays the usual Press ENTER or type command to continue. It then displays an error python: can't open file ':nosetests': [Errno 2] No such file or directory and creates a file in the test directory with the file name of the {test py file}:{test class}.{method name} (ex: test_x.py:XTests.test_x) that has the contents of the mentioned error message .
I have tried to debug through the test runner to see where the error is happening, but cannot find it.
Could you help point me in the right direction to figure out what is happening here?
- This happens for both
nm and nc
- For
nf it does not create a new file, but overwrites the contents of the test file with the error message.
- This does not happen when running
nosetests from the cmd line.
- Error also happened when I did not have nose installed in the virtualenv


Virtualenv without nose installed:

Mac OS X 10.13
Python 3.6.2
Python 3.4.4
Python 2.7.10
nose==1.3.0 and nose==1.3.7[latest on pypi]
Latest JarrodCTaylor dotfiles install
I am using
nmto run a python unittest method. The test runs correctly (gets proper ERROR/FAIL/OK status) and displays the usualPress ENTER or type command to continue. It then displays an errorpython: can't open file ':nosetests': [Errno 2] No such file or directoryand creates a file in the test directory with the file name of the{test py file}:{test class}.{method name}(ex:test_x.py:XTests.test_x) that has the contents of the mentioned error message .I have tried to debug through the test runner to see where the error is happening, but cannot find it.
Could you help point me in the right direction to figure out what is happening here?
nmandncnfit does not create a new file, but overwrites the contents of the test file with the error message.nosetestsfrom the cmd line.Virtualenv without nose installed:
