14
0

- add python313.patch:

* skip known testfailure with 3.13
    :func:`long_typename`, :func:`safe_repr`, :func:`short_repr`,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-objgraph?expand=0&rev=19
This commit is contained in:
2024-09-01 19:15:23 +00:00
committed by Git OBS Bridge
parent e09b48895a
commit 24db23a536
3 changed files with 29 additions and 5 deletions

12
python313.patch Normal file
View File

@@ -0,0 +1,12 @@
Index: objgraph-3.6.1/tests.py
===================================================================
--- objgraph-3.6.1.orig/tests.py
+++ objgraph-3.6.1/tests.py
@@ -465,6 +465,7 @@ class StringRepresentationTest(GarbageCo
objgraph._gradient((0.1, 0.2, 0.3),
(0.2, 0.3, 0.4), 0, 0))
+ @skipIf(sys.version_info[1] > 12, "Python 3.13 fails with error here (gh#mgedmin/objgraph#80)")
def test_edge_label_frame_locals(self):
frame = sys._getframe()
self.assertEqual(' [label="f_locals",weight=10]',