Closed jferard closed 4 years ago
I noticed that running:
python3 -m pytest --doctest-modules
has an annoying side effect: diagrams are displayed. We should have a main function in each script and the two lines:
main
if __name__ == "__main__": main()
See https://stackoverflow.com/a/28336701/6914441 for more information.
ok, I'll change it soon
solved with commit 5257676601b236fb4f9a69a68bbb4c6256af48ea
Nice. Now
$ python3 -m pytest --doctest-modules
works fine, and I can run scripts from my IDE (PyCharm).
I noticed that running:
has an annoying side effect: diagrams are displayed. We should have a
main
function in each script and the two lines:See https://stackoverflow.com/a/28336701/6914441 for more information.