@@ -96,7 +96,7 @@ def test_make_histograms_no_time_axis():
9696 assert time_axis == ""
9797 assert "date" in hists
9898 h = hists ["date" ]
99- assert h .binWidth == 751582381944440.9
99+ assert h .binWidth == 751582381944448.0
100100 for cols in features :
101101 cols = cols .split (":" )
102102 assert len (cols ) == 1
@@ -121,23 +121,23 @@ def test_make_histograms_with_time_axis():
121121 assert time_axis == "date"
122122 assert "date:age" in hists
123123 h = hists ["date:age" ]
124- assert h .binWidth == 751582381944440.9
124+ assert h .binWidth == 751582381944448.0
125125 for cols in features :
126126 cols = cols .split (":" )
127127 assert len (cols ) == 2 and cols [0 ] == "date"
128128 for f , bs in bin_specs .items ():
129129 assert len (bs ) == 2
130130 assert "date:age" in bin_specs
131131 dateage = bin_specs ["date:age" ]
132- assert dateage [0 ]["binWidth" ] == 751582381944440.9
132+ assert dateage [0 ]["binWidth" ] == 751582381944448.0
133133 assert dateage [1 ]["binWidth" ] == 2.0
134134 assert dateage [1 ]["origin" ] == 9.5
135135
136136 # test get_bin_specs 1
137137 bin_specs = get_bin_specs (hists )
138138 assert "date:age" in bin_specs
139139 dateage = bin_specs ["date:age" ]
140- assert dateage [0 ]["binWidth" ] == 751582381944440.9
140+ assert dateage [0 ]["binWidth" ] == 751582381944448.0
141141 assert dateage [1 ]["binWidth" ] == 2.0
142142 assert dateage [1 ]["origin" ] == 9.5
143143
@@ -150,7 +150,7 @@ def test_make_histograms_with_time_axis():
150150
151151 # test get_bin_specs 3
152152 bin_specs = get_bin_specs (hists ["date:age" ])
153- assert bin_specs [0 ]["binWidth" ] == 751582381944440.9
153+ assert bin_specs [0 ]["binWidth" ] == 751582381944448.0
154154 assert bin_specs [1 ]["binWidth" ] == 2.0
155155 assert bin_specs [1 ]["origin" ] == 9.5
156156
0 commit comments