Created
February 27, 2015 18:11
-
-
Save blueyed/16fbd2c05049b7004e5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r fa62c5c63c2f testing/test_assertrewrite.py | |
--- a/testing/test_assertrewrite.py Mon Jan 19 22:34:43 2015 +0100 | |
+++ b/testing/test_assertrewrite.py Fri Feb 27 19:11:10 2015 +0100 | |
@@ -123,6 +123,13 @@ | |
assert False, "something bad!" | |
assert getmsg(f) == "AssertionError: something bad!\nassert False" | |
+ def test_runpytest_ipdb(self, testdir): | |
+ testdir.makepyfile(""" | |
+ def test_foo(): | |
+ import ipdb; ipdb.set_trace() | |
+ """) | |
+ result = testdir.runpytest('') | |
+ | |
def test_assertion_message(self, testdir): | |
testdir.makepyfile(""" | |
def test_foo(): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment