Skip to content

Commit 7246685

Browse files
committed
further changed the files to pass the travis-ci test
1 parent f6a119c commit 7246685

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

conversions/celsius_to_fahrenheit.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
def celsius_to_fahrenheit(celsius):
55
"""
6-
Convert a given value from Celsius to Fahrenheit
6+
Convert a given value from Celsius to Fahrenheit
77
88
>>> celsius_to_fahrenheit(-40)
99
-40.0
@@ -33,4 +33,4 @@ def celsius_to_fahrenheit(celsius):
3333

3434
if __name__ == "__main__":
3535
import doctest
36-
doctest.testmod()
36+
doctest.testmod()

conversions/fahrenheit_to_celsius.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def fahrenheit_to_celsius(fahrenheit):
2626
"""
2727
Check whether given value is string and raise Type Error
2828
"""
29-
raise TypeError("'str' object cannot be interpreted as integer")
29+
raise TypeError("'str' object cannot be interpreted as integer")
3030

3131
celsius = (fahrenheit - 32) * 5 / 9 # value converted from fahrenheit to celsius
3232
celsius = round(celsius, 2)

0 commit comments

Comments
 (0)