Skip to content

Commit 6b51182

Browse files
Merge pull request #7 from ViniViniAntunes/feature/ViniAntunes/add_faraday_lenz_law_implementation
Fix testmod string
2 parents 030a7bf + 7155d09 commit 6b51182

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
@@ -68,7 +68,7 @@ def induced_electromotive_force(
6868
>>> induced_electromotive_force(10.0, 2.0, -2.0)
6969
Traceback (most recent call last):
7070
...
71-
Invalid time interval. Should be a positive number.
71+
ValueError: Invalid time interval. Should be a positive number.
7272
>>> induced_electromotive_force(11.0, 'a', 5.0)
7373
Traceback (most recent call last):
7474
...

0 commit comments

Comments
 (0)