def _initializer(self, tests: Tuple[type]=()): # Forces unittest.BaseTestSuite to filter out missing test classes in its initializer. self.unpatched_init(list(filter(lambda x: x is not None, tests)))