OSIX
MModular
•Created by Shubham Ugare on 12/29/2023 in #questions
Python assert
^this last lib exports a TestCase object which has methods like assertEqual, assertTrue... etc
7 replies
MModular
•Created by Shubham Ugare on 12/29/2023 in #questions
Python assert
otherwise, I would look if I can interop with https://docs.python.org/3/library/unittest.html?highlight=unittest#module-unittest
7 replies
MModular
•Created by Shubham Ugare on 12/29/2023 in #questions
Python assert
in that case you could implement your on assert_equal function and return https://docs.modular.com/mojo/stdlib/builtin/error.html
7 replies