fixup! tests: add for bound method representation

This commit is contained in:
Farbod Ahmadian 2024-06-20 15:05:53 +02:00 committed by Farbod Ahmadian
parent 2f7f1e9cba
commit 6fd5e11130
1 changed files with 2 additions and 1 deletions

View File

@ -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):