🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Python aiai-scrapingautomationcrawlercrawlingcrawling-pythondatadata-extractionmcpmcp-serverplaywrightpythonscrapingselectorsstealthweb-scraperweb-scrapingweb-scraping-pythonwebscrapingxpath
Update test_general.py
Karim shoair0e01c1cc03ac
diff --git a/tests/parser/test_general.py b/tests/parser/test_general.pyindex 386680a..1f0dfe2 100644--- a/tests/parser/test_general.py+++ b/tests/parser/test_general.py@@ -278,7 +278,7 @@ class TestParser(unittest.TestCase):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