Open aidanheerdegen opened 9 months ago
payu is using assert in a number of locations throughout the production code
assert
https://github.com/search?q=repo%3Apayu-org%2Fpayu%20assert&type=code
This is not good practice:
https://www.inspiredpython.com/article/assertions-and-exceptions-are-not-the-same
Note that it is fine in to use assert in tests.
payu is using
assert
in a number of locations throughout the production codehttps://github.com/search?q=repo%3Apayu-org%2Fpayu%20assert&type=code
This is not good practice:
https://www.inspiredpython.com/article/assertions-and-exceptions-are-not-the-same
Note that it is fine in to use
assert
in tests.