From 6fd5e111307d1b77ea5daf1bd5bd898777d82ce9 Mon Sep 17 00:00:00 2001 From: Farbod Ahmadian Date: Thu, 20 Jun 2024 15:05:53 +0200 Subject: [PATCH] fixup! tests: add for bound method representation --- testing/io/test_saferepr.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/io/test_saferepr.py b/testing/io/test_saferepr.py index 99acaf68a..cedad5e9a 100644 --- a/testing/io/test_saferepr.py +++ b/testing/io/test_saferepr.py @@ -6,6 +6,7 @@ from _pytest._io.saferepr import DEFAULT_REPR_MAX_SIZE from _pytest._io.saferepr import saferepr from _pytest._io.saferepr import saferepr_unlimited import pytest +import re def test_simple_repr(): @@ -197,7 +198,7 @@ def test_saferepr_unlimited_exc(): class TestSafereprUnbounded: class Help: - def bound_method(self): + def bound_method(self): # pragma: no cover pass def test_saferepr_bound_method(self):