diff options
Diffstat (limited to 'tests/functional/l/logging_fstring_interpolation_py36.py')
-rw-r--r-- | tests/functional/l/logging_fstring_interpolation_py36.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/functional/l/logging_fstring_interpolation_py36.py b/tests/functional/l/logging_fstring_interpolation_py36.py index 68eaba22f..5aebb7dd2 100644 --- a/tests/functional/l/logging_fstring_interpolation_py36.py +++ b/tests/functional/l/logging_fstring_interpolation_py36.py @@ -1,4 +1,4 @@ -"""Test logging-format-interpolation for Python 3.6""" +"""Test logging-fstring-interpolation for Python 3.6""" # pylint: disable=invalid-name from datetime import datetime @@ -14,8 +14,8 @@ pi = 3.14159265 may_14 = datetime(year=2018, month=5, day=14) # Statements that should be flagged: -renamed_logging.debug(f'{local_var_1} {local_var_2}') # [logging-format-interpolation] -renamed_logging.log(renamed_logging.DEBUG, f'msg: {local_var_2}') # [logging-format-interpolation] -renamed_logging.log(renamed_logging.DEBUG, f'pi: {pi:.3f}') # [logging-format-interpolation] -renamed_logging.info(f"{local_var_2.upper()}") # [logging-format-interpolation] -renamed_logging.info(f"{may_14:'%b %d: %Y'}") # [logging-format-interpolation] +renamed_logging.debug(f'{local_var_1} {local_var_2}') # [logging-fstring-interpolation] +renamed_logging.log(renamed_logging.DEBUG, f'msg: {local_var_2}') # [logging-fstring-interpolation] +renamed_logging.log(renamed_logging.DEBUG, f'pi: {pi:.3f}') # [logging-fstring-interpolation] +renamed_logging.info(f"{local_var_2.upper()}") # [logging-fstring-interpolation] +renamed_logging.info(f"{may_14:'%b %d: %Y'}") # [logging-fstring-interpolation] |