Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f7f915d

Browse files
PostgresNode::cleanup is updated (flake8)
1 parent 84a51c7 commit f7f915d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testgres/node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ def pg_log_name(self):
184184
return self.pg_log_file
185185

186186
def cleanup(self, max_attempts=3, full=False):
187-
assert type(max_attempts) == int
188-
assert type(full) == bool
187+
assert type(max_attempts) == int # noqa: E721
188+
assert type(full) == bool # noqa: E721
189189
assert max_attempts > 0
190190

191191
super().cleanup(max_attempts=max_attempts, full=full)

0 commit comments

Comments
 (0)