Skip to content

Commit

Permalink
Update test_general.py
Browse files Browse the repository at this point in the history
  • Loading branch information
D4Vinci committed Nov 23, 2024
1 parent 34b645c commit 0e01c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/parser/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ def test_performance(self):
self.assertEqual(len(elements), 5000)
# Converting 5000 elements to a class and doing operations on them will take time
# Based on my tests with 100 runs, 1 loop each Scrapling (given the extra work/features) takes 10.4ms on average
self.assertLess(end_time - start_time, 0.2)
self.assertLess(end_time - start_time, 0.5) # Locally I test on 0.1 but on GitHub actions with browsers and threading sometimes closing adds fractions of seconds


# Use `coverage run -m unittest --verbose tests/test_parser_functions.py` instead for the coverage report
Expand Down

0 comments on commit 0e01c1c

Please sign in to comment.