Module Expr Str Import alias Import alias Import alias ImportFrom alias Import alias Import alias FunctionDef arguments args NameParam defaults body If CompareEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Num Str SubscriptLoad NameLoad Slice Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt SubscriptLoad NameLoad Index Num Num body Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad NameLoad Index Num Num Num Num Num Num Num Num Num TryExcept body If SubscriptLoad NameLoad Index Num body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr Str If CompareGt SubscriptLoad NameLoad Index Num Num body Assign AttributeStore NameLoad attr BinOpSub SubscriptLoad NameLoad Index Num Num orelse If CompareGt SubscriptLoad NameLoad Index Num Num body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Import alias Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr handlers ExceptHandler type NameLoad body Import alias Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num For NameStore Call NameLoad Num Num body For NameStore Call NameLoad Num body Assign NameStore BinOpAdd NameLoad BinOpMult BinOpMult BinOpAdd NameLoad BinOpMult NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Print Str Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Str TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Str TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Str TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str AttributeLoad NameLoad attr Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str AttributeLoad NameLoad attr Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str BinOpFloorDiv BinOpAdd SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Str TupleLoad Str BinOpMod Str BinOpMod BinOpAdd Num SubscriptLoad NameLoad Index Num Num Str TupleLoad Str BinOpMod Str BinOpFloorDiv BinOpAdd SubscriptLoad NameLoad Index Num BinOpMod BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Num Num Num Num Str TupleLoad Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str BinOpMod SubscriptLoad NameLoad Index Num Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str Str Str For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num NameLoad If Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr NameLoad body Continue If BoolOpOr UnaryOpNot NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad Call NameLoad Call NameLoad NameLoad Slice Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad TupleLoad Str Call NameLoad Call AttributeLoad NameLoad attr NameLoad Str TupleLoad Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMod SubscriptLoad NameLoad Index Num Num Str TupleLoad Str BinOpMod Str AttributeLoad NameLoad attr Str TupleLoad Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMod SubscriptLoad NameLoad Index Num Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str SubscriptLoad NameLoad Index Num Str TupleLoad Str Str Str TupleLoad Str BinOpMod Str TupleLoad AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Str TupleLoad Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Str TupleLoad Str NameLoad Str TupleLoad Str Str Str TupleLoad Str BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Str TupleLoad Str BinOpMod Str BinOpMod SubscriptLoad NameLoad Index Num Num Str For NameStore NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Call NameLoad NameLoad If AttributeLoad NameLoad attr body Print NameLoad Continue If Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr NameLoad body If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If BoolOpOr UnaryOpNot NameLoad CompareEq SubscriptLoad NameLoad Index Num Str body If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Print BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Unittest for time.strftime
 N/A calendar N/A sys N/A re test test_support N/A time N/A unittest fixasctime N/A N/A s N/A N/A N/A N/A N/A s N/A 8 N/A N/A s N/A N/A N/A s N/A 8 0 N/A s N/A 9 N/A s N/A escapestr N/A N/A text ampm N/A N/A N/A 
    Escape text to deal with possible locale values that have regex
    syntax while allowing regex syntax used for comparison.
     N/A new_text N/A N/A re escape text N/A new_text N/A N/A new_text replace N/A N/A re escape ampm ampm N/A new_text N/A N/A new_text replace \% % N/A new_text N/A N/A new_text replace \: : N/A new_text N/A N/A new_text replace \? ? N/A new_text N/A StrftimeTest N/A N/A unittest TestCase N/A __init__ N/A N/A self N/A k kw N/A N/A N/A N/A N/A unittest TestCase __init__ self k kw N/A _update_variables N/A N/A self now N/A N/A N/A N/A self gmt N/A N/A time gmtime now N/A now N/A N/A time localtime now N/A N/A N/A now N/A 3 12 N/A N/A N/A self ampm (AM|am) N/A N/A N/A self ampm (PM|pm) N/A N/A self jan1 N/A N/A time localtime N/A N/A time mktime N/A N/A now N/A 0 1 1 0 0 0 0 1 0 N/A N/A N/A N/A now N/A 8 N/A N/A N/A self tz N/A N/A time tzname N/A 1 N/A N/A N/A self tz N/A N/A time tzname N/A 0 N/A N/A N/A AttributeError N/A N/A N/A self tz N/A N/A N/A now N/A 3 12 N/A N/A N/A self clock12 N/A N/A now N/A 3 12 N/A N/A N/A N/A now N/A 3 0 N/A N/A N/A self clock12 N/A now N/A 3 N/A N/A N/A self clock12 12 N/A N/A self now now N/A setUp N/A N/A self N/A N/A N/A N/A N/A java N/A N/A N/A N/A N/A java util Locale setDefault N/A N/A N/A java util Locale US N/A N/A N/A ImportError N/A N/A locale N/A N/A N/A locale setlocale N/A locale LC_TIME C N/A test_strftime N/A N/A self N/A N/A N/A now N/A N/A time time N/A N/A N/A self _update_variables now N/A N/A N/A self strftest1 now N/A N/A N/A self strftest2 now N/A N/A test_support verbose N/A N/A N/A Strftime test, platform: %s, Python version: %s N/A N/A sys platform N/A N/A N/A N/A sys version split N/A 0 N/A j N/A range -5 5 N/A N/A i N/A range 25 N/A N/A arg N/A now N/A N/A N/A i N/A j 100 23 3603 N/A N/A N/A self _update_variables arg N/A N/A N/A self strftest1 arg N/A N/A N/A self strftest2 arg N/A strftest1 N/A N/A self now N/A N/A N/A N/A test_support verbose N/A N/A strftime test for N/A N/A time ctime now N/A now N/A self now N/A expectations N/A N/A %a N/A N/A calendar day_abbr N/A N/A now N/A 6 abbreviated weekday name N/A %A N/A N/A calendar day_name N/A N/A now N/A 6 full weekday name N/A %b N/A N/A calendar month_abbr N/A N/A now N/A 1 abbreviated month name N/A %B N/A N/A calendar month_name N/A N/A now N/A 1 full month name N/A %d N/A %02d N/A now N/A 2 day of month as number (00-31) N/A %H N/A %02d N/A now N/A 3 hour (00-23) N/A %I N/A %02d N/A self clock12 hour (01-12) N/A %j N/A %03d N/A now N/A 7 julian day (001-366) N/A %m N/A %02d N/A now N/A 1 month as number (01-12) N/A %M N/A %02d N/A now N/A 4 minute, (00-59) N/A %p N/A self ampm AM or PM as appropriate N/A %S N/A %02d N/A now N/A 5 seconds of current time (00-60) N/A %U N/A %02d N/A N/A N/A now N/A 7 N/A N/A self jan1 N/A 6 7 week number of the year (Sun 1st) N/A %w N/A 0?%d N/A N/A 1 N/A now N/A 6 7 weekday as a number (Sun 1st) N/A %W N/A %02d N/A N/A N/A now N/A 7 N/A N/A N/A N/A self jan1 N/A 6 1 7 7 week number of the year (Mon 1st) N/A %X N/A %02d:%02d:%02d N/A N/A now N/A 3 N/A now N/A 4 N/A now N/A 5 %H:%M:%S N/A %y N/A %02d N/A N/A now N/A 0 100 year without century N/A %Y N/A %d N/A now N/A 0 year with century N/A %% % single percent sign N/A e expectations N/A N/A N/A N/A result N/A N/A time strftime N/A e N/A 0 now N/A N/A N/A ValueError N/A error N/A N/A N/A N/A self fail N/A strftime '%s' format gave error: %s N/A N/A e N/A 0 error N/A N/A N/A re match N/A escapestr N/A e N/A 1 N/A self ampm result N/A N/A N/A N/A N/A result N/A N/A result N/A 0 % N/A N/A N/A N/A self fail N/A strftime does not support standard '%s' format (%s) N/A N/A e N/A 0 N/A e N/A 2 N/A N/A N/A N/A self fail N/A Conflict for %s (%s): expected %s, but got %s N/A N/A e N/A 0 N/A e N/A 2 N/A e N/A 1 result N/A strftest2 N/A N/A self now N/A N/A N/A nowsecs N/A N/A str N/A long now N/A -1 N/A now N/A self now N/A nonstandard_expectations N/A N/A %c N/A fixasctime N/A N/A time asctime now near-asctime() format N/A %x N/A %02d/%02d/%02d N/A N/A now N/A 1 N/A now N/A 2 N/A N/A now N/A 0 100 %m/%d/%y %H:%M:%S N/A %Z N/A %s N/A self tz time zone name N/A %D N/A %02d/%02d/%02d N/A N/A now N/A 1 N/A now N/A 2 N/A N/A now N/A 0 100 mm/dd/yy N/A %e N/A %2d N/A now N/A 2 day of month as number, blank padded ( 0-31) N/A %h N/A N/A calendar month_abbr N/A N/A now N/A 1 abbreviated month name N/A %k N/A %2d N/A now N/A 3 hour, blank padded ( 0-23) N/A %n newline character N/A %r N/A %02d:%02d:%02d %s N/A N/A self clock12 N/A now N/A 4 N/A now N/A 5 N/A self ampm %I:%M:%S %p N/A %R N/A %02d:%02d N/A N/A now N/A 3 N/A now N/A 4 %H:%M N/A %s nowsecs seconds since the Epoch in UCT N/A %t tab character N/A %T N/A %02d:%02d:%02d N/A N/A now N/A 3 N/A now N/A 4 N/A now N/A 5 %H:%M:%S N/A %3y N/A %03d N/A N/A now N/A 0 100 year without century rendered using fieldwidth N/A e nonstandard_expectations N/A N/A N/A N/A result N/A N/A time strftime N/A e N/A 0 now N/A N/A N/A ValueError N/A result N/A N/A msg N/A Error for nonstandard '%s' format (%s): %s N/A N/A e N/A 0 N/A e N/A 2 N/A str result N/A N/A test_support verbose N/A N/A msg N/A N/A N/A N/A re match N/A escapestr N/A e N/A 1 N/A self ampm result N/A N/A N/A test_support verbose N/A N/A N/A Supports nonstandard '%s' format (%s) N/A N/A e N/A 0 N/A e N/A 2 N/A N/A N/A N/A result N/A N/A result N/A 0 % N/A N/A N/A test_support verbose N/A N/A N/A Does not appear to support '%s' format (%s) N/A N/A e N/A 0 N/A e N/A 2 N/A N/A N/A test_support verbose N/A N/A N/A Conflict for nonstandard '%s' format (%s): N/A N/A e N/A 0 N/A e N/A 2 N/A N/A   Expected %s, but got %s N/A N/A e N/A 1 result N/A N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest StrftimeTest N/A N/A N/A __name__ __main__ N/A N/A N/A test_main