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

Fix clashes between debugger tests and coverage.py #4102

Merged
merged 1 commit into from Aug 27, 2013

Conversation

takluyver
Copy link
Member

coverage.py works by setting the trace function. But so does the debugger, so we need to re-set it after testing the debugger to get accurate coverage results.

I noticed a disparity between the coverage numbers for Python 2 and 3, which seems to be down to the order in which tests are executed. Hopefully this will fix it.

coverage.py works by setting the trace function. But so does the
debugger, so we need to re-set it afterwards to get accurate coverage
results.
@takluyver
Copy link
Member Author

Merging some time tomorrow, or after the weekend, unless anyone objects.

@takluyver
Copy link
Member Author

In it goes.

takluyver added a commit that referenced this pull request Aug 27, 2013
Fix clashes between debugger tests and coverage.py
@takluyver takluyver merged commit 80468db into ipython:master Aug 27, 2013
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Fix clashes between debugger tests and coverage.py
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.

None yet

1 participant