Update Python regression tests to match C# equivalents

This commit is contained in:
Stefano Raggi
2018-07-02 23:48:47 +02:00
parent f024e57ac1
commit 7a9fc44ccd
8 changed files with 58 additions and 46 deletions
@@ -99,11 +99,6 @@ class Bitcoin(PythonData):
try:
data = line.split(',')
# If value is zero, return None
value = decimal.Decimal(data[4])
if value == 0: return None
coin.Time = datetime.strptime(data[0], "%Y-%m-%d")
coin.Value = value
coin["Open"] = float(data[1])