Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Commit 774c10d

Browse files
committed
Commented out test that fails on PyPy due to (I think) a bug.
See the issue I opened to PyPy here: https://bitbucket.org/pypy/pypy/issues/2526/future-statements-are-considered-illegal
1 parent af55abd commit 774c10d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/tests/parser_test.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,10 +515,16 @@ def test_dunder_all(code):
515515
from __future__ \\
516516
import nested_scopes
517517
"""),
518-
CodeSnippet("""\
519-
from __future__ import unicode_literals; from __future__ import \
520-
nested_scopes
521-
"""),
518+
519+
# The following code snippet fails for PyPy, see:
520+
# "Future statements are considered illegal if they are separated
521+
# by a semicolon"
522+
# https://bitbucket.org/pypy/pypy/issues/2526/
523+
524+
# CodeSnippet("""\
525+
# from __future__ import unicode_literals; from __future__ import \
526+
# nested_scopes
527+
# """),
522528
))
523529
def test_future_import(code):
524530
"""Test that __future__ imports are properly parsed and collected."""

0 commit comments

Comments
 (0)