This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I'm using pycharm to debug the code on a remote server, the remote debugging seems to be performed by pytest and it pops errors like: train_net.py E test setup failed file /tmp/pycharm_project_269/tools/train_net.py, line 79 def test(cfg, model, distributed): E fixture 'cfg' not found > available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory > use 'pytest --fixtures [testpath]' for help on them. it seems the function name ‘test()’ has come conflict with pytest, so it may be better use another name.
- Loading branch information