mark test_comments as xfail on pypy

while migrating this code it was noticed that this test was failing even
on the original py repository, so it was decided to xfail it and investigate
later
This commit is contained in:
Bruno Oliveira 2015-12-23 01:44:44 -02:00
parent 7a6f902f6f
commit 9f85d4c952
1 changed files with 2 additions and 0 deletions

View File

@ -506,6 +506,8 @@ def test_oneline_and_comment():
source = getstatement(0, "raise ValueError\n#hello")
assert str(source) == "raise ValueError"
@pytest.mark.xfail(hasattr(sys, "pypy_version_info"),
reason='does not work on pypy')
def test_comments():
source = '''def test():
"comment 1"