You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
("Child test didn't contain (only) expected errors:\n"+
77
-
linesep.join(["Found 0/1 tracebacks - expecting exactly one with no knock-on exceptions.",
78
-
"Found 0/1 occurrences of the specific exception: NonExistentError",
79
-
"Found 0/1 test failure output messages."])).encode("unicode_escape").decode("utf-8"),
72
+
("Child test didn't contain (only) expected errors:\n"
73
+
f"Found 0/1 tracebacks - expecting exactly one with no knock-on exceptions.{linesep}"
74
+
f"Found 0/1 occurrences of the specific exception: NonExistentError{linesep}"
75
+
"Found 0/1 test failure output messages."),
80
76
self._verify_startup_failure,
81
77
TestSuccess, [],
82
78
"NonExistentError",
@@ -93,7 +89,7 @@ def run_test(self):
93
89
self.log.info("Verifying inability to connect to bitcoind's RPC interface due to wrong port results in one exception containing at least one OSError.")
self._raise_assertion_error(f"Unable to connect to bitcoind after {self.rpc_timeout}s (ignored errors: {str(dict(suppressed_errors))}, latest error: {latest_error})")
348
+
self._raise_assertion_error(f"Unable to connect to bitcoind after {self.rpc_timeout}s (ignored errors: {dict(suppressed_errors)!s}{''iflatest_errorisNoneelsef', latest: {latest_error[0]!r}/{latest_error[1]}'})")
347
349
348
350
defwait_for_cookie_credentials(self):
349
351
"""Ensures auth cookie credentials can be read, e.g. for testing CLI with -rpcwait before RPC connection is up."""
0 commit comments