diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-08-20 18:24:47 +0200 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-08-20 18:26:21 +0200 |
commit | 26a1cb5d3fd2607de3df220908438efd52d0ce03 (patch) | |
tree | 4f74356adcf5514a2818e8397a6909d53b233dd2 /devel/py-chai/files/patch-chai_python2.py | |
parent | devel/Makefile: sort (diff) |
devel/py-chai: Easy to use mocking, stubbing and spying framework
Chai provides a very easy to use api for mocking, stubbing and spying
your python objects, patterned after the Mocha library for Ruby.
This port is required for KDE's CI builders.
Diffstat (limited to 'devel/py-chai/files/patch-chai_python2.py')
-rw-r--r-- | devel/py-chai/files/patch-chai_python2.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/py-chai/files/patch-chai_python2.py b/devel/py-chai/files/patch-chai_python2.py new file mode 100644 index 000000000000..f8a931a9a9bd --- /dev/null +++ b/devel/py-chai/files/patch-chai_python2.py @@ -0,0 +1,7 @@ +--- chai/python2.py.orig 2023-08-20 16:18:50 UTC ++++ chai/python2.py +@@ -1,3 +1,3 @@ def reraise(exc, msg, traceback): + + def reraise(exc, msg, traceback): +- raise exc, msg, traceback ++ raise(exc, msg, traceback) |