14
0
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:
2021-08-05 15:32:07 +00:00
committed by Git OBS Bridge
parent cf01a2ae5e
commit 76b95ce162
3 changed files with 20 additions and 0 deletions

13
kwsyntax.patch Normal file
View 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