python (3.11.7)
    e                     t    d Z ddlZddlmZ dddddd	Zd
 Zdedefd
ZdedefdZdedefdZ	dedefdZ
dS )z8Utilities for tests that are in the "burntsushi" format.    N)Anybooldatetimedatetime-local
date-local
time-local)booleanzoffset datetimezlocal datetimez
local datez
local timec                    t          | t                    rd| dS t          | t                    r$dt          |                                           dS t          | t                    rdt          |           dS t          | t
                    rdt
          t          |                     dS t          | t          j                  r2t          | 	                                          }| j
        rd|dS d|dS t          | t          j                  rdt          t          |                     dS t          | t          j
                  rd	t          |           dS t          | t                    rd
 | D             S t          | t                    rd |                                 D             S t#          d          )
Nstringtypevaluer   integerfloatr   r   r   r   c                 ,    g | ]}t          |          S  convert).0is     P/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_tomllib/burntsushi.py
<listcomp>zconvert.<locals>.<listcomp>/   s    (((q
(((    c                 4    i | ]\  }}|t          |          S r   r   r   kvs      r   
<dictcomp>zconvert.<locals>.<dictcomp>1   s$    666$!Q71::666r   zunsupported type)
isinstancestrr   lowerintr   _normalize_float_strr   _normalize_datetime_str	isoformattzinfotime_normalize_localtime_strdatelistdictitems	Exception)objvals     r   r   r      s   #s 7 3///	C		 7S)9)9:::	C		 7!CHH555	C		 7*>s3xx*H*HIII	C*	+	+ 7%cmmoo66: 	6&555(3777	C	'	'