|
I am addicted to write unit tests whenever I am writing a code. Python has a very good unit testing framework. Since python editor in class doesn't allow import, I cannot write unit tests. I understand the reason behind not allowing imports, but can we pre import some modules and make one of them unittest? |
|
Starting with the next unit you will be able to import whatever you want. |
|
I think you can just copy the code you've written for the assignment and paste it to your local machine where you can do anything to the code. |