summaryrefslogtreecommitdiff
path: root/testing/code
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2017-03-16 23:07:03 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2017-03-16 23:07:03 -0300
commit4d947077bbed4862d4e0a055ce967ba490be96af (patch)
tree5e6cbcfc06a42fb3e0adc4252b13c5d3b231db8c /testing/code
parente5021dc9dc59c73e03e3beadd14de771a4c6b1bd (diff)
downloadpytest-4d947077bbed4862d4e0a055ce967ba490be96af.tar.gz
Fix test in py26 that expected a floor division error message
Diffstat (limited to 'testing/code')
-rw-r--r--testing/code/test_excinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py
index 06b61c831..b7dafdb46 100644
--- a/testing/code/test_excinfo.py
+++ b/testing/code/test_excinfo.py
@@ -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):