AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
PyTester and NumPy: How to Check for Unknown Values
NumPy arrays override equals equals to give you back another matrix rather than an equality check. And so there's a whole other set of assertion helpers in NumPy. Testing that you have to, you have to remember to import NumPy.testing and do NumPy testing or which is a whole different thing. I would actually need a change in Python. Like I think Python, dare I suggest a triple equals operator,. But Python would maybe do better to have like an, an equality check that's actually an equality checks. Not something that's over loadable, but. Okay. So then when PyTester does the rewrite, does it deal with NumPy correctly? Then I think we