Skip to content

Commit

Permalink
Debug pytest not showing traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Kamina committed Aug 29, 2024
1 parent 53b1555 commit f8e7b89
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,4 @@ jobs:
run: |
python -c 'import libtorrent as lt; print(lt.__version__)';
python -c 'from twisted.internet import gireactor; reactor = gireactor.install()'
python -v -c -X dev "import pytest; retcode = pytest.main(['--full-trace','--showlocals','-vvv','-ra','-m \'not (todo or security)\'','deluge']); print(f'pytest returned: {retcode}');" 2>&1
python -v -X -m pytest -vvv -ra --full-trace --showlocals -m 'not (todo or security)' deluge
2 changes: 1 addition & 1 deletion requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
libtorrent<2.0.9
pytest
pytest<=8.2.2
pytest-twisted
pytest-cov
mock
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def finalize_options(self):

def run_tests(self):
import pytest

print(f"pytest args: {self.test_args}")
errcode = pytest.main(self.test_args)
sys.exit(errcode)

Expand Down

0 comments on commit f8e7b89

Please sign in to comment.