-
Notifications
You must be signed in to change notification settings - Fork 246
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
CS50P 2022 Refueling, unstable test. #164
Comments
Similar issue here:
check50:
test_fuel.py:
The test log (https://submit.cs50.io/check50/17e0af8aef938a3460b956fe1bf7eeffcb86772e) is not helpful at all. Maybe passing extra args to pytest to be more verbose would be good (e.g. Commented versions of both |
Update: after some digging I've found what causes check50 to fail, here's the diff between working and not working versions:
(locally both work fine but apparently I should've not rely on custom exception match as that check does not submit modified local version of |
Hi,
I'm having problems running
check50
withcs50/problems/2022/python/tests/fuel
. The test forfuel.py
works fine and has no issues but thetest_fuel.py
tests are acting really weird.The result of one of the test cases is unstable. The test does not appear to be idempotent. Since the actual test logic is inside
pyc
files, I've been unable to figure out why this could be happening.Output when failing:
Sometimes this test gives a perfect result but any subsequent runs will result in one test failing. It's always the same test that fails.
My code:
python -VV
: Python 3.11.1 (main, Jan 6 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]The text was updated successfully, but these errors were encountered: