Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I feel the same way (and mostly use unittest instead) but maybe this technique makes sense as long as its use is limited to test functions?

Test functions are never called explicitly and would otherwise (like unittest TestCase methods) never have any arguments, so in this context maybe it's clear that any arguments they do have must be magical.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: