Andrey Rakhmatullin
|
3a36955261
|
Assorted test fixes (#7616)
|
2026-06-15 08:39:58 +02:00 |
Andrey Rakhmatullin
|
b2b2d0b015
|
Rename TWISTED_ENABLED to TWISTED_REACTOR_ENABLED. (#7394)
|
2026-04-02 10:20:54 +02:00 |
Andrey Rakhmatullin
|
03d105ac92
|
Add warnings to components not working without a reactor (#7355)
|
2026-03-25 09:21:08 +01:00 |
Andrey Rakhmatullin
|
6fe27ba33e
|
Add more no-reactor tests (#7259)
* Generic changes and scrapy bench.
* scrapy check.
* scrapy crawl.
* scrapy fetch.
* scrapy parse.
* scrapy runspider.
* scrapy shell.
* Skip httpx tests on default-reactor.
* Review requires_reactor marks.
* Make test functions that require an event loop async def.
* Improve test_pending_asyncio_tasks().
* Add Mac OS DNS error.
* Refactor most of test_scheduler.py.
* Finish refactoring DownloaderAwareSchedulerTestMixin.
* Refactor test_engine_loop.py.
* Add the no-reactor-extra-deps tox env, run no-reactor on macos.
* Skip unhandled CancelledError when shutting down the engine.
* Fix typing and pre-commit checks.
* Fix typing problems in master.
---------
Co-authored-by: Adrian <adrian@zyte.com>
|
2026-03-24 15:29:22 +05:00 |
Andrey Rakhmatullin
|
e02ad08672
|
Move to mypy --strict with exceptions. (#7300)
* Move to mypy --strict with exceptions.
* Fix typing-tests.
|
2026-03-02 15:47:23 +05:00 |
Andrey Rakhmatullin
|
3186ccf5d5
|
Reactorless tests 1: the test env (#6952)
* Reactorless tests.
* Updates after merging master.
* Update a new import.
* Updates after merging master.
* Update testenv:no-reactor-pinned.
* Foundations for the reactorless mode.
* Fixes after merging master.
* Updates after merging reactorless-base.
* Add simple subprocess tests for reactorless AsyncCrawler*.
* More reactorless tests.
* Refactor AsyncCrawlerProcess.start().
* More checks.
* Fix test_reactorless_import_hook.
* More tests.
* Call install_reactor() before asyncio.run().
* Cleanup.
* Rephrase.
* Fix a test.
* Fixes.
* Rephrasing.
* Set TELNETCONSOLE_ENABLED=False in the reactorless mode.
* Fix a new import.
* Clarify --reactor marks.
* Cleanup.
* More docs/comments.
* Update test_fallback_workflow().
* Update TestDeferredFFromCoroF.
* Typing improvements.
|
2026-02-02 19:25:30 +05:00 |
Andrey Rakhmatullin
|
d1bd8eb49f
|
Async API for download handlers. (#7164)
|
2025-12-31 19:03:16 +01:00 |
Andrey Rakhmatullin
|
552f2fb91e
|
Generic improvements related to reactorless tests (#6968)
* Skip doctests that import the reactor.
* Extract FTPDownloadHandler tests.
* Skip TestHttps2ClientProtocol via pytestmark.
* Replace some explicit reactor.callLater() in tests.
* Simplify TestRequestSendOrder._test_request_order().
|
2025-07-25 13:35:00 +05:00 |