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
allowing to run .pyw files #4646
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4646 +/- ##
==========================================
- Coverage 87.21% 87.19% -0.03%
==========================================
Files 160 160
Lines 9813 9813
Branches 1447 1447
==========================================
- Hits 8558 8556 -2
- Misses 994 995 +1
- Partials 261 262 +1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you include a test?
Okay, I will add some test. |
scrapy\scrapy\commands\edit.py:` scrapy\scrapy\commands\startproject.py: I searched code base and these are the concerned results. I don't think they require .pyw?Please check |
@akshaysharmajs try removing your .tox dir, this helps when the project requirements have changed. |
Thanks! @wRAR |
Should I make test for |
I think we should refactor these tests. I’m thinking we could have a base class that defines the tests and reads the filename ( I would also have the tests that will also work out of Windows run in other OSes. Mostly because at the moment our CI does not run Windows tests. For the remaining tests, we can use |
Thanks, I can try this implementation. |
Please check, I just used RunSpiderCommandTest as base class for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
PS: The test failure is unrelated.
Some more tests have been added that cause test failure. |
Nice, thanks @akshaysharmajs! |
😃 😃 |
Referenced to issue #4643.
Also looking for other parts of code base for the mentioned issue.
Fixes #4643