Skip to content

Commit f7200cf

Browse files
Fix required because logging are tested elsewhere
1 parent 96211b2 commit f7200cf

File tree

4 files changed

+2
-3
lines changed

4 files changed

+2
-3
lines changed

tests/config/data/logging_format_interpolation_style.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import logging
66

77
logging.error("constant string")
8-
logging.error("{}")
98
logging.error("{}", 1)
109
logging.error("{0}", 1)
1110
logging.error("{named}", {"named": 1})

tests/functional/l/logging/logging_format_interpolation_style.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import logging
44

55
logging.error("constant string")
6-
logging.error("{}")
76
logging.error("{}", 1)
87
logging.error("{0}", 1)
98
logging.error("{named}", {"named": 1})

tests/functional/s/string/string_log_formatting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def pprint():
2222
logging.info(1)
2323
logging.info(True)
2424
logging.info('')
25-
logging.info('%s%')
25+
logging.info('%s%') # [logging-format-truncated]
2626
logging.info('%s', '')
2727
logging.info('%s%%', '')
2828
logging.info('%s%s', '', '')

tests/functional/s/string/string_log_formatting.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ logging-format-truncated:16:4:16:27:pprint:Logging format string ends in middle
44
logging-too-few-args:17:4:17:28:pprint:Not enough arguments for logging format string:UNDEFINED
55
logging-unsupported-format:18:4:18:32:pprint:Unsupported logging format character 'y' (0x79) at index 3:UNDEFINED
66
logging-too-many-args:19:4:19:36:pprint:Too many arguments for logging format string:HIGH
7+
logging-format-truncated:25:4:25:23:pprint:Logging format string ends in middle of conversion specifier:UNDEFINED

0 commit comments

Comments
 (0)