Fix test in py26 that expected a floor division error message
This commit is contained in:
parent
e5021dc9dc
commit
4d947077bb
|
@ -370,7 +370,7 @@ def test_codepath_Queue_example():
|
|||
|
||||
def test_match_succeeds():
|
||||
with pytest.raises(ZeroDivisionError) as excinfo:
|
||||
0 / 0
|
||||
0 // 0
|
||||
excinfo.match(r'.*zero.*')
|
||||
|
||||
def test_match_raises_error(testdir):
|
||||
|
|
Loading…
Reference in New Issue