summaryrefslogtreecommitdiff
path: root/dev-python/mock/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/mock/files
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/mock/files')
-rw-r--r--dev-python/mock/files/mock-1.0.1-fix-python3.4.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-python/mock/files/mock-1.0.1-fix-python3.4.patch b/dev-python/mock/files/mock-1.0.1-fix-python3.4.patch
deleted file mode 100644
index 166ee2ac00d3..000000000000
--- a/dev-python/mock/files/mock-1.0.1-fix-python3.4.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-# Fix test errors with python 3.4 - thanks to Ubuntu developer Barry Warsaw.
-
-diff -r d356250e275d mock.py
---- a/mock.py Tue Apr 09 14:53:33 2013 +0100
-+++ b/mock.py Wed Feb 26 15:12:18 2014 -0500
-@@ -239,12 +239,21 @@
- funcopy.__name__ = func.__name__
- funcopy.__doc__ = func.__doc__
- #funcopy.__dict__.update(func.__dict__)
-- funcopy.__module__ = func.__module__
-+ try:
-+ funcopy.__module__ = func.__module__
-+ except AttributeError:
-+ pass
- if not inPy3k:
- funcopy.func_defaults = func.func_defaults
- return
-- funcopy.__defaults__ = func.__defaults__
-- funcopy.__kwdefaults__ = func.__kwdefaults__
-+ try:
-+ funcopy.__defaults__ = func.__defaults__
-+ except AttributeError:
-+ pass
-+ try:
-+ funcopy.__kwdefaults__ = func.__kwdefaults__
-+ except AttributeError:
-+ pass
-
-
- def _callable(obj):