Skip to content

Commit

Permalink
Import parser from ts
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Dec 19, 2023
1 parent fe6a674 commit b69175d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions papyri/tests/test_parse.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
from textwrap import dedent
from pathlib import Path

import pytest

from papyri import errors
from papyri.ts import parse, Node, TSVisitor
from tree_sitter import Language, Parser

parser = Parser()
pth = str(Path(__file__).parent.parent / "rst.so")
RST = Language(pth, "rst")
parser.set_language(RST)
from papyri.ts import parse, Node, TSVisitor, parser


# @pytest.mark.xfail(strict=True)
Expand Down

0 comments on commit b69175d

Please sign in to comment.