~ubuntu-branches/ubuntu/raring/pandas/raring-proposed

« back to all changes in this revision

Viewing changes to pandas/tseries/tests/test_timeseries.py

  • Committer: Package Import Robot
  • Author(s): Julian Taylor
  • Date: 2012-11-26 20:51:17 UTC
  • Revision ID: package-import@ubuntu.com-20121126205117-s51efwexubcvle25
Tags: 0.9.1-1ubuntu2
* provide python3 package
* fix-endian-tests.patch:
  patch from upstream to fix the test failure on big endian machines

Show diffs side-by-side

added added

removed removed

Lines of Context:
1911
1911
        dates = [ (datetime(2012, 9, 9, 0, 0),
1912
1912
                   datetime(2012, 9, 8, 15, 10))]
1913
1913
        arr = np.array(dates,
1914
 
                       dtype=[('Date', '<M8[us]'), ('Forecasting', '<M8[us]')])
 
1914
                       dtype=[('Date', 'M8[us]'), ('Forecasting', 'M8[us]')])
1915
1915
        df = DataFrame(arr)
1916
1916
 
1917
1917
        self.assertEqual(df['Date'][0], dates[0][0])