mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 01:01:49 -04:00
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.
7 lines
219 B
Python
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)
|