]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blobdiff - python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch
python: Update to 2.7.15
[people/stevee/ipfire-3.x.git] / python / patches / 00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch
diff --git a/python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch b/python/patches/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch
deleted file mode 100644 (file)
index 71e7f68..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
-index 0dd4258..d9b3267 100644
---- a/Lib/test/test_sys.py
-+++ b/Lib/test/test_sys.py
-@@ -769,6 +769,11 @@ class SizeofTest(unittest.TestCase):
-                   '10P'                 # PySequenceMethods
-                   '6P'                  # PyBufferProcs
-                   '2P')
-+
-+        # COUNT_ALLOCS adds further fields to the end of a PyTypeObject:
-+        if hasattr(sys, 'getcounts'):
-+            s += size('P')
-+
-         class newstyleclass(object):
-             pass
-         check(newstyleclass, s)