Fix test in py26 that expected a floor division error message

This commit is contained in:
Bruno Oliveira 2017-03-16 23:07:03 -03:00
parent e5021dc9dc
commit 4d947077bb
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ def test_codepath_Queue_example():
def test_match_succeeds(): def test_match_succeeds():
with pytest.raises(ZeroDivisionError) as excinfo: with pytest.raises(ZeroDivisionError) as excinfo:
0 / 0 0 // 0
excinfo.match(r'.*zero.*') excinfo.match(r'.*zero.*')
def test_match_raises_error(testdir): def test_match_raises_error(testdir):