Spaces:
Runtime error
Runtime error
Removed a debug print line
Browse files- pages/030_Test_Runner.py +0 -1
pages/030_Test_Runner.py
CHANGED
@@ -61,7 +61,6 @@ def display_pricing_fact_test():
|
|
61 |
def get_price_from_response(response: str) -> float:
|
62 |
prices = re.findall('\$[,\d]+\.\d\d', response)
|
63 |
if len(prices) == 0:
|
64 |
-
print(f"Found no price in response '{response}'")
|
65 |
return -0.1
|
66 |
return float(prices[0][1:].replace(',',''))
|
67 |
|
|
|
61 |
def get_price_from_response(response: str) -> float:
|
62 |
prices = re.findall('\$[,\d]+\.\d\d', response)
|
63 |
if len(prices) == 0:
|
|
|
64 |
return -0.1
|
65 |
return float(prices[0][1:].replace(',',''))
|
66 |
|