-
Notifications
You must be signed in to change notification settings - Fork 46
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
Avoid subprocess for Windows tests #1599
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1599 +/- ##
==========================================
- Coverage 66.62% 66.62% -0.01%
==========================================
Files 614 614
Lines 68725 68727 +2
Branches 9567 9568 +1
==========================================
Hits 45789 45789
- Misses 21008 21009 +1
- Partials 1928 1929 +1 |
...why is that? |
On an account with Administrator privileges to avoid issues with opening sockets, I still get:
|
Actually it's exactly the same error on my non-admin account. Looks like the usual Windows multiprocessing issues. |
ah okay, so it's just exactly the same problem as on MacOS with Python 3.8+ |
Two tests were failing on Windows because subprocess does not resolve
.bat
in the dispatcher name.test_plot_reflections.py
is converted here to useprocrunner
, which fixes that issue.test_find_spots_server_client.py
is disabled on Windows, becausedials.find_spots_server
does not work there.