I tried to run a test with setup.py test, but I encounter an error below, is this a problem?
Thanks.
python3 setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing PubChemPy.egg-info/PKG-INFO
writing dependency_links to PubChemPy.egg-info/dependency_links.txt
writing requirements to PubChemPy.egg-info/requires.txt
writing top-level names to PubChemPy.egg-info/top_level.txt
reading manifest file 'PubChemPy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'pubchempy_test.py'
no previously-included directories found matching 'docs/build'
writing manifest file 'PubChemPy.egg-info/SOURCES.txt'
running build_ext
pubchempy_test (unittest.loader._FailedTest) ... ERROR
======================================================================
ERROR: pubchempy_test (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: pubchempy_test
Traceback (most recent call last):
File "/usr/lib64/python3.8/unittest/loader.py", line 154, in loadTestsFromName
module = __import__(module_name)
ModuleNotFoundError: No module named 'pubchempy_test'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=1 errors=1 failures=0>
Hello,
I tried to run a test with setup.py test, but I encounter an error below, is this a problem?
Thanks.