From 2047cfaa51f907463a7f21f76b0e0b727d9240cb Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Sat, 19 Mar 2022 12:13:14 +0100 Subject: [PATCH] We DO run under 3.5 --- src/attr/_make.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/attr/_make.py b/src/attr/_make.py index 5f2ce1aac..1e3f16723 100644 --- a/src/attr/_make.py +++ b/src/attr/_make.py @@ -1943,11 +1943,8 @@ def __repr__(self): real_cls = self.__class__ if ns is None: qualname = getattr(real_cls, "__qualname__", None) - if qualname is not None: # pragma: no cover - # This case only happens on Python 3.5 and 3.6. We exclude - # it from coverage, because we don't want to slow down our - # test suite by running them under coverage too for this - # one line. + if qualname is not None: + # This case only happens on Python 3.5 and 3.6. class_name = qualname.rsplit(">.", 1)[-1] else: class_name = real_cls.__name__