Say you're unit testing a class that lives in module foo.py, so you import foo.py at the start of your test and unload it from sys.modules at the end as you ...
確定! 回上一頁