File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -768,7 +768,7 @@ def test_1():
768768 child .expect ("Pdb" )
769769 child .sendeof ()
770770 rest = child .read ().decode ("utf8" )
771- assert "1 failed " in rest
771+ assert "Quitting debugger " in rest
772772 assert "reading from stdin while output" not in rest
773773 TestPDB .flush (child )
774774
@@ -781,12 +781,13 @@ def test_pdb_not_altered(self, testdir):
781781 import pdb
782782 def test_1():
783783 pdb.set_trace()
784+ assert 0
784785 """
785786 )
786787 child = testdir .spawn_pytest (str (p1 ))
787788 child .expect ("test_1" )
788789 child .expect ("Pdb" )
789- child .sendeof ( )
790+ child .sendline ( "c" )
790791 rest = child .read ().decode ("utf8" )
791792 assert "1 failed" in rest
792793 assert "reading from stdin while output" not in rest
You can’t perform that action at this time.
0 commit comments