We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecd5427 commit afee4a5Copy full SHA for afee4a5
testgres/node.py
@@ -434,7 +434,7 @@ def source_walsender(self):
434
if self.master is None:
435
raise TestgresException("Node doesn't have a master")
436
437
-assert type(self.master) == PostgresNode
+assert type(self.master) == PostgresNode # noqa: E721
438
439
# master should be on the same host
440
assert self.master.host == self.host
tests/test_testgres_common.py
@@ -348,7 +348,7 @@ def LOCAL__check_auxiliary_pids__multiple_attempts(
348
assert (con.pid > 0)
349
350
with master.replicate().start() as replica:
351
-assert type(replica) == PostgresNode
+assert type(replica) == PostgresNode # noqa: E721
352
353
# test __str__ method
354
str(master.child_processes[0])
0 commit comments