Skip to content

Commit 4098f6e

Browse files
committed
move print above the assertion
1 parent 96c7978 commit 4098f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ def cleanup(self, signum=None, frame=None):
6464
self.server = None
6565

6666
def _print_and_assert_msgs(self, message):
67+
print(message)
6768
if (self.log_expected_msgs or self.log_unexpected_msgs) and assert_log(
6869
message, self.log_expected_msgs, self.log_unexpected_msgs
6970
):
7071
self.log_msg_assertions_passed = True
71-
print(message)
7272

7373
def assert_log_msgs(self):
7474
assert (

0 commit comments

Comments
 (0)