change assertions to ValueError, stop catching AssertionError#502
Conversation
|
@jbrockmendel This needs a rebase it seems. I've become gunshy since the last time :P |
|
Was the rebase successful? |
aeb436a to
6c42500
Compare
|
Seems like it, though I have a mild preference for actually using With Not sure why I'm going on about this so much, it's a toss-up so do whatever you prefer :P |
|
Hm, not sure why this is failing on Windows after I rebased against the latest master. Seems like some issue with That said, it's failing because it's failing to import |
|
I think this is an appveyor problem. I just restarted a random build and it broke. |
|
Yah the rebase vs merge conversation seems to be happening a lot these days. I'm still getting up the learning curve with rebase. Is the appveyor thing something I can be useful with, or just moral support? |
|
@jbrockmendel See spulec/freezegun#214 and pytest-dev/py#169 . This is a problem somewhere upstream. If it's not fixed relatively quickly, we can add an explicit dependency on |
The giant try/except that catches ValueError, IndexError, AssertionError needs to go away. This changes two assertion into checks that raise ValueError, stops catching AssertionError.