We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c86238c commit 91bf9b2Copy full SHA for 91bf9b2
pandas/tests/plotting/test_converter.py
@@ -236,7 +236,24 @@ def test_conversion_outofbounds_datetime(self):
236
assert rs == xp
237
238
def test_time_formatter(self):
239
- self.tc(90000)
+ # time2num(datetime.time.min)
240
+ rs = self.tc(0)
241
+ xp = '00:00'
242
+ assert rs == xp
243
+ # time2num(datetime.time.max)
244
+ rs = self.tc(86399.999999)
245
+ xp = '23:59:59.999999'
246
247
+ # some other times
248
+ rs = self.tc(90000)
249
+ xp = '01:00'
250
251
+ rs = self.tc(3723)
252
+ xp = '01:02:03'
253
254
+ rs = self.tc(39723.2)
255
+ xp = '11:02:03.200'
256
257
258
def test_dateindex_conversion(self):
259
decimals = 9
0 commit comments