Skip to content

Install the Twisted reactor explicitly in tests. #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

wRAR
Copy link
Member

@wRAR wRAR commented Jun 5, 2025

This fixes test failures with Scrapy 2.13+, where is_asyncio_reactor_installed() no longer silently installs the reactor but raises an exception if it's not installed.

Copy link

codecov bot commented Jun 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.38%. Comparing base (dffc968) to head (407558c).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #94   +/-   ##
=======================================
  Coverage   23.38%   23.38%           
=======================================
  Files          15       15           
  Lines         821      821           
=======================================
  Hits          192      192           
  Misses        629      629           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Member

@elacuesta elacuesta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick response Andrey!

@elacuesta elacuesta merged commit aeea6fc into master Jun 5, 2025
19 of 23 checks passed
@elacuesta elacuesta deleted the scrapy-reactor branch June 5, 2025 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants