Lines Matching refs:locale_time
115 self.locale_time = _strptime.LocaleTime()
120 self.assertTrue(pattern_string.find(self.locale_time.a_weekday[2]) != -1,
123 self.assertTrue(pattern_string.find(self.locale_time.f_weekday[4]) != -1,
140 found = self.time_re.compile(r"%A").match(self.locale_time.f_weekday[6])
141 self.assertTrue(found and found.group('A') == self.locale_time.f_weekday[6],
144 found = compiled.match("%s %s" % (self.locale_time.a_weekday[4],
145 self.locale_time.a_month[4]))
148 (compiled.pattern, "%s %s" % (self.locale_time.a_weekday[4],
149 self.locale_time.a_month[4])))
150 self.assertTrue(found.group('a') == self.locale_time.a_weekday[4] and
151 found.group('b') == self.locale_time.a_month[4],
182 locale_time = _strptime.LocaleTime()
183 locale_time.timezone = (frozenset(("utc", "gmt",
186 time_re = _strptime.TimeRE(locale_time)
302 locale_time = _strptime.LocaleTime()
527 _strptime._TimeRE_cache.locale_time.lang = "Ni"
549 locale_time_id = _strptime._TimeRE_cache.locale_time
550 _strptime._TimeRE_cache.locale_time.lang = "Ni"
552 self.assertIsNot(locale_time_id, _strptime._TimeRE_cache.locale_time)