Skip to content

Commit

Permalink
Fix test in py26 that expected a floor division error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Mar 17, 2017
1 parent e5021dc commit 4d94707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/code/test_excinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4d94707

Please sign in to comment.