mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-07 05:14:29 +08:00
Skip tests in PyPy that don't make sense to test.
This commit is contained in:
@@ -7,9 +7,15 @@ import warnings
|
||||
import pytest
|
||||
|
||||
import parso
|
||||
from parso._compatibility import is_pypy
|
||||
from .failing_examples import FAILING_EXAMPLES, indent, build_nested
|
||||
|
||||
|
||||
if is_pypy:
|
||||
# The errors in PyPy might be different. Just skip the module for now.
|
||||
pytestmark = pytest.mark.skip()
|
||||
|
||||
|
||||
def _get_error_list(code, version=None):
|
||||
grammar = parso.load_grammar(version=version)
|
||||
tree = grammar.parse(code)
|
||||
|
||||
Reference in New Issue
Block a user