strange tests: Ran 0 tests in 0.000s
See original GitHub issueI’m confused about output message about ran 0 tests
. Is there something wrong with output logs?
yuanshuai@firefly:~/code/tvm/tests/python/unittest$ python -m unittest test_runtime_rpc
Loading runtime library /home/yuanshuai/code/tvm/lib/libtvm_runtime.so... exec only
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
yuanshuai@firefly:~/code/tvm/tests/python/unittest$ python -m unittest test_runtime_ndarray
Loading runtime library /home/yuanshuai/code/tvm/lib/libtvm_runtime.so... exec only
[12:50:13] src/runtime/opencl/opencl_device_api.cc:194: Initialize OpenCL platform 'ARM Platform'
[12:50:13] src/runtime/opencl/opencl_device_api.cc:214: opencl(0)='Mali-T860' cl_device_id=0x7f84d53dd8
('Testing using contexts:', [cpu(0), opencl(0)])
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
yuanshuai@firefly:~/code/tvm/tests/python/unittest$ python -m unittest test_runtime_
test_runtime_extension.py test_runtime_ndarray.py test_runtime_packed_func.py test_runtime_rpc.py
test_runtime_extension.pyc test_runtime_ndarray.pyc test_runtime_packed_func.pyc test_runtime_rpc.pyc
yuanshuai@firefly:~/code/tvm/tests/python/unittest$ python -m unittest test_runtime_extension
Loading runtime library /home/yuanshuai/code/tvm/lib/libtvm_runtime.so... exec only
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
yuanshuai@firefly:~/code/tvm/tests/python/unittest$ python -m unittest test_runtime_packed_func
Loading runtime library /home/yuanshuai/code/tvm/lib/libtvm_runtime.so... exec only
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Python unittest - Ran 0 tests in 0.000s - Stack Overflow
I had a similar problem. My root cause was that I had placed the execution block for unittest.main inside the Test class. This...
Read more >Ran 0 tests in 0.000s · Issue #433 · apache/tvm - GitHub
I'm confused about output message about ran 0 tests. Is there something wrong with output logs?
Read more >Ran 0 tests in 0.000s - unittest - Python Forum
read_csv(...). I tried to set up a unittest file in the tests folder. The file test_data_reader.py contains the following code: ...
Read more >Python unittest - Ran 0 tests in 0.000s - Stack Overflow
So I want to do this code Kata for practice. I want to implement the kata with tdd in separate files: The algorithm:...
Read more >EX46: nosetests ran 0 tests or ran 1 tests with Error - Python
I ran nosetests but it ran 0 test, that means 0 test was found be nose ... when you run nosetest the result...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
specifically, do
python -m nose
because most of the testcases relies on compiler stack