-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunner_test.log
More file actions
16 lines (16 loc) · 1.08 KB
/
Copy pathrunner_test.log
File metadata and controls
16 lines (16 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2024-09-10 17:53:10,764 WARNING Неверный тип данных для объекта Runner
Traceback (most recent call last):
File "C:\python\urban\module12\tests12_4.py", line 39, in test_run
runner = Runner(False)
^^^^^^^^^^^^^
File "C:\python\urban\module12\rt_with_exceptions.py", line 6, in __init__
raise TypeError(f'Имя может быть только строкой, передано {type(name).__name__}')
TypeError: Имя может быть только строкой, передано bool
2024-09-10 17:53:10,766 WARNING Неверная скорость для Runner
Traceback (most recent call last):
File "C:\python\urban\module12\tests12_4.py", line 26, in test_walk
walker = Runner('Johnnie Walker', -1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\python\urban\module12\rt_with_exceptions.py", line 11, in __init__
raise ValueError(f'Скорость не может быть отрицательной, сейчас {speed}')
ValueError: Скорость не может быть отрицательной, сейчас -1