Closed za closed 2 years ago
It's solved now. I need to remove .tox
folder.
(.env) ➜ URLExtract git:(master) rm -rf .tox
(.env) ➜ URLExtract git:(master) tox
GLOB sdist-make: /home/za/git/URLExtract/setup.py
py-nocache create: /home/za/git/URLExtract/.tox/py-nocache
py-nocache installdeps: ., -rrequirements.txt
py-nocache inst: /home/za/git/URLExtract/.tox/.tmp/package/1/urlextract-1.4.0.zip
py-nocache installed: attrs==21.2.0,bump2version==1.0.1,dnspython==2.1.0,filelock==3.3.2,idna==3.3,iniconfig==1.1.1,packaging==21.2,platformdirs==2.4.0,pluggy==1.0.0,py==1.1
1.0,pyparsing==2.4.7,pytest==6.2.5,toml==0.10.2,uritools==3.0.2,urlextract @ file:///home/za/git/URLExtract/.tox/.tmp/package/1/urlextract-1.4.0.zip
py-nocache run-test-pre: PYTHONHASHSEED='212727625'
py-nocache run-test: commands[0] | pytest --ignore setup.py
============================================================================ test session starts ============================================================================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
cachedir: .tox/py-nocache/.pytest_cache
rootdir: /home/za/git/URLExtract
collected 110 items
tests/unit/test_dns.py ........ [ 7%]
tests/unit/test_enclosure.py ..................................... [ 40%]
I am glad to hear that you have resolved it.
Maybe running tox -r
would help as well.
Thanks!
Refer to the documentation, I can't run the test code. Am I missing something?
I can import it though via Python shell: