Remove commented out code

This commit is contained in:
Bruno Oliveira 2018-09-04 11:28:23 -03:00
parent 415a62e373
commit c304998ed7
1 changed files with 0 additions and 5 deletions

View File

@ -659,11 +659,6 @@ class Class(PyCollector):
if not safe_getattr(self.obj, "__test__", True):
return []
if hasinit(self.obj):
# self.warn(
# "C1",
# "cannot collect test class %r because it has a "
# "__init__ constructor" % self.obj.__name__,
# )
self.std_warn(
"cannot collect test class %r because it has a "
"__init__ constructor" % self.obj.__name__,