示例#1
0
 def test_month_unpack(self):
     self.assertEquals(Month.unpack("201008"), datetime(2010, 8, 1))
示例#2
0
 def test_month_pack(self):
     self.assertEquals(Month.pack(_test_datetime), "201008")