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?
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?