1 parent 2252384 commit fe630c4Copy full SHA for fe630c4
1 file changed
workflows/logging/test_logging.py
@@ -11,7 +11,7 @@ def crashfunction():
11
'''A function that crashes in a predictable manner.'''
12
everything = 42
13
nothing = 0
14
- print everything / nothing
+ print(everything / nothing)
15
16
try:
17
crashfunction()
@@ -23,7 +23,7 @@ def crashfunction():
23
assert os.path.basename(fp) == fn
24
assert name == 'crashfunction'
25
assert line_number == 14 # this will break if line number in this file changes
26
- assert line == "print everything / nothing"
+ assert line == "print(everything / nothing)"
27
28
def test_callback_handler_works_within_logging_framework():
29
'''Check that the callback handler can be used by Python logging
0 commit comments