Scrapy, a fast high-level web crawling & scraping framework for Python.
Skip test_reactor_poll on Windows
Adrián Chavescf4180308982
diff --git a/tests/test_crawler.py b/tests/test_crawler.pyindex a6b079395..3d166e14c 100644--- a/tests/test_crawler.py+++ b/tests/test_crawler.py@@ -1,5 +1,6 @@import loggingimport os+import platformimport subprocessimport sysimport warnings@@ -317,6 +318,7 @@ class CrawlerProcessSubprocess(unittest.TestCase):self.assertIn("Spider closed (finished)", log)self.assertIn("Using reactor: twisted.internet.selectreactor.SelectReactor", log)+ @mark.skipif(platform.system() == 'Windows', reason="PollReactor is not supported on Windows")def test_reactor_poll(self):log = self.run_script("twisted_reactor_poll.py")self.assertIn("Spider closed (finished)", log)