Git tutorial, MXCuBE workshop - 30th June 2016, EMBL Hamburg, Germany
Run the exercises file like this:
python -Wd -i exercises.py
And then call functions as needed, eg.:
matias@kashyyyk:~/dev/git_tutorial$ python -Wd -i exercises.py
>>> test_deprecation_warning()
exercises.py:5: DeprecationWarning: This is a deprecated function, will disappear
warnings.warn("This is a deprecated function, will disappear", DeprecationWarning)
still, the function continues
>>>