Remove commented out code
This commit is contained in:
parent
415a62e373
commit
c304998ed7
|
@ -659,11 +659,6 @@ class Class(PyCollector):
|
||||||
if not safe_getattr(self.obj, "__test__", True):
|
if not safe_getattr(self.obj, "__test__", True):
|
||||||
return []
|
return []
|
||||||
if hasinit(self.obj):
|
if hasinit(self.obj):
|
||||||
# self.warn(
|
|
||||||
# "C1",
|
|
||||||
# "cannot collect test class %r because it has a "
|
|
||||||
# "__init__ constructor" % self.obj.__name__,
|
|
||||||
# )
|
|
||||||
self.std_warn(
|
self.std_warn(
|
||||||
"cannot collect test class %r because it has a "
|
"cannot collect test class %r because it has a "
|
||||||
"__init__ constructor" % self.obj.__name__,
|
"__init__ constructor" % self.obj.__name__,
|
||||||
|
|
Loading…
Reference in New Issue