def addSkip(self, test: TestCase, reason: str) -> None: TestResult.addSkip(self, test, reason) self.stream.writeln( "** Skipping {}: {}". format( # type: ignore[attr-defined] # https://github.com/python/typeshed/issues/3139 test.id(), reason)) self.stream.flush()
def addSkip(self, test: TestCase, reason: str) -> None: TestResult.addSkip(self, test, reason) self.stream.writeln( "** Skipping {}: {}". format( # type: ignore # https://github.com/python/typeshed/issues/3139 full_test_name(test), reason)) self.stream.flush( ) # type: ignore # https://github.com/python/typeshed/issues/3139
def addSkip(self, test, reason): self.result["skip_count"] += 1 self.result["class_list"][self.class_name]["skip_count"] += 1 self.result["class_list"][self.class_name]["methods"][self.method_name]\ ["status"] = SKIP TestResult.addSkip(self, test, reason) self.result["class_list"][self.class_name]["methods"][self.method_name]\ ["message"] = self.silence_output() self.result["class_list"][self.class_name]["methods"][self.method_name]\ ["error"] = reason
def addSkip(self, test: TestCase, reason): TestResult.addSkip(self, test, reason) self.stream.write("SKIPPED") self.stream.write(" ... reason: " + str(reason)) self.stream.writeln() execution_time = self.__get_test_execution_time() self.__skipped_test.append( TestResultInfo(test=test, execution_time=execution_time, status_id=TestStatus.SKIP, error_msg=reason))
def addSkip(self, test, reason): # type: (TestCase, Text) -> None TestResult.addSkip(self, test, reason) self.stream.writeln("** Skipping {}: {}".format( full_test_name(test), reason)) self.stream.flush()
def addSkip(self, test: TestCase, reason: str) -> None: TestResult.addSkip(self, test, reason) self.stream.writeln("** Skipping {}: {}".format( full_test_name(test), reason)) self.stream.flush()
def addSkip(self, test: TestCase, reason: str) -> None: TestResult.addSkip(self, test, reason) self.stream.write(f"** Skipping {test.id()}: {reason}\n") self.stream.flush()
def addSkip(self, test: TestCase, reason: Text) -> None: TestResult.addSkip(self, test, reason) self.stream.writeln("** Skipping {}: {}".format(full_test_name(test), reason)) self.stream.flush()