summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey_utkin@gentoo.org>2018-11-11 02:03:41 +0000
committerAndrey Utkin <andrey_utkin@gentoo.org>2018-11-11 02:07:51 +0000
commit58b63042aa2d6ce853d31558e509d6b26d907504 (patch)
tree45cb645599019d0c3a78015b2d57fad6b7edbebd /dev-python/s3transfer/files
parentsys-kernel/gentoo-sources: Linux patch 4.9.136 (diff)
downloadgentoo-58b63042aa2d6ce853d31558e509d6b26d907504.tar.gz
gentoo-58b63042aa2d6ce853d31558e509d6b26d907504.tar.bz2
gentoo-58b63042aa2d6ce853d31558e509d6b26d907504.zip
dev-python/s3transfer: 0.1.13-r1: patch tests
Applying upstream's own patch which fixes a failing functional test. No revbump as this doesn't affect successful installations. Link: https://github.com/boto/s3transfer/commit/67d2548f9e531650ee90e9518cf6559aabe98afd Bug: https://bugs.gentoo.org/668162 Signed-off-by: Andrey Utkin <andrey_utkin@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'dev-python/s3transfer/files')
-rw-r--r--dev-python/s3transfer/files/s3transfer-0.1.13-tests.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-python/s3transfer/files/s3transfer-0.1.13-tests.patch b/dev-python/s3transfer/files/s3transfer-0.1.13-tests.patch
new file mode 100644
index 000000000000..14445f338bf5
--- /dev/null
+++ b/dev-python/s3transfer/files/s3transfer-0.1.13-tests.patch
@@ -0,0 +1,22 @@
+From 67d2548f9e531650ee90e9518cf6559aabe98afd Mon Sep 17 00:00:00 2001
+From: Jordan Guymon <jogu.sd@gmail.com>
+Date: Fri, 31 Aug 2018 10:22:25 -0700
+Subject: [PATCH] Add whence to mock readable seek to fix functional test
+
+---
+ tests/functional/test_manager.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/functional/test_manager.py b/tests/functional/test_manager.py
+index 9d5702d..ec4175a 100644
+--- a/tests/functional/test_manager.py
++++ b/tests/functional/test_manager.py
+@@ -40,7 +40,7 @@ def signal_transferring(self):
+ def signal_not_transferring(self):
+ self.signal_not_transferring_call_count += 1
+
+- def seek(self, where):
++ def seek(self, where, whence=0):
+ pass
+
+ def tell(self):