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

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Yaroslav Halchenko
  • Date: 2012-07-22 20:13:16 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20120722201316-6v4zbottvreomrz7
Tags: 0.8.1-1
* Primarily a bugfix upstream release.
* up_tag_yahoo_test_requiring_network patch removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
576
576
            for base, expected in cases.iteritems():
577
577
                assertEq(offset, base, expected)
578
578
 
 
579
    # def test_day_of_month(self):
 
580
    #     dt = datetime(2007, 1, 1)
 
581
 
 
582
    #     offset = MonthEnd(day=20)
 
583
 
 
584
    #     result = dt + offset
 
585
    #     self.assertEqual(result, datetime(2007, 1, 20))
 
586
 
 
587
    #     result = result + offset
 
588
    #     self.assertEqual(result, datetime(2007, 2, 20))
 
589
 
579
590
    def test_normalize(self):
580
591
        dt = datetime(2007, 1, 1, 3)
581
592