)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"change_message_id":"e23bd5f36e38e6c0b22b57937fd43c46f5510632","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"35efe97d_51cb2287","updated":"2026-04-06 18:17:20.000000000","message":"How is it working with this not existent assertFailed?","commit_id":"d0abe4995a5a49c527d033d4f86c69a24b86dec6"},{"author":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"change_message_id":"14df8e49f9c1680405c25f5910eeda33c32f019d","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"9a0432b2_a399e856","updated":"2026-05-12 08:42:21.000000000","message":"Thank you!","commit_id":"d0abe4995a5a49c527d033d4f86c69a24b86dec6"},{"author":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"change_message_id":"7c21bf05e59cecdd75e3117a9402d45b25bacdae","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d8a1b4ba_a62e2b4e","in_reply_to":"21e091a9_c0d8d4cd","updated":"2026-05-11 22:15:54.000000000","message":"So, only for me to make sure I understand, the self.fail() will now fail the test if the previous func() is NOT raising any exception, am I right?\nIn the previous implementation using assertFail(), the test would pass despite the fact that no exception was raised","commit_id":"d0abe4995a5a49c527d033d4f86c69a24b86dec6"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"f37a53ce1a32518ddbc2e0956f115ae1337f592f","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"21e091a9_c0d8d4cd","in_reply_to":"35efe97d_51cb2287","updated":"2026-04-27 10:57:52.000000000","message":"It never worked \"as expected\", but the call of assertFailed still succeeds because it is mapped to a mock method (noop).","commit_id":"d0abe4995a5a49c527d033d4f86c69a24b86dec6"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"f9f1efd3c9f24c8db7f6c528da03d89606232899","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"25f3e8b3_b328607e","in_reply_to":"d8a1b4ba_a62e2b4e","updated":"2026-05-12 02:34:49.000000000","message":"\u003e So, only for me to make sure I understand, the self.fail() will now fail the test if the previous func() is NOT raising any exception, am I right?\n\nIt is correct. The test fails if the execution reaches self.fail.\n\nhttps://docs.python.org/3/library/unittest.html#unittest.TestCase.fail\n\nside note:\nWe can probably replace the try-except block by assertRaises but I\u0027ll try that in a separate follow-up.\n\n\u003e In the previous implementation using assertFail(), the test would pass despite the fact that no exception was raised\n\nCorrect. assertFail is not a valid method, thus it behaves like a mock method.","commit_id":"d0abe4995a5a49c527d033d4f86c69a24b86dec6"}]}
