Skip to content

Commit

Permalink
relax requirements on writing speed test (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisterburt authored Nov 18, 2024
1 parent 30877a0 commit 62c7577
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_parsing_speed():
remove_large_star_file()

# Check that execution takes less than a second
assert end - start < 1.2
assert end - start < 1.0


def test_two_single_line_loop_blocks():
Expand Down
3 changes: 2 additions & 1 deletion tests/test_writing.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ def test_writing_speed():
remove_large_star_file()

# Check that execution takes less than a second
assert end - start < 1
# relaxed to 1.5s as runners appear to have become slower...
assert end - start < 1.5


@pytest.mark.parametrize("quote_character, quote_all_strings, num_quotes",
Expand Down

0 comments on commit 62c7577

Please sign in to comment.