35 points · by clarete · 13y ago · 15 comments
I just used my default licence template, which defaults to GPL.
A very quick test would be trying to do something like this:
>>> monkeypatch(str, "blah", "bleh") >>> assert str.blah == "bleh"
I tried it here with no success though.
A wonderful hack! :)
Edit: see https://github.com/clarete/forbiddenfruit/blob/master/forbid...
1) Making it easier to write tools for testing python code, like sure[0] and freezegun[1]
2) Prototyping new features for python without touching the C code.
[0] http://github.com/gabrielfalcao/sure -- where forbiddenfruit started) [1] http://github.com/spulec/freezegun