forked from pool/python-mocket
Accepting request 910345 from home:mcalabkova:branches:devel:languages:python
- Add kwsyntax.patch to fix test failure with new decorator. OBS-URL: https://build.opensuse.org/request/show/910345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mocket?expand=0&rev=33
This commit is contained in:
13
kwsyntax.patch
Normal file
13
kwsyntax.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: mocket-3.9.42/mocket/mocket.py
|
||||
===================================================================
|
||||
--- mocket-3.9.42.orig/mocket/mocket.py
|
||||
+++ mocket-3.9.42/mocket/mocket.py
|
||||
@@ -628,7 +628,7 @@ class Mocketizer(object):
|
||||
t(*args, **kw)
|
||||
return wrapper
|
||||
|
||||
- return decorator.decorator(wrapper, test)
|
||||
+ return decorator.decorator(wrapper, test, kwsyntax=True)
|
||||
|
||||
|
||||
mocketize = Mocketizer.wrap
|
Reference in New Issue
Block a user