File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,7 @@ Other enhancements
156
156
- ``DataFrame.to_excel()`` has a new ``freeze_panes`` parameter to turn on Freeze Panes when exporting to Excel (:issue:`15160`)
157
157
- HTML table output skips ``colspan`` or ``rowspan`` attribute if equal to 1. (:issue:`15403`)
158
158
- ``pd.TimedeltaIndex`` now has a custom datetick formatter specifically designed for nanosecond level precision (:issue:`8711`)
159
+
159
160
.. _ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations
160
161
161
162
.. _whatsnew_0200.api_breaking:
Original file line number Diff line number Diff line change 7
7
8
8
import numpy as np
9
9
from pandas import Index , Series , DataFrame
10
-
10
+ from pandas . compat import is_platform_mac
11
11
from pandas .tseries .index import date_range , bdate_range
12
12
from pandas .tseries .tdi import timedelta_range
13
13
from pandas .tseries .offsets import DateOffset
@@ -1272,6 +1272,8 @@ def test_plot_outofbounds_datetime(self):
1272
1272
self .plt .plot (values )
1273
1273
1274
1274
def test_format_timedelta_ticks_narrow (self ):
1275
+ if is_platform_mac ():
1276
+ pytest .skip ("skip on mac for precision display issue on older mpl" )
1275
1277
1276
1278
expected_labels = [
1277
1279
'00:00:00.00000000{:d}' .format (i )
@@ -1288,6 +1290,8 @@ def test_format_timedelta_ticks_narrow(self):
1288
1290
self .assertEqual (l .get_text (), l_expected )
1289
1291
1290
1292
def test_format_timedelta_ticks_wide (self ):
1293
+ if is_platform_mac ():
1294
+ pytest .skip ("skip on mac for precision display issue on older mpl" )
1291
1295
1292
1296
expected_labels = [
1293
1297
'00:00:00' ,
You can’t perform that action at this time.
0 commit comments