Skip to content

Commit 8f60d4b

Browse files
committed
Fix test to comply with pypy 6.0
1 parent d24a7e6 commit 8f60d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/code/test_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_source_strip_multiline():
129129
def test_syntaxerror_rerepresentation():
130130
ex = pytest.raises(SyntaxError, _pytest._code.compile, "xyz xyz")
131131
assert ex.value.lineno == 1
132-
assert ex.value.offset in (4, 7) # XXX pypy/jython versus cpython?
132+
assert ex.value.offset in (5, 7) # XXX pypy/jython versus cpython?
133133
assert ex.value.text.strip(), "x x"
134134

135135

0 commit comments

Comments
 (0)