ports/devel/py-chai/files/patch-chai_python2.py
Tobias C. Berner 26a1cb5d3f 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.
2023-08-20 18:26:21 +02:00

7 lines
219 B
Python

--- 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)