Verified Commit 286f1915 authored by Julian Descottes's avatar Julian Descottes Committed by ma1
Browse files

Bug 1917556 - [marionette] Fix Mn tests with Python 3.12 r=webdriver-reviewers,whimboo

parent 7e5c5601
Loading
Loading
Loading
Loading
+1 −1
Changes for testing/marionette/harness/marionette_harness/runner/base.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@ class MarionetteTestResult(StructuredTestResult, TestResultCollection):
                self.logger.info("END LOG:")

    def stopTest(self, *args, **kwargs):
        unittest._TextTestResult.stopTest(self, *args, **kwargs)
        unittest.TextTestResult.stopTest(self, *args, **kwargs)
        if self.marionette.check_for_crash():
            # this tells unittest.TestSuite not to continue running tests
            self.shouldStop = True