Skip to content

Commit 7155d09

Browse files
Fix testmod string
1 parent 22e5e5f commit 7155d09

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

physics/faraday_lenz_law.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def induced_electromotive_force(
7171
>>> induced_electromotive_force(10.0, 2.0, -2.0)
7272
Traceback (most recent call last):
7373
...
74-
Invalid time interval. Should be a positive number.
74+
ValueError: Invalid time interval. Should be a positive number.
7575
>>> induced_electromotive_force(11.0, 'a', 5.0)
7676
Traceback (most recent call last):
7777
...

0 commit comments

Comments
 (0)