-
Notifications
You must be signed in to change notification settings - Fork 188
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
Inconsistent Warning Behavior in test_extra_constraint_integration and test_invalid_loss_stopping: Only Passes on First Run #1935
Comments
Hi. Also, could you also try running |
Hi, Below is the information by running command
After run test/hilbert/test_custom_constraint.py::test_sum_constraint PASSED [ 14%] ============================================= slowest 50 durations ============================================== (19 durations < 0.005s hidden. Use -vv to show these durations.) |
So it seems that it's working? What was failing exactly? |
I encountered an issue while running the development version of NetKet using pytest. When I run the test suite 50 times, the test_extra_constraint_integration test consistently fails after the first run. The first run always passes, but subsequent runs fail with the "DID NOT WARN" error, even though the expected warning should have been emitted. The error message is as follows:
The same issue also occurs with the test_invalid_loss_stopping test, where it consistently fails after the first run.
Environment Details:
Python version: 3.11.7
NetKet version: Main branch
OS: Ubuntu 20.04 (in WSL)
Please let me know if more information is required to diagnose this issue.
The text was updated successfully, but these errors were encountered: