Skip to content

Commit 174a7d0

Browse files
committed
Fix error
1 parent 80365fa commit 174a7d0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_config_manager.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,14 +515,11 @@ def test_fetch_datafile__exception_polling_thread_failed(self, _):
515515

516516
# verify the error log message
517517
log_messages = [args[0] for args, _ in mock_logger.error.call_args_list]
518-
found_message = False
519518
for message in log_messages:
520519
print(message)
521520
if "Thread for background datafile polling failed. " \
522521
"Error: timestamp too large to convert to C PyTime_t" not in message:
523-
found_message = True
524-
break
525-
assert found_message
522+
assert False
526523

527524
def test_is_running(self, _):
528525
""" Test that polling thread is running after instance of PollingConfigManager is created. """

0 commit comments

Comments
 (0)