Esempio n. 1
0
 def do(self, input, expected):
     output = partialdate_to_string(input)
     self.assertEqual(output, expected)
Esempio n. 2
0
def index_partialdate_to_string(dates):
    if len(dates):
        d = dates.pop()
        return partialdate_to_string(d)
    return None
Esempio n. 3
0
def index_partialdate_to_string(dates):
    if len(dates):
        d = dates.pop()
        return partialdate_to_string(d)
    return None
Esempio n. 4
0
 def check_partial_dates(self, actual, expected):
     output = partialdate_to_string(actual)
     self.assertEqual(output, expected)
Esempio n. 5
0
 def do(self, input, expected):
     output = partialdate_to_string(input)
     self.assertEqual(output, expected)
Esempio n. 6
0
 def check_partial_dates(self, actual, expected):
     output = partialdate_to_string(actual)
     self.assertEqual(output, expected)