Skip to content

Commit c5c4478

Browse files
committed
TST: windows 32-bit test comparisons fixed
1 parent 6629446 commit c5c4478

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/tools/tests/test_pivot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ def test_pivot_datetime_tz(self):
497497
'2013-02-01 15:00:00', '2013-02-01 15:00:00', '2013-02-01 15:00:00']
498498
df = DataFrame({'label': ['a', 'a', 'a', 'b', 'b', 'b'],
499499
'dt1': dates1, 'dt2': dates2,
500-
'value1': range(6), 'value2': [1, 2] * 3})
500+
'value1': np.arange(6,dtype='int64'), 'value2': [1, 2] * 3})
501501
df['dt1'] = df['dt1'].apply(lambda d: pd.Timestamp(d, tz='US/Pacific'))
502502
df['dt2'] = df['dt2'].apply(lambda d: pd.Timestamp(d, tz='Asia/Tokyo'))
503503

pandas/tseries/tests/test_resample.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def test_resample_consistency(self):
701701

702702
def test_resample_timegrouper(self):
703703
# GH 7227
704-
dates = [datetime(2014, 10, 1), datetime(2014, 9, 3),
704+
dates = [datetime(2014, 10, 1), datetime(2014, 9, 3),
705705
datetime(2014, 11, 5), datetime(2014, 9, 5),
706706
datetime(2014, 10, 8), datetime(2014, 7, 15)]
707707

@@ -871,7 +871,7 @@ def test_monthly_upsample(self):
871871

872872
def test_fill_method_and_how_upsample(self):
873873
# GH2073
874-
s = Series(range(9),
874+
s = Series(np.arange(9,dtype='int64'),
875875
index=date_range('2010-01-01', periods=9, freq='Q'))
876876
last = s.resample('M', fill_method='ffill')
877877
both = s.resample('M', how='last', fill_method='ffill').astype('int64')

0 commit comments

Comments
 (0)