nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 397 forks source link

nose confused about dot in folder name #1107

Open paulgheorghecristian opened 4 years ago

paulgheorghecristian commented 4 years ago

Hello,

I am using nose for code coverage with bazel and tensorflow and the method that I found to work is to run "bazel test" and then run nosetests with the created bazel cache, bazel-bin/test/unit_tests/python/test.runfiles/...(otherwise I receive Could not import tensorflow. Do not import tensorflow from its source directory;) The problem is that the folder contains a dot in its name (test.runfiles) and I think it confused nose because it exhibits undefined behaviors. Is there a workaround without renaming the folder?