python-objgraph/python313.patch

13 lines
592 B
Diff

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]',