Hello community,

here is the log from the commit of package python-funcy for openSUSE:Factory 
checked in at 2019-08-13 13:23:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-funcy (Old)
 and      /work/SRC/openSUSE:Factory/.python-funcy.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-funcy"

Tue Aug 13 13:23:39 2019 rev:6 rq:722710 version:1.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-funcy/python-funcy.changes        
2019-05-12 11:36:57.334494667 +0200
+++ /work/SRC/openSUSE:Factory/.python-funcy.new.9556/python-funcy.changes      
2019-08-13 13:23:40.685380274 +0200
@@ -1,0 +2,7 @@
+Mon Aug 12 13:40:21 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- Update to 1.13
+  * added @wrap_with()
+  * added nullcontext
+
+-------------------------------------------------------------------

Old:
----
  funcy-1.12.tar.gz

New:
----
  funcy-1.13.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-funcy.spec ++++++
--- /var/tmp/diff_new_pack.0hInZF/_old  2019-08-13 13:23:41.129380158 +0200
+++ /var/tmp/diff_new_pack.0hInZF/_new  2019-08-13 13:23:41.133380157 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-funcy
-Version:        1.12
+Version:        1.13
 Release:        0
 Summary:        Functional tools for Python
 License:        BSD-3-Clause

++++++ funcy-1.12.tar.gz -> funcy-1.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/CHANGELOG new/funcy-1.13/CHANGELOG
--- old/funcy-1.12/CHANGELOG    2019-04-17 17:30:10.000000000 +0200
+++ new/funcy-1.13/CHANGELOG    2019-08-04 13:49:10.000000000 +0200
@@ -1,3 +1,7 @@
+1.13
+- added @wrap_with()
+- added nullcontext
+
 1.12
 - added @cached_readonly
 - more introspection in @decorator decorators
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/PKG-INFO new/funcy-1.13/PKG-INFO
--- old/funcy-1.12/PKG-INFO     2019-04-17 17:55:52.000000000 +0200
+++ new/funcy-1.13/PKG-INFO     2019-08-04 13:56:20.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: funcy
-Version: 1.12
+Version: 1.13
 Summary: A fancy and practical functional tools
 Home-page: http://github.com/Suor/funcy
 Author: Alexander Schepanovski
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/VERSION new/funcy-1.13/VERSION
--- old/funcy-1.12/VERSION      2019-04-17 17:30:27.000000000 +0200
+++ new/funcy-1.13/VERSION      2019-08-04 13:49:35.000000000 +0200
@@ -1 +1 @@
-1.12
+1.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/funcy/compat.py 
new/funcy-1.13/funcy/compat.py
--- old/funcy-1.12/funcy/compat.py      2018-10-03 14:49:11.000000000 +0200
+++ new/funcy-1.13/funcy/compat.py      2019-04-30 12:25:18.000000000 +0200
@@ -25,6 +25,30 @@
     from collections import Mapping, Set, Sequence, Iterable, Iterator, 
Hashable  # noqa
 
 
+try:
+    from contextlib import nullcontext
+except ImportError:
+    class nullcontext(object):
+        """Context manager that does no additional processing.
+
+        Used as a stand-in for a normal context manager, when a particular
+        block of code is only sometimes used with a normal context manager:
+
+        cm = optional_cm if condition else nullcontext()
+        with cm:
+            # Perform operation, using optional_cm if condition is True
+        """
+
+        def __init__(self, enter_result=None):
+            self.enter_result = enter_result
+
+        def __enter__(self):
+            return self.enter_result
+
+        def __exit__(self, *excinfo):
+            pass
+
+
 import sys
 PY2 = sys.version_info[0] == 2
 PY3 = sys.version_info[0] == 3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/funcy/flow.py new/funcy-1.13/funcy/flow.py
--- old/funcy-1.12/funcy/flow.py        2018-10-03 14:49:11.000000000 +0200
+++ new/funcy-1.13/funcy/flow.py        2019-07-15 10:59:07.000000000 +0200
@@ -9,7 +9,8 @@
 __all__ = ['raiser', 'ignore', 'silent', 'suppress', 'reraise', 'retry', 
'fallback',
            'limit_error_rate', 'ErrorRateExceeded',
            'post_processing', 'collecting', 'joining',
-           'once', 'once_per', 'once_per_args']
+           'once', 'once_per', 'once_per_args',
+           'wrap_with']
 
 
 ### Error handling utilities
@@ -206,3 +207,10 @@
 def once_per_args(func):
     """Call function once for every combination of values of its arguments."""
     return once_per(*get_argnames(func))(func)
+
+
+@decorator
+def wrap_with(call, manager):
+    """Turn context manager into a decorator"""
+    with manager:
+        return call()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/funcy/py3.py new/funcy-1.13/funcy/py3.py
--- old/funcy-1.12/funcy/py3.py 2018-10-03 14:49:11.000000000 +0200
+++ new/funcy-1.13/funcy/py3.py 2019-05-11 09:53:54.000000000 +0200
@@ -13,6 +13,7 @@
 from .objects import *
 from .debug import *
 from .primitives import *
+from .compat import nullcontext  # noqa
 
 
 # Setup __all__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/funcy.egg-info/PKG-INFO 
new/funcy-1.13/funcy.egg-info/PKG-INFO
--- old/funcy-1.12/funcy.egg-info/PKG-INFO      2019-04-17 17:55:52.000000000 
+0200
+++ new/funcy-1.13/funcy.egg-info/PKG-INFO      2019-08-04 13:56:20.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: funcy
-Version: 1.12
+Version: 1.13
 Summary: A fancy and practical functional tools
 Home-page: http://github.com/Suor/funcy
 Author: Alexander Schepanovski
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/funcy.egg-info/SOURCES.txt 
new/funcy-1.13/funcy.egg-info/SOURCES.txt
--- old/funcy-1.12/funcy.egg-info/SOURCES.txt   2019-04-17 17:55:52.000000000 
+0200
+++ new/funcy-1.13/funcy.egg-info/SOURCES.txt   2019-08-04 13:56:20.000000000 
+0200
@@ -50,71 +50,99 @@
 tests/__pycache__/__init__.pypy-41.pyc
 tests/__pycache__/test_calc.cpython-27-PYTEST.pyc
 tests/__pycache__/test_calc.cpython-35-PYTEST.pyc
+tests/__pycache__/test_calc.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_calc.cpython-36-PYTEST.pyc
 tests/__pycache__/test_calc.cpython-37-PYTEST.pyc
+tests/__pycache__/test_calc.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_calc.pypy-41-PYTEST.pyc
 tests/__pycache__/test_colls.cpython-27-PYTEST.pyc
 tests/__pycache__/test_colls.cpython-35-PYTEST.pyc
+tests/__pycache__/test_colls.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_colls.cpython-36-PYTEST.pyc
 tests/__pycache__/test_colls.cpython-37-PYTEST.pyc
+tests/__pycache__/test_colls.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_colls.pypy-41-PYTEST.pyc
 tests/__pycache__/test_debug.cpython-27-PYTEST.pyc
 tests/__pycache__/test_debug.cpython-35-PYTEST.pyc
+tests/__pycache__/test_debug.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_debug.cpython-36-PYTEST.pyc
 tests/__pycache__/test_debug.cpython-37-PYTEST.pyc
+tests/__pycache__/test_debug.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_debug.pypy-41-PYTEST.pyc
 tests/__pycache__/test_decorators.cpython-27-PYTEST.pyc
 tests/__pycache__/test_decorators.cpython-35-PYTEST.pyc
+tests/__pycache__/test_decorators.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_decorators.cpython-36-PYTEST.pyc
 tests/__pycache__/test_decorators.cpython-37-PYTEST.pyc
+tests/__pycache__/test_decorators.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_decorators.pypy-41-PYTEST.pyc
 tests/__pycache__/test_flow.cpython-27-PYTEST.pyc
 tests/__pycache__/test_flow.cpython-35-PYTEST.pyc
+tests/__pycache__/test_flow.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_flow.cpython-36-PYTEST.pyc
 tests/__pycache__/test_flow.cpython-37-PYTEST.pyc
+tests/__pycache__/test_flow.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_flow.pypy-41-PYTEST.pyc
 tests/__pycache__/test_funcmakers.cpython-27-PYTEST.pyc
 tests/__pycache__/test_funcmakers.cpython-35-PYTEST.pyc
+tests/__pycache__/test_funcmakers.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_funcmakers.cpython-36-PYTEST.pyc
 tests/__pycache__/test_funcmakers.cpython-37-PYTEST.pyc
+tests/__pycache__/test_funcmakers.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_funcmakers.pypy-41-PYTEST.pyc
 tests/__pycache__/test_funcolls.cpython-27-PYTEST.pyc
 tests/__pycache__/test_funcolls.cpython-35-PYTEST.pyc
+tests/__pycache__/test_funcolls.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_funcolls.cpython-36-PYTEST.pyc
 tests/__pycache__/test_funcolls.cpython-37-PYTEST.pyc
+tests/__pycache__/test_funcolls.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_funcolls.pypy-41-PYTEST.pyc
 tests/__pycache__/test_funcs.cpython-27-PYTEST.pyc
 tests/__pycache__/test_funcs.cpython-35-PYTEST.pyc
+tests/__pycache__/test_funcs.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_funcs.cpython-36-PYTEST.pyc
 tests/__pycache__/test_funcs.cpython-37-PYTEST.pyc
+tests/__pycache__/test_funcs.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_funcs.pypy-41-PYTEST.pyc
 tests/__pycache__/test_interface.cpython-27-PYTEST.pyc
 tests/__pycache__/test_interface.cpython-35-PYTEST.pyc
+tests/__pycache__/test_interface.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_interface.cpython-36-PYTEST.pyc
 tests/__pycache__/test_interface.cpython-37-PYTEST.pyc
+tests/__pycache__/test_interface.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_interface.pypy-41-PYTEST.pyc
 tests/__pycache__/test_objects.cpython-27-PYTEST.pyc
 tests/__pycache__/test_objects.cpython-35-PYTEST.pyc
+tests/__pycache__/test_objects.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_objects.cpython-36-PYTEST.pyc
 tests/__pycache__/test_objects.cpython-37-PYTEST.pyc
+tests/__pycache__/test_objects.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_objects.pypy-41-PYTEST.pyc
 tests/__pycache__/test_seqs.cpython-27-PYTEST.pyc
 tests/__pycache__/test_seqs.cpython-35-PYTEST.pyc
+tests/__pycache__/test_seqs.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_seqs.cpython-36-PYTEST.pyc
 tests/__pycache__/test_seqs.cpython-37-PYTEST.pyc
+tests/__pycache__/test_seqs.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_seqs.pypy-41-PYTEST.pyc
 tests/__pycache__/test_strings.cpython-27-PYTEST.pyc
 tests/__pycache__/test_strings.cpython-35-PYTEST.pyc
+tests/__pycache__/test_strings.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_strings.cpython-36-PYTEST.pyc
 tests/__pycache__/test_strings.cpython-37-PYTEST.pyc
+tests/__pycache__/test_strings.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_strings.pypy-41-PYTEST.pyc
 tests/__pycache__/test_tree.cpython-27-PYTEST.pyc
 tests/__pycache__/test_tree.cpython-35-PYTEST.pyc
+tests/__pycache__/test_tree.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_tree.cpython-36-PYTEST.pyc
 tests/__pycache__/test_tree.cpython-37-PYTEST.pyc
+tests/__pycache__/test_tree.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_tree.pypy-41-PYTEST.pyc
 tests/__pycache__/test_types.cpython-27-PYTEST.pyc
 tests/__pycache__/test_types.cpython-35-PYTEST.pyc
+tests/__pycache__/test_types.cpython-35-pytest-5.0.1.pyc
 tests/__pycache__/test_types.cpython-36-PYTEST.pyc
 tests/__pycache__/test_types.cpython-37-PYTEST.pyc
+tests/__pycache__/test_types.cpython-37-pytest-5.0.1.pyc
 tests/__pycache__/test_types.pypy-41-PYTEST.pyc
\ No newline at end of file
Binary files old/funcy-1.12/tests/__pycache__/__init__.cpython-37.pyc and 
new/funcy-1.13/tests/__pycache__/__init__.cpython-37.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_calc.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_calc.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_calc.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_calc.cpython-37-pytest-5.0.1.pyc differ
Binary files old/funcy-1.12/tests/__pycache__/test_colls.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_colls.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_colls.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_colls.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_colls.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_colls.cpython-37-pytest-5.0.1.pyc differ
Binary files old/funcy-1.12/tests/__pycache__/test_debug.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_debug.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_debug.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_debug.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_debug.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_debug.cpython-37-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_decorators.cpython-27-PYTEST.pyc and 
new/funcy-1.13/tests/__pycache__/test_decorators.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_decorators.cpython-35-pytest-5.0.1.pyc 
and 
new/funcy-1.13/tests/__pycache__/test_decorators.cpython-35-pytest-5.0.1.pyc 
differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_decorators.cpython-37-pytest-5.0.1.pyc 
and 
new/funcy-1.13/tests/__pycache__/test_decorators.cpython-37-pytest-5.0.1.pyc 
differ
Binary files old/funcy-1.12/tests/__pycache__/test_flow.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_flow.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_flow.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_flow.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_flow.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_flow.cpython-37-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcmakers.cpython-27-PYTEST.pyc and 
new/funcy-1.13/tests/__pycache__/test_funcmakers.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcmakers.cpython-35-pytest-5.0.1.pyc 
and 
new/funcy-1.13/tests/__pycache__/test_funcmakers.cpython-35-pytest-5.0.1.pyc 
differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcmakers.cpython-37-pytest-5.0.1.pyc 
and 
new/funcy-1.13/tests/__pycache__/test_funcmakers.cpython-37-pytest-5.0.1.pyc 
differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcolls.cpython-27-PYTEST.pyc and 
new/funcy-1.13/tests/__pycache__/test_funcolls.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcolls.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_funcolls.cpython-35-pytest-5.0.1.pyc 
differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcolls.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_funcolls.cpython-37-pytest-5.0.1.pyc 
differ
Binary files old/funcy-1.12/tests/__pycache__/test_funcs.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_funcs.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcs.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_funcs.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_funcs.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_funcs.cpython-37-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_interface.cpython-27-PYTEST.pyc and 
new/funcy-1.13/tests/__pycache__/test_interface.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_interface.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_interface.cpython-35-pytest-5.0.1.pyc 
differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_interface.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_interface.cpython-37-pytest-5.0.1.pyc 
differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_objects.cpython-27-PYTEST.pyc and 
new/funcy-1.13/tests/__pycache__/test_objects.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_objects.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_objects.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_objects.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_objects.cpython-37-pytest-5.0.1.pyc differ
Binary files old/funcy-1.12/tests/__pycache__/test_seqs.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_seqs.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_seqs.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_seqs.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_seqs.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_seqs.cpython-37-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_strings.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_strings.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_strings.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_strings.cpython-37-pytest-5.0.1.pyc differ
Binary files old/funcy-1.12/tests/__pycache__/test_tree.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_tree.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_tree.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_tree.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_tree.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_tree.cpython-37-pytest-5.0.1.pyc differ
Binary files old/funcy-1.12/tests/__pycache__/test_types.cpython-27-PYTEST.pyc 
and new/funcy-1.13/tests/__pycache__/test_types.cpython-27-PYTEST.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_types.cpython-35-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_types.cpython-35-pytest-5.0.1.pyc differ
Binary files 
old/funcy-1.12/tests/__pycache__/test_types.cpython-37-pytest-5.0.1.pyc and 
new/funcy-1.13/tests/__pycache__/test_types.cpython-37-pytest-5.0.1.pyc differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/funcy-1.12/tests/test_flow.py 
new/funcy-1.13/tests/test_flow.py
--- old/funcy-1.12/tests/test_flow.py   2017-11-06 15:42:54.000000000 +0100
+++ new/funcy-1.13/tests/test_flow.py   2019-07-15 11:07:28.000000000 +0200
@@ -194,3 +194,22 @@
     assert calls == [1, 2, 1]
     call(1)
     assert calls == [1, 2, 1]
+
+
+def test_wrap_with():
+    calls = []
+
+    class Manager:
+        def __enter__(self):
+            calls.append(1)
+            return self
+
+        def __exit__(self, *args):
+            pass
+
+    @wrap_with(Manager())
+    def calc():
+        pass
+
+    calc()
+    assert calls == [1]


Reply via email to