From 62c757745ae9e21d1a72e21ad334a55a6b74ac5e Mon Sep 17 00:00:00 2001 From: alisterburt Date: Mon, 18 Nov 2024 14:44:14 -0800 Subject: [PATCH] relax requirements on writing speed test (#77) --- tests/test_parsing.py | 2 +- tests/test_writing.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_parsing.py b/tests/test_parsing.py index f3ae93b..bbe93fa 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -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(): diff --git a/tests/test_writing.py b/tests/test_writing.py index 471ccae..ce11d8c 100644 --- a/tests/test_writing.py +++ b/tests/test_writing.py @@ -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",