[PATCH gentoolkit 3/3] eclean: Remove unneeded __init__ to enable pytest

Matt Turner <[email protected]> Sun, 20 Dec 2020 22:25:26 -0500
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
Prevented the unit test from running:

pym/gentoolkit/test/eclean/distsupport.py:435: PytestCollectionWarning:
cannot collect test class 'TestDisfiles' because it has a __init__
constructor (from: pym/gentoolkit/test/eclean/test_search.py)

Signed-off-by: Matt Turner <[email protected]>
---
 pym/gentoolkit/test/eclean/distsupport.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/pym/gentoolkit/test/eclean/distsupport.py b/pym/gentoolkit/test/eclean/distsupport.py
index 0fc2db8..da7cdbb 100644
--- a/pym/gentoolkit/test/eclean/distsupport.py
+++ b/pym/gentoolkit/test/eclean/distsupport.py
@@ -434,12 +434,6 @@ class OutputSimulator:
 
 class TestDisfiles:
 
-	def __init__(self):
-		self.workdir = None
-		self.target_file = None
-		self.target_symlink = None
-		self.test_filepaths = None
-
 	def setUp(self):
 		# create the dist dir
 		self.tmpdir = mkdtemp()
-- 
2.26.2