[riot-notifications] [RIOT-OS/RIOT] tests: add tests to reproduce #10881 (#10908)

Alexandre Abadie notifications at github.com
Thu Jan 31 15:43:31 CET 2019


> One more reason to go for #10431 ;-).

I disagree, using `assert` in tests is totally right in Python. The codacy issue is a false positive in this case. It's just that if you run your script with optimized byte code (using python3 -o), the assert will be ignored. But this optimisation is never used in this kind of tests AFAIK.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10908#issuecomment-459369144
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190131/9470ba2b/attachment-0001.html>


More information about the notifications mailing list