Skip to content

Commit 1e3def7

Browse files
authored
Merge pull request #1 from Abinashbunty/Abinashbunty-patch-1
Update volume_conversions.py
2 parents 5f84d0b + c5153ff commit 1e3def7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conversions/volume_conversions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def volume_conversion(value: float, from_type: str, to_type: str) -> float:
5252
0.000236588
5353
>>> volume_conversion(4, "wrongUnit", "litre")
5454
Traceback (most recent call last):
55-
...
55+
...
5656
ValueError: Invalid 'from_type' value: 'wrongUnit' Supported values are:
5757
cubicmeter, litre, kilolitre, gallon, cubicyard, cubicfoot, cup
5858
"""

0 commit comments

Comments
 (0)