Example #1
0
 def test_intersection_bug(self):
     # GH #771
     a = DateRange('11/30/2011','12/31/2011')
     b = DateRange('12/10/2011','12/20/2011')
     result = a.intersection(b)
     self.assert_(result.equals(b))
Example #2
0
 def test_intersection_bug(self):
     # GH #771
     a = DateRange('11/30/2011', '12/31/2011')
     b = DateRange('12/10/2011', '12/20/2011')
     result = a.intersection(b)
     self.assert_(result.equals(b))