Comment by qwertox
Comment by qwertox 6 days ago
Make sure you're editing the correct file on the correct machine.
Comment by qwertox 6 days ago
Make sure you're editing the correct file on the correct machine.
When working on a test that has several asserts, I have adopted the process of adding one final assert, "assert 'TEST DEBUGGED' is False", so that even when I succeed, the test fails -- and I could review to consider if any other tests should be added or adjusted.
Once I'm satisfied with the test, I remove the line.
very first order of business: git stash && git checkout main && git pull
Yep, this is a variation of "check the plug"
I find myself doing this all the time now I will temporarily add a line to cause a fatal error, to check that it's the right file (and, depending on the situation, also the right line)