Skip to content

Commit

Permalink
keep parse_tree and get_captures tests separate
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-ai committed Jun 3, 2024
1 parent 7c64496 commit 867adbe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ def test_no_infinite_loop(self):
parser = EarleyCommitParser(A)
# Test that computing the parse tree doesn't hang
parser.parse_tree()
# Test that getting captures doesn't hang
parser.get_captures()

@pytest.mark.timeout(5)
def test_no_infinite_loop_with_terminal(self):
Expand All @@ -174,8 +172,6 @@ def test_no_infinite_loop_with_terminal(self):
parser = EarleyCommitParser(A)
# Test that computing the parse tree doesn't hang
parser.parse_tree()
# Test that getting captures doesn't hang
parser.get_captures()

@pytest.mark.timeout(5)
def test_no_infinite_loop_extra_indirection(self):
Expand All @@ -200,8 +196,6 @@ def test_no_infinite_loop_extra_indirection(self):
parser = EarleyCommitParser(A)
# Test that computing the parse tree doesn't hang
parser.parse_tree()
# Test that getting captures doesn't hang
parser.get_captures()

@pytest.mark.timeout(5)
def test_captures_from_root(self):
Expand Down

0 comments on commit 867adbe

Please sign in to comment.