Merge pull request #33263 from ruthra-kumar/fix_incorrect_test_count_in_lightmode_test_runner

refactor: remove duplicate call to start test
This commit is contained in:
ruthra kumar 2025-07-09 15:20:42 +05:30 committed by GitHub
commit 972adc54b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,6 @@ class FrappeTestResult(unittest.TextTestResult):
def startTest(self, test):
self.tb_locals = True
self._started_at = time.monotonic()
super().startTest(test)
super(unittest.TextTestResult, self).startTest(test)
test_class = unittest.util.strclass(test.__class__)
if not hasattr(self, "current_test_class") or self.current_test_class != test_class: