summaryrefslogtreecommitdiff
path: root/user/py3-more-itertools/fix-test-32bit-overflow.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-08-06 03:05:56 -0500
committerMax Rees <maxcrees@me.com>2019-08-06 03:05:56 -0500
commit45832b7434df6e868f403cb68f2c219004dbbee4 (patch)
tree76773a984c0a769c56c29f06d76c4edbd69a8dd8 /user/py3-more-itertools/fix-test-32bit-overflow.patch
parent1860667701924ff27fbd6451dff2ea059448045a (diff)
downloadpackages-45832b7434df6e868f403cb68f2c219004dbbee4.tar.gz
packages-45832b7434df6e868f403cb68f2c219004dbbee4.tar.bz2
packages-45832b7434df6e868f403cb68f2c219004dbbee4.tar.xz
packages-45832b7434df6e868f403cb68f2c219004dbbee4.zip
user/py3-more-itertools: bump to 7.2.0
Diffstat (limited to 'user/py3-more-itertools/fix-test-32bit-overflow.patch')
-rw-r--r--user/py3-more-itertools/fix-test-32bit-overflow.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/user/py3-more-itertools/fix-test-32bit-overflow.patch b/user/py3-more-itertools/fix-test-32bit-overflow.patch
deleted file mode 100644
index 1ca1775f1..000000000
--- a/user/py3-more-itertools/fix-test-32bit-overflow.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 27a6dd8272e4fc1b74f0e8dd3746764ae8901523 Mon Sep 17 00:00:00 2001
-From: Efraim Flashner <efraim@flashner.co.il>
-Date: Thu, 11 Oct 2018 20:36:05 +0300
-Subject: [PATCH] Fix overflow error on 32-bit hardware
-
-Addresses bug#234
----
- more_itertools/tests/test_more.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/more_itertools/tests/test_more.py b/more_itertools/tests/test_more.py
-index f94170b..5fbeec3 100644
---- a/more_itertools/tests/test_more.py
-+++ b/more_itertools/tests/test_more.py
-@@ -2016,8 +2016,8 @@ def test_custom_pred(self):
- self.assertEqual(actual, expected)
-
- def test_efficient_reversal(self):
-- iterable = range(10 ** 10) # Is efficiently reversible
-- target = 10 ** 10 - 2
-+ iterable = range(9 ** 9) # Is efficiently reversible
-+ target = 9 ** 9 - 2
- pred = lambda x: x == target # Find-able from the right
- actual = next(mi.rlocate(iterable, pred))
- self.assertEqual(actual, target)