Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unittest: do not use TestCase.debug() with --pdb #101

Merged
merged 1 commit into from
Nov 9, 2019

Conversation

blueyed
Copy link
Owner

@blueyed blueyed commented Nov 9, 2019

Fixes pytest-dev#5991
Fixes pytest-dev#3823

Ref: pytest-dev/pytest-django#772
Ref: pytest-dev#1890
Ref: pytest-dev/pytest-django#782

  • inject wrapped testMethod

  • adjust test_trial_error

  • add test for --trace with unittests

Fixes pytest-dev#5991
Fixes pytest-dev#3823

Ref: pytest-dev/pytest-django#772
Ref: pytest-dev#1890
Ref: pytest-dev/pytest-django#782

- inject wrapped testMethod

- adjust test_trial_error

- add test for `--trace` with unittests
@blueyed blueyed merged commit 21d5b64 into my-master Nov 9, 2019
@blueyed blueyed deleted the mm-unittest-debug branch November 9, 2019 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pytest --pdb does not run tearDown for skipped tests Option '--trace' doesn't work with module 'unittest'
1 participant