D | test_strptime.py | 31 def compare_against_time(self, testing, directive, tuple_position, argument 37 strftime_output = time.strftime(directive, self.time_tuple).lower() 158 for directive in ('a','A','b','B','c','d','H','I','j','m','M','p','S', 160 compiled = self.time_re.compile("%" + directive) 161 found = compiled.match(time.strftime("%" + directive)) 163 (time.strftime("%" + directive), 228 def helper(self, directive, position): argument 230 strf_output = time.strftime("%" + directive, self.time_tuple) 231 strp_output = _strptime._strptime_time(strf_output, "%" + directive) 234 (directive, strf_output, strp_output[position], [all …]
|