Skip to content

Commit

Permalink
Move a test to parso.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhalter committed May 24, 2017
1 parent cd8932f commit 7173559
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion test/test_parso_integration/test_parser_utils.py
Expand Up @@ -2,7 +2,7 @@

from jedi._compatibility import is_py3
from jedi import parser_utils
from parso.python import parse
from parso import parse
from parso.python import tree

import pytest
Expand Down
9 changes: 0 additions & 9 deletions test/test_regression.py
Expand Up @@ -12,7 +12,6 @@
from jedi import Script
from jedi import api
from jedi.evaluate import imports
from parso.python import parse
from .helpers import TestCase, cwd_at

#jedi.set_debug_function()
Expand Down Expand Up @@ -97,14 +96,6 @@ class C:
self.assertEqual([d.description for d in defs],
['def f', 'class C'])

def test_end_pos_line(self):
# jedi issue #150
s = "x()\nx( )\nx( )\nx ( )"
module = parse(s)
for i, simple_stmt in enumerate(module.children[:-1]):
expr_stmt = simple_stmt.children[0]
assert expr_stmt.end_pos == (i + 1, i + 3)

def check_definition_by_marker(self, source, after_cursor, names):
r"""
Find definitions specified by `after_cursor` and check what found
Expand Down

0 comments on commit 7173559

Please sign in to comment.