[BUG] Tests fail in Windows Enviroment specifically
See original GitHub issue🐛🐛 Bug Report
In the current test sequence, 11 tests fail with the error AttributeError: module 'numcodecs' has no attribute 'MsgPack'
, however, this error does not exist in colab environments
⚗️ Current Behavior
When pytest .
is run on a Windows 10 environment, 11 tests fail and 6 of them have the error message as described above.
Expected behavior/code These errors should not be thrown
⚙️ Environment
Python
version(s):- Python 3.7.9
OS
: Windows 10
🖼 Additional context/Screenshots (optional)
Add any other context about the problem here. If applicable, add screenshots to help explain.
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (20 by maintainers)
Top Results From Across the Web
Troubleshooting Windows HLK Test Failures | Microsoft Learn
Failed due to system crash. The system crashed during the test run. You can right-click on this test to view Bugcheck information.
Read more >[BUG] Tests fail when test title is too long and PW fail to create ...
[BUG] Tests fail when test title is too long and PW fail to create directory · Issue #10361 · microsoft/playwright · GitHub.
Read more >How can I simulate a disk full error in a Windows environment?
The test script must be automated, so that we can run it on overnight tests, for example. The test script must also work...
Read more >HP PCs - Testing for hardware failures in Windows 10
1. In Windows, search for and open the HP PC Hardware Diagnostics for Windows app. 2. On the main menu, click System Tests....
Read more >Handling Unexpected Windows | TestComplete Documentation
When an unexpected window appears, TestComplete saves its image and posts an error message to the test log. If you need to perform...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@KrishnaChaitanya1 thanks for sharing that. Clearly @DebadityaPal’s solution helps here but let’s try to resolve this one last failing test.
@DebadityaPal I’ve just checked that
msgpack
gets installed by default through one of the packages in the requirements so explicitly adding it torequirements.txt
might be a partial fix.