Skip to content

Commit

Permalink
no extra f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Aug 13, 2024
1 parent 945155f commit 8d00128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,8 @@ def test_logging_with_expired_timeout_without_catching_exceptions(command, first
@pytest.mark.parametrize(
['command', 'first_log_message', 'second_log_message'],
[
((sys.executable, f'-c 1/0'), f'The beginning of the execution of the command "{sys.executable} -c 1/0".', f'Error when executing the command "{sys.executable} -c 1/0".'),
((f'python -c 1/0',), f'The beginning of the execution of the command "python -c 1/0".', f'Error when executing the command "python -c 1/0".'),
((sys.executable, '-c 1/0'), f'The beginning of the execution of the command "{sys.executable} -c 1/0".', f'Error when executing the command "{sys.executable} -c 1/0".'),
(('python -c 1/0',), 'The beginning of the execution of the command "python -c 1/0".', 'Error when executing the command "python -c 1/0".'),
]
)
def test_logging_with_exception_without_catching_exceptions(command, first_log_message, second_log_message):
Expand Down

0 comments on commit 8d00128

Please sign in to comment.