python (3.12.0)

(root)/
lib/
python3.12/
test/
__pycache__/
test_sndhdr.cpython-312.opt-2.pyc

ΑeddlZddlZddlmZddlmZej
dZGddejZe	dk(rejyy)N)findfile)warnings_helpersndhdrceZdZdZdZy)TestFormatscdD]\}}t|d}tj|}|j|d||j	|||j|j|d|j|j|d|j|j|d|j|j|d|j|j|dy)	N))zsndhdr.8svx)8svxrr)sndhdr.aifc)aifcD)zsndhdr.aiff)aiffrrrr)z	sndhdr.au)aurrg@r)zsndhdr.hcom)hcomg@r
r)zsndhdr.sndt)sndtrr
rr)z
sndhdr.voc)vocrr
rr)z
sndhdr.wav)wavrrrr
sndhdrdatasubdirrr
r)rrwhatassertNotEqualassertSequenceEqualassertEqualfiletype	framerate	nchannelsnframes	sampwidth)selffilenameexpectedrs    D/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/test/test_sndhdr.py	test_datazTestFormats.test_data
s	#
	:Hh >H;;x(DdH5$$T84T]]HQK8T^^Xa[9T^^Xa[9T\\8A;7T^^Xa[9%	:ctdd}tj|}ttj
dzD]=}t	j||}|jt	j||?y)Nrrrr
)	rrrrangepickleHIGHEST_PROTOCOLdumpsr!loads)r'r(rprotodumps     r*test_pickleablezTestFormats.test_pickleablesdM,?{{8$622Q67	7E<<e,DV\\$/6	7r,N)__name__
__module____qualname__r+r5r,r*rr	s:*7r,r__main__)r/unittesttest.supportrrimport_deprecatedrTestCaserr6mainr9r,r*<module>r@sO
!(	*	*	*8	47(##7<zHMMOr,