/opt/alt/python-internal/lib64/python3.11/__pycache__
NameSizeModeActions
abc.cpython-311.opt-1.pyc90600644editdlrm
abc.cpython-311.opt-2.pyc58600644editdlrm
abc.cpython-311.pyc90600644editdlrm
aifc.cpython-311.opt-1.pyc455280644editdlrm
aifc.cpython-311.opt-2.pyc403210644editdlrm
aifc.cpython-311.pyc455280644editdlrm
antigravity.cpython-311.opt-1.pyc12760644editdlrm
antigravity.cpython-311.opt-2.pyc11390644editdlrm
antigravity.cpython-311.pyc12760644editdlrm
argparse.cpython-311.opt-1.pyc1137110644editdlrm
argparse.cpython-311.opt-2.pyc1040080644editdlrm
argparse.cpython-311.pyc1140020644editdlrm
ast.cpython-311.opt-1.pyc1094220644editdlrm
ast.cpython-311.opt-2.pyc1010510644editdlrm
ast.cpython-311.pyc1096830644editdlrm
asynchat.cpython-311.opt-1.pyc119060644editdlrm
asynchat.cpython-311.opt-2.pyc105500644editdlrm
asynchat.cpython-311.pyc119060644editdlrm
asyncore.cpython-311.opt-1.pyc282080644editdlrm
asyncore.cpython-311.opt-2.pyc270030644editdlrm
asyncore.cpython-311.pyc282080644editdlrm
base64.cpython-311.opt-1.pyc280400644editdlrm
base64.cpython-311.opt-2.pyc234400644editdlrm
base64.cpython-311.pyc284660644editdlrm
bdb.cpython-311.opt-1.pyc386930644editdlrm
bdb.cpython-311.opt-2.pyc293480644editdlrm
bdb.cpython-311.pyc386930644editdlrm
bisect.cpython-311.opt-1.pyc37200644editdlrm
bisect.cpython-311.opt-2.pyc24260644editdlrm
bisect.cpython-311.pyc37200644editdlrm
bz2.cpython-311.opt-1.pyc161820644editdlrm
bz2.cpython-311.opt-2.pyc113000644editdlrm
bz2.cpython-311.pyc161820644editdlrm
calendar.cpython-311.opt-1.pyc447600644editdlrm
calendar.cpython-311.opt-2.pyc405290644editdlrm
calendar.cpython-311.pyc447600644editdlrm
cgi.cpython-311.opt-1.pyc438810644editdlrm
cgi.cpython-311.opt-2.pyc353510644editdlrm
cgi.cpython-311.pyc438810644editdlrm
cgitb.cpython-311.opt-1.pyc189010644editdlrm
cgitb.cpython-311.opt-2.pyc173340644editdlrm
cgitb.cpython-311.pyc189010644editdlrm
chunk.cpython-311.opt-1.pyc74460644editdlrm
chunk.cpython-311.opt-2.pyc53420644editdlrm
chunk.cpython-311.pyc74460644editdlrm
cmd.cpython-311.opt-1.pyc206170644editdlrm
cmd.cpython-311.opt-2.pyc152820644editdlrm
cmd.cpython-311.pyc206170644editdlrm
code.cpython-311.opt-1.pyc139210644editdlrm
code.cpython-311.opt-2.pyc87310644editdlrm
code.cpython-311.pyc139210644editdlrm
codecs.cpython-311.opt-1.pyc452640644editdlrm
codecs.cpython-311.opt-2.pyc299050644editdlrm
codecs.cpython-311.pyc452640644editdlrm
codeop.cpython-311.opt-1.pyc77500644editdlrm
codeop.cpython-311.opt-2.pyc47510644editdlrm
codeop.cpython-311.pyc77500644editdlrm
colorsys.cpython-311.opt-1.pyc49710644editdlrm
colorsys.cpython-311.opt-2.pyc43640644editdlrm
colorsys.cpython-311.pyc49710644editdlrm
compileall.cpython-311.opt-1.pyc216050644editdlrm
compileall.cpython-311.opt-2.pyc183710644editdlrm
compileall.cpython-311.pyc216050644editdlrm
configparser.cpython-311.opt-1.pyc718270644editdlrm
configparser.cpython-311.opt-2.pyc568610644editdlrm
configparser.cpython-311.pyc718270644editdlrm
contextlib.cpython-311.opt-1.pyc330720644editdlrm
contextlib.cpython-311.opt-2.pyc269480644editdlrm
contextlib.cpython-311.pyc330890644editdlrm
contextvars.cpython-311.opt-1.pyc3190644editdlrm
contextvars.cpython-311.opt-2.pyc3190644editdlrm
contextvars.cpython-311.pyc3190644editdlrm
copy.cpython-311.opt-1.pyc112070644editdlrm
copy.cpython-311.opt-2.pyc89240644editdlrm
copy.cpython-311.pyc112070644editdlrm
copyreg.cpython-311.opt-1.pyc81660644editdlrm
copyreg.cpython-311.opt-2.pyc73870644editdlrm
copyreg.cpython-311.pyc82000644editdlrm
cProfile.cpython-311.opt-1.pyc90940644editdlrm
cProfile.cpython-311.opt-2.pyc86310644editdlrm
cProfile.cpython-311.pyc90940644editdlrm
crypt.cpython-311.opt-1.pyc58580644editdlrm
crypt.cpython-311.opt-2.pyc52110644editdlrm
crypt.cpython-311.pyc58580644editdlrm
csv.cpython-311.opt-1.pyc200760644editdlrm
csv.cpython-311.opt-2.pyc180580644editdlrm
csv.cpython-311.pyc200760644editdlrm
dataclasses.cpython-311.opt-1.pyc471940644editdlrm
dataclasses.cpython-311.opt-2.pyc435720644editdlrm
dataclasses.cpython-311.pyc472450644editdlrm
datetime.cpython-311.opt-1.pyc981680644editdlrm
datetime.cpython-311.opt-2.pyc903210644editdlrm
datetime.cpython-311.pyc1013560644editdlrm
decimal.cpython-311.opt-1.pyc5630644editdlrm
decimal.cpython-311.opt-2.pyc5630644editdlrm
decimal.cpython-311.pyc5630644editdlrm
difflib.cpython-311.opt-1.pyc816180644editdlrm
difflib.cpython-311.opt-2.pyc483490644editdlrm
difflib.cpython-311.pyc816680644editdlrm
dis.cpython-311.opt-1.pyc366610644editdlrm
dis.cpython-311.opt-2.pyc323040644editdlrm
dis.cpython-311.pyc367010644editdlrm
doctest.cpython-311.opt-1.pyc1126370644editdlrm
doctest.cpython-311.opt-2.pyc775780644editdlrm
doctest.cpython-311.pyc1130260644editdlrm
enum.cpython-311.opt-1.pyc880160644editdlrm
enum.cpython-311.opt-2.pyc785820644editdlrm
enum.cpython-311.pyc880160644editdlrm
filecmp.cpython-311.opt-1.pyc157300644editdlrm
filecmp.cpython-311.opt-2.pyc131120644editdlrm
filecmp.cpython-311.pyc157300644editdlrm
fileinput.cpython-311.opt-1.pyc211880644editdlrm
fileinput.cpython-311.opt-2.pyc157350644editdlrm
fileinput.cpython-311.pyc211880644editdlrm
fnmatch.cpython-311.opt-1.pyc73450644editdlrm
fnmatch.cpython-311.opt-2.pyc61620644editdlrm
fnmatch.cpython-311.pyc74910644editdlrm
fractions.cpython-311.opt-1.pyc292630644editdlrm
fractions.cpython-311.opt-2.pyc222000644editdlrm
fractions.cpython-311.pyc292630644editdlrm
ftplib.cpython-311.opt-1.pyc476670644editdlrm
ftplib.cpython-311.opt-2.pyc375070644editdlrm
ftplib.cpython-311.pyc476670644editdlrm
functools.cpython-311.opt-1.pyc466550644editdlrm
functools.cpython-311.opt-2.pyc400670644editdlrm
functools.cpython-311.pyc466550644editdlrm
genericpath.cpython-311.opt-1.pyc68580644editdlrm
genericpath.cpython-311.opt-2.pyc57810644editdlrm
genericpath.cpython-311.pyc68580644editdlrm
getopt.cpython-311.opt-1.pyc96850644editdlrm
getopt.cpython-311.opt-2.pyc71440644editdlrm
getopt.cpython-311.pyc97520644editdlrm
getpass.cpython-311.opt-1.pyc75330644editdlrm
getpass.cpython-311.opt-2.pyc63650644editdlrm
getpass.cpython-311.pyc75330644editdlrm
gettext.cpython-311.opt-1.pyc242720644editdlrm
gettext.cpython-311.opt-2.pyc235980644editdlrm
gettext.cpython-311.pyc242720644editdlrm
glob.cpython-311.opt-1.pyc111510644editdlrm
glob.cpython-311.opt-2.pyc102100644editdlrm
glob.cpython-311.pyc112290644editdlrm
graphlib.cpython-311.opt-1.pyc110050644editdlrm
graphlib.cpython-311.opt-2.pyc76110644editdlrm
graphlib.cpython-311.pyc110870644editdlrm
gzip.cpython-311.opt-1.pyc337390644editdlrm
gzip.cpython-311.opt-2.pyc294370644editdlrm
gzip.cpython-311.pyc337390644editdlrm
hashlib.cpython-311.opt-1.pyc123580644editdlrm
hashlib.cpython-311.opt-2.pyc113690644editdlrm
hashlib.cpython-311.pyc123580644editdlrm
heapq.cpython-311.opt-1.pyc205960644editdlrm
heapq.cpython-311.opt-2.pyc175050644editdlrm
heapq.cpython-311.pyc205960644editdlrm
hmac.cpython-311.opt-1.pyc114910644editdlrm
hmac.cpython-311.opt-2.pyc90230644editdlrm
hmac.cpython-311.pyc114910644editdlrm
imaplib.cpython-311.opt-1.pyc668510644editdlrm
imaplib.cpython-311.opt-2.pyc545490644editdlrm
imaplib.cpython-311.pyc690700644editdlrm
imghdr.cpython-311.opt-1.pyc78610644editdlrm
imghdr.cpython-311.opt-2.pyc77010644editdlrm
imghdr.cpython-311.pyc78610644editdlrm
imp.cpython-311.opt-1.pyc164800644editdlrm
imp.cpython-311.opt-2.pyc141930644editdlrm
imp.cpython-311.pyc164800644editdlrm
inspect.cpython-311.opt-1.pyc1412980644editdlrm
inspect.cpython-311.opt-2.pyc1159200644editdlrm
inspect.cpython-311.pyc1416680644editdlrm
io.cpython-311.opt-1.pyc50580644editdlrm
io.cpython-311.opt-2.pyc35680644editdlrm
io.cpython-311.pyc50580644editdlrm
ipaddress.cpython-311.opt-1.pyc996910644editdlrm
ipaddress.cpython-311.opt-2.pyc742470644editdlrm
ipaddress.cpython-311.pyc996910644editdlrm
keyword.cpython-311.opt-1.pyc10900644editdlrm
keyword.cpython-311.opt-2.pyc6810644editdlrm
keyword.cpython-311.pyc10900644editdlrm
linecache.cpython-311.opt-1.pyc74660644editdlrm
linecache.cpython-311.opt-2.pyc62770644editdlrm
linecache.cpython-311.pyc74660644editdlrm
locale.cpython-311.opt-1.pyc644210644editdlrm
locale.cpython-311.opt-2.pyc599750644editdlrm
locale.cpython-311.pyc644210644editdlrm
lzma.cpython-311.opt-1.pyc167390644editdlrm
lzma.cpython-311.opt-2.pyc106440644editdlrm
lzma.cpython-311.pyc167390644editdlrm
mailbox.cpython-311.opt-1.pyc1245350644editdlrm
mailbox.cpython-311.opt-2.pyc1190540644editdlrm
mailbox.cpython-311.pyc1246370644editdlrm
mailcap.cpython-311.opt-1.pyc128050644editdlrm
mailcap.cpython-311.opt-2.pyc112710644editdlrm
mailcap.cpython-311.pyc128050644editdlrm
mimetypes.cpython-311.opt-1.pyc261470644editdlrm
mimetypes.cpython-311.opt-2.pyc202110644editdlrm
mimetypes.cpython-311.pyc261470644editdlrm
modulefinder.cpython-311.opt-1.pyc309370644editdlrm
modulefinder.cpython-311.opt-2.pyc300550644editdlrm
modulefinder.cpython-311.pyc310400644editdlrm
netrc.cpython-311.opt-1.pyc99100644editdlrm
netrc.cpython-311.opt-2.pyc96840644editdlrm
netrc.cpython-311.pyc99100644editdlrm
nntplib.cpython-311.opt-1.pyc501820644editdlrm
nntplib.cpython-311.opt-2.pyc388910644editdlrm
nntplib.cpython-311.pyc501820644editdlrm
ntpath.cpython-311.opt-1.pyc309820644editdlrm
ntpath.cpython-311.opt-2.pyc290330644editdlrm
ntpath.cpython-311.pyc309820644editdlrm
nturl2path.cpython-311.opt-1.pyc35100644editdlrm
nturl2path.cpython-311.opt-2.pyc31040644editdlrm
nturl2path.cpython-311.pyc35100644editdlrm
numbers.cpython-311.opt-1.pyc152720644editdlrm
numbers.cpython-311.opt-2.pyc116780644editdlrm
numbers.cpython-311.pyc152720644editdlrm
opcode.cpython-311.opt-1.pyc138740644editdlrm
opcode.cpython-311.opt-2.pyc137330644editdlrm
opcode.cpython-311.pyc138740644editdlrm
operator.cpython-311.opt-1.pyc187810644editdlrm
operator.cpython-311.opt-2.pyc165640644editdlrm
operator.cpython-311.pyc187810644editdlrm
optparse.cpython-311.opt-1.pyc736320644editdlrm
optparse.cpython-311.opt-2.pyc614140644editdlrm
optparse.cpython-311.pyc737380644editdlrm
os.cpython-311.opt-1.pyc490280644editdlrm
os.cpython-311.opt-2.pyc370000644editdlrm
os.cpython-311.pyc490460644editdlrm
pathlib.cpython-311.opt-1.pyc677420644editdlrm
pathlib.cpython-311.opt-2.pyc593090644editdlrm
pathlib.cpython-311.pyc677420644editdlrm
pdb.cpython-311.opt-1.pyc867100644editdlrm
pdb.cpython-311.opt-2.pyc729700644editdlrm
pdb.cpython-311.pyc868300644editdlrm
pickle.cpython-311.opt-1.pyc866570644editdlrm
pickle.cpython-311.opt-2.pyc808420644editdlrm
pickle.cpython-311.pyc869160644editdlrm
pickletools.cpython-311.opt-1.pyc845770644editdlrm
pickletools.cpython-311.opt-2.pyc756630644editdlrm
pickletools.cpython-311.pyc867530644editdlrm
pipes.cpython-311.opt-1.pyc119880644editdlrm
pipes.cpython-311.opt-2.pyc91650644editdlrm
pipes.cpython-311.pyc119880644editdlrm
pkgutil.cpython-311.opt-1.pyc316000644editdlrm
pkgutil.cpython-311.opt-2.pyc249440644editdlrm
pkgutil.cpython-311.pyc316000644editdlrm
platform.cpython-311.opt-1.pyc437430644editdlrm
platform.cpython-311.opt-2.pyc357840644editdlrm
platform.cpython-311.pyc437430644editdlrm
plistlib.cpython-311.opt-1.pyc458110644editdlrm
plistlib.cpython-311.opt-2.pyc433830644editdlrm
plistlib.cpython-311.pyc459610644editdlrm
poplib.cpython-311.opt-1.pyc209900644editdlrm
poplib.cpython-311.opt-2.pyc161740644editdlrm
poplib.cpython-311.pyc209900644editdlrm
posixpath.cpython-311.opt-1.pyc201990644editdlrm
posixpath.cpython-311.opt-2.pyc185700644editdlrm
posixpath.cpython-311.pyc201990644editdlrm
pprint.cpython-311.opt-1.pyc335300644editdlrm
pprint.cpython-311.opt-2.pyc313790644editdlrm
pprint.cpython-311.pyc335850644editdlrm
profile.cpython-311.opt-1.pyc235060644editdlrm
profile.cpython-311.opt-2.pyc205410644editdlrm
profile.cpython-311.pyc239760644editdlrm
pstats.cpython-311.opt-1.pyc418890644editdlrm
pstats.cpython-311.opt-2.pyc390110644editdlrm
pstats.cpython-311.pyc418890644editdlrm
pty.cpython-311.opt-1.pyc84620644editdlrm
pty.cpython-311.opt-2.pyc77060644editdlrm
pty.cpython-311.pyc84620644editdlrm
pyclbr.cpython-311.opt-1.pyc159000644editdlrm
pyclbr.cpython-311.opt-2.pyc128720644editdlrm
pyclbr.cpython-311.pyc159000644editdlrm
pydoc.cpython-311.opt-1.pyc1582670644editdlrm
pydoc.cpython-311.opt-2.pyc1486430644editdlrm
pydoc.cpython-311.pyc1583270644editdlrm
py_compile.cpython-311.opt-1.pyc107960644editdlrm
py_compile.cpython-311.opt-2.pyc74840644editdlrm
py_compile.cpython-311.pyc107960644editdlrm
queue.cpython-311.opt-1.pyc164750644editdlrm
queue.cpython-311.opt-2.pyc122130644editdlrm
queue.cpython-311.pyc164750644editdlrm
quopri.cpython-311.opt-1.pyc104870644editdlrm
quopri.cpython-311.opt-2.pyc94850644editdlrm
quopri.cpython-311.pyc108790644editdlrm
random.cpython-311.opt-1.pyc345460644editdlrm
random.cpython-311.opt-2.pyc274390644editdlrm
random.cpython-311.pyc345460644editdlrm
reprlib.cpython-311.opt-1.pyc97000644editdlrm
reprlib.cpython-311.opt-2.pyc95500644editdlrm
reprlib.cpython-311.pyc97000644editdlrm
rlcompleter.cpython-311.opt-1.pyc90320644editdlrm
rlcompleter.cpython-311.opt-2.pyc63960644editdlrm
rlcompleter.cpython-311.pyc90320644editdlrm
runpy.cpython-311.opt-1.pyc161380644editdlrm
runpy.cpython-311.opt-2.pyc137230644editdlrm
runpy.cpython-311.pyc161380644editdlrm
sched.cpython-311.opt-1.pyc84240644editdlrm
sched.cpython-311.opt-2.pyc54380644editdlrm
sched.cpython-311.pyc84240644editdlrm
secrets.cpython-311.opt-1.pyc28840644editdlrm
secrets.cpython-311.opt-2.pyc18620644editdlrm
secrets.cpython-311.pyc28840644editdlrm
selectors.cpython-311.opt-1.pyc285610644editdlrm
selectors.cpython-311.opt-2.pyc245310644editdlrm
selectors.cpython-311.pyc285610644editdlrm
shelve.cpython-311.opt-1.pyc138950644editdlrm
shelve.cpython-311.opt-2.pyc97480644editdlrm
shelve.cpython-311.pyc138950644editdlrm
shlex.cpython-311.opt-1.pyc147250644editdlrm
shlex.cpython-311.opt-2.pyc142140644editdlrm
shlex.cpython-311.pyc147250644editdlrm
shutil.cpython-311.opt-1.pyc732660644editdlrm
shutil.cpython-311.opt-2.pyc611190644editdlrm
shutil.cpython-311.pyc732660644editdlrm
signal.cpython-311.opt-1.pyc51280644editdlrm
signal.cpython-311.opt-2.pyc49190644editdlrm
signal.cpython-311.pyc51280644editdlrm
site.cpython-311.opt-1.pyc304950644editdlrm
site.cpython-311.opt-2.pyc250540644editdlrm
site.cpython-311.pyc304950644editdlrm
smtpd.cpython-311.opt-1.pyc436870644editdlrm
smtpd.cpython-311.opt-2.pyc410840644editdlrm
smtpd.cpython-311.pyc436870644editdlrm
smtplib.cpython-311.opt-1.pyc539770644editdlrm
smtplib.cpython-311.opt-2.pyc378080644editdlrm
smtplib.cpython-311.pyc541420644editdlrm
sndhdr.cpython-311.opt-1.pyc124480644editdlrm
sndhdr.cpython-311.opt-2.pyc111190644editdlrm
sndhdr.cpython-311.pyc124480644editdlrm
socket.cpython-311.opt-1.pyc456610644editdlrm
socket.cpython-311.opt-2.pyc371280644editdlrm
socket.cpython-311.pyc457050644editdlrm
socketserver.cpython-311.opt-1.pyc370780644editdlrm
socketserver.cpython-311.opt-2.pyc265100644editdlrm
socketserver.cpython-311.pyc370780644editdlrm
sre_compile.cpython-311.opt-1.pyc8350644editdlrm
sre_compile.cpython-311.opt-2.pyc8350644editdlrm
sre_compile.cpython-311.pyc8350644editdlrm
sre_constants.cpython-311.opt-1.pyc8380644editdlrm
sre_constants.cpython-311.opt-2.pyc8380644editdlrm
sre_constants.cpython-311.pyc8380644editdlrm
sre_parse.cpython-311.opt-1.pyc8310644editdlrm
sre_parse.cpython-311.opt-2.pyc8310644editdlrm
sre_parse.cpython-311.pyc8310644editdlrm
ssl.cpython-311.opt-1.pyc736230644editdlrm
ssl.cpython-311.opt-2.pyc627940644editdlrm
ssl.cpython-311.pyc736230644editdlrm
stat.cpython-311.opt-1.pyc55600644editdlrm
stat.cpython-311.opt-2.pyc49540644editdlrm
stat.cpython-311.pyc55600644editdlrm
statistics.cpython-311.opt-1.pyc581650644editdlrm
statistics.cpython-311.opt-2.pyc386320644editdlrm
statistics.cpython-311.pyc584250644editdlrm
string.cpython-311.opt-1.pyc126600644editdlrm
string.cpython-311.opt-2.pyc115610644editdlrm
string.cpython-311.pyc126600644editdlrm
stringprep.cpython-311.opt-1.pyc264770644editdlrm
stringprep.cpython-311.opt-2.pyc262540644editdlrm
stringprep.cpython-311.pyc265490644editdlrm
struct.cpython-311.opt-1.pyc4020644editdlrm
struct.cpython-311.opt-2.pyc4020644editdlrm
struct.cpython-311.pyc4020644editdlrm
subprocess.cpython-311.opt-1.pyc846890644editdlrm
subprocess.cpython-311.opt-2.pyc727040644editdlrm
subprocess.cpython-311.pyc848310644editdlrm
sunau.cpython-311.opt-1.pyc270260644editdlrm
sunau.cpython-311.opt-2.pyc224340644editdlrm
sunau.cpython-311.pyc270260644editdlrm
symtable.cpython-311.opt-1.pyc193290644editdlrm
symtable.cpython-311.opt-2.pyc168480644editdlrm
symtable.cpython-311.pyc195290644editdlrm
sysconfig.cpython-311.opt-1.pyc317060644editdlrm
sysconfig.cpython-311.opt-2.pyc289960644editdlrm
sysconfig.cpython-311.pyc317060644editdlrm
tabnanny.cpython-311.opt-1.pyc129700644editdlrm
tabnanny.cpython-311.opt-2.pyc120420644editdlrm
tabnanny.cpython-311.pyc129700644editdlrm
tarfile.cpython-311.opt-1.pyc1348880644editdlrm
tarfile.cpython-311.opt-2.pyc1202080644editdlrm
tarfile.cpython-311.pyc1349060644editdlrm
telnetlib.cpython-311.opt-1.pyc311010644editdlrm
telnetlib.cpython-311.opt-2.pyc237660644editdlrm
telnetlib.cpython-311.pyc311010644editdlrm
tempfile.cpython-311.opt-1.pyc421800644editdlrm
tempfile.cpython-311.opt-2.pyc355570644editdlrm
tempfile.cpython-311.pyc421800644editdlrm
textwrap.cpython-311.opt-1.pyc195950644editdlrm
textwrap.cpython-311.opt-2.pyc124630644editdlrm
textwrap.cpython-311.pyc196170644editdlrm
this.cpython-311.opt-1.pyc16180644editdlrm
this.cpython-311.opt-2.pyc16180644editdlrm
this.cpython-311.pyc16180644editdlrm
threading.cpython-311.opt-1.pyc692100644editdlrm
threading.cpython-311.opt-2.pyc512470644editdlrm
threading.cpython-311.pyc703330644editdlrm
timeit.cpython-311.opt-1.pyc164740644editdlrm
timeit.cpython-311.opt-2.pyc106560644editdlrm
timeit.cpython-311.pyc164740644editdlrm
token.cpython-311.opt-1.pyc37450644editdlrm
token.cpython-311.opt-2.pyc37130644editdlrm
token.cpython-311.pyc37450644editdlrm
tokenize.cpython-311.opt-1.pyc303100644editdlrm
tokenize.cpython-311.opt-2.pyc265010644editdlrm
tokenize.cpython-311.pyc303800644editdlrm
trace.cpython-311.opt-1.pyc359840644editdlrm
trace.cpython-311.opt-2.pyc330900644editdlrm
trace.cpython-311.pyc359840644editdlrm
traceback.cpython-311.opt-1.pyc486970644editdlrm
traceback.cpython-311.opt-2.pyc387290644editdlrm
traceback.cpython-311.pyc487430644editdlrm
tracemalloc.cpython-311.opt-1.pyc291060644editdlrm
tracemalloc.cpython-311.opt-2.pyc277380644editdlrm
tracemalloc.cpython-311.pyc291060644editdlrm
tty.cpython-311.opt-1.pyc20470644editdlrm
tty.cpython-311.opt-2.pyc19490644editdlrm
tty.cpython-311.pyc20470644editdlrm
types.cpython-311.opt-1.pyc148410644editdlrm
types.cpython-311.opt-2.pyc134300644editdlrm
types.cpython-311.pyc148410644editdlrm
typing.cpython-311.opt-1.pyc1608440644editdlrm
typing.cpython-311.opt-2.pyc1237180644editdlrm
typing.cpython-311.pyc1616770644editdlrm
uu.cpython-311.opt-1.pyc88170644editdlrm
uu.cpython-311.opt-2.pyc85850644editdlrm
uu.cpython-311.pyc88170644editdlrm
uuid.cpython-311.opt-1.pyc328120644editdlrm
uuid.cpython-311.opt-2.pyc251850644editdlrm
uuid.cpython-311.pyc330890644editdlrm
warnings.cpython-311.opt-1.pyc240700644editdlrm
warnings.cpython-311.opt-2.pyc213730644editdlrm
warnings.cpython-311.pyc250830644editdlrm
wave.cpython-311.opt-1.pyc322870644editdlrm
wave.cpython-311.opt-2.pyc257750644editdlrm
wave.cpython-311.pyc323580644editdlrm
weakref.cpython-311.opt-1.pyc349380644editdlrm
weakref.cpython-311.opt-2.pyc316970644editdlrm
weakref.cpython-311.pyc349790644editdlrm
webbrowser.cpython-311.opt-1.pyc328160644editdlrm
webbrowser.cpython-311.opt-2.pyc304660644editdlrm
webbrowser.cpython-311.pyc328420644editdlrm
xdrlib.cpython-311.opt-1.pyc131640644editdlrm
xdrlib.cpython-311.opt-2.pyc126820644editdlrm
xdrlib.cpython-311.pyc131640644editdlrm
zipapp.cpython-311.opt-1.pyc115610644editdlrm
zipapp.cpython-311.opt-2.pyc104090644editdlrm
zipapp.cpython-311.pyc115610644editdlrm
zipfile.cpython-311.opt-1.pyc1190740644editdlrm
zipfile.cpython-311.opt-2.pyc1093050644editdlrm
zipfile.cpython-311.pyc1191250644editdlrm
zipimport.cpython-311.opt-1.pyc296910644editdlrm
zipimport.cpython-311.opt-2.pyc260040644editdlrm
zipimport.cpython-311.pyc298090644editdlrm
_aix_support.cpython-311.opt-1.pyc43860644editdlrm
_aix_support.cpython-311.opt-2.pyc30530644editdlrm
_aix_support.cpython-311.pyc43860644editdlrm
_bootsubprocess.cpython-311.opt-1.pyc44790644editdlrm
_bootsubprocess.cpython-311.opt-2.pyc42490644editdlrm
_bootsubprocess.cpython-311.pyc44790644editdlrm
_collections_abc.cpython-311.opt-1.pyc512350644editdlrm
_collections_abc.cpython-311.opt-2.pyc452150644editdlrm
_collections_abc.cpython-311.pyc512350644editdlrm
_compat_pickle.cpython-311.opt-1.pyc73500644editdlrm
_compat_pickle.cpython-311.opt-2.pyc73500644editdlrm
_compat_pickle.cpython-311.pyc75350644editdlrm
_compression.cpython-311.opt-1.pyc80690644editdlrm
_compression.cpython-311.opt-2.pyc78630644editdlrm
_compression.cpython-311.pyc80690644editdlrm
_markupbase.cpython-311.opt-1.pyc138360644editdlrm
_markupbase.cpython-311.opt-2.pyc134610644editdlrm
_markupbase.cpython-311.pyc141010644editdlrm
_osx_support.cpython-311.opt-1.pyc199450644editdlrm
_osx_support.cpython-311.opt-2.pyc173550644editdlrm
_osx_support.cpython-311.pyc199450644editdlrm
_pydecimal.cpython-311.opt-1.pyc2442800644editdlrm
_pydecimal.cpython-311.opt-2.pyc1641580644editdlrm
_pydecimal.cpython-311.pyc2442800644editdlrm
_pyio.cpython-311.opt-1.pyc1200930644editdlrm
_pyio.cpython-311.opt-2.pyc977180644editdlrm
_pyio.cpython-311.pyc1201580644editdlrm
_py_abc.cpython-311.opt-1.pyc78230644editdlrm
_py_abc.cpython-311.opt-2.pyc66460644editdlrm
_py_abc.cpython-311.pyc78970644editdlrm
_sitebuiltins.cpython-311.opt-1.pyc54430644editdlrm
_sitebuiltins.cpython-311.opt-2.pyc49160644editdlrm
_sitebuiltins.cpython-311.pyc54430644editdlrm
_strptime.cpython-311.opt-1.pyc279270644editdlrm
_strptime.cpython-311.opt-2.pyc242630644editdlrm
_strptime.cpython-311.pyc279270644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.opt-1.pyc631480644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.opt-2.pyc631480644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-311.pyc631480644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.opt-1.pyc636350644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.opt-2.pyc636350644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-311.pyc636350644editdlrm
_threading_local.cpython-311.opt-1.pyc92240644editdlrm
_threading_local.cpython-311.opt-2.pyc59150644editdlrm
_threading_local.cpython-311.pyc92240644editdlrm
_weakrefset.cpython-311.opt-1.pyc131590644editdlrm
_weakrefset.cpython-311.opt-2.pyc131590644editdlrm
_weakrefset.cpython-311.pyc131590644editdlrm
__future__.cpython-311.opt-1.pyc49330644editdlrm
__future__.cpython-311.opt-2.pyc28850644editdlrm
__future__.cpython-311.pyc49330644editdlrm
__hello__.cpython-311.opt-1.pyc10970644editdlrm
__hello__.cpython-311.opt-2.pyc10430644editdlrm
__hello__.cpython-311.pyc10970644editdlrm
Edit: /opt/alt/python-internal/lib64/python3.11/__pycache__/doctest.cpython-311.pyc (113026B)
§ = xèÓ5Öðã óî—dZdZgd¢ZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl mZmZddlmZedd¦«ZiZd „Zed ¦«Zed ¦«Zed ¦«Zed ¦«Zed¦«Zed¦«ZeezezezezezZed¦«Zed¦«Zed¦«Zed¦«Zed¦«Z eezezeze zZ!dZ"dZ#d„Z$dZd„Z%d„Z&d„Z'd[d„Z(d„Z)Gd„d e¦«Z*d!„Z+d"„Z,d#„Z-Gd$„d%ej.¦«Z/d&„Z0Gd'„d(¦«Z1Gd)„d*¦«Z2Gd+„d,¦«Z3Gd-„d.¦«Z4Gd/„d0¦«Z5Gd1„d2¦«Z6Gd3„d4e7¦«Z8Gd5„d6e7¦«Z9Gd7„d8e5¦«Z:da; d\d;„Z„Z>da?d?„Z@Gd@„dAe jA¦«ZBGdB„dCeB¦«ZCGdD„dEe jD¦«ZEd^dF„ZFGdG„dHeB¦«ZGd9dde3¦«dfdI„ZHdJ„ZIdK„ZJdL„ZKd_dM„ZLd_dN„ZMd`dO„ZNGdP„dQ¦«ZOeOdRdSdTdUdVdWœZPdX„ZQeRdYkre jSeQ¦«¦«dSdS)aaÅModule doctest -- a framework for running examples in docstrings. In simplest use, end each module M to be tested with: def _test(): import doctest doctest.testmod() if __name__ == "__main__": _test() Then running the module as a script will cause the examples in the docstrings to get executed and verified: python M.py This won't display anything unless an example fails, in which case the failing example(s) and the cause(s) of the failure(s) are printed to stdout (why not stderr? because stderr is a lame hack <0.2 wink>), and the final line of output is "Test failed.". Run it with the -v switch instead: python M.py -v and a detailed report of all examples tried is printed to stdout, along with assorted summaries at the end. You can force verbose mode by passing "verbose=True" to testmod, or prohibit it by passing "verbose=False". In either of those cases, sys.argv is not examined by testmod. There are a variety of other ways to run doctests, including integration with the unittest framework, and support for running non-Python text files containing doctests. There are also many ways to override parts of doctest's default behaviors. See the Library Reference Manual for details. zreStructuredText en)!Úregister_optionflagÚDONT_ACCEPT_TRUE_FOR_1ÚDONT_ACCEPT_BLANKLINEÚNORMALIZE_WHITESPACEÚELLIPSISÚSKIPÚIGNORE_EXCEPTION_DETAILÚCOMPARISON_FLAGSÚ REPORT_UDIFFÚ REPORT_CDIFFÚ REPORT_NDIFFÚREPORT_ONLY_FIRST_FAILUREÚREPORTING_FLAGSÚ FAIL_FASTÚExampleÚDocTestÚ DocTestParserÚ DocTestFinderÚ DocTestRunnerÚ OutputCheckerÚDocTestFailureÚUnexpectedExceptionÚ DebugRunnerÚtestmodÚtestfileÚrun_docstring_examplesÚ DocTestSuiteÚ DocFileSuiteÚset_unittest_reportflagsÚscript_from_examplesÚ testsourceÚ debug_srcÚdebugéN)ÚStringIOÚIncrementalNewlineDecoder)Ú namedtupleÚ TestResultszfailed attemptedcób—t |dtt¦«z¦«S)Né)ÚOPTIONFLAGS_BY_NAMEÚ setdefaultÚlen©Únames ú4/opt/alt/python-internal/lib64/python3.11/doctest.pyrr„s&€å × )Ò )¨$°µSÕ9LÑ5MÔ5MÑ0MÑ NÔ NÐNórrrrrrr r r r rz z...có–—d}tjD]9}| |d¦«}|tt|¦«ur ||jz}Œ:|S)z… Return the compiler-flags associated with the future features that have been imported into the given namespace (globs). r#N)Ú __future__Úall_feature_namesÚgetÚgetattrÚ compiler_flag)ÚglobsÚflagsÚfnameÚfeatures r/Ú_extract_future_flagsr;·sV€ð €EÝÔ-ð+ð+ˆØ—)’)˜E 4Ñ(Ô(ˆØ •g�j¨%Ñ0Ô0Ð 0Ð 0Ø �WÔ*Ñ *ˆEøØ €Lr0écó.—tj|¦«r|St|t¦«r+t |t ¦«t ¦«dg¦«S|€/tjtj |¦«j dStd¦«‚)a‡ Return the module specified by `module`. In particular: - If `module` is a module, then return module. - If `module` is a string, then import and return the module with that name. - If `module` is None, then return the calling module. The calling module is assumed to be the module of the stack frame at the given depth in the call stack. Ú*NÚ__name__z"Expected a module, string, or None) ÚinspectÚismoduleÚ isinstanceÚstrÚ __import__ÚglobalsÚlocalsÚsysÚmodulesÚ _getframeÚ f_globalsÚ TypeError)ÚmoduleÚdepths r/Ú_normalize_modulerNÃs€õÔ˜ÑÔð>؈ Ý �F�CÑ Ô ð>ݘ&¥'¡)¤)­V©X¬X¸°uÑ=Ô=Ð=Ø ˆÝŒ{�3œ=¨Ñ/Ô/Ô9¸*ÔEÔFÐFåÐ<Ñ=Ô=Ð=r0cóJ—tdd¦« |d¦«S©NT)r%Údecode)Údatas r/Ú_newline_convertrSÖs"€å $ T¨4Ñ 0Ô 0× 7Ò 7¸¸dÑ CÔ CÐCr0cóÀ—|rœt|d¦«}t||¦«}t|dd¦«x}€ |jj}n#t $rYnwxYwt |d¦«r;| |¦«}| |¦«}t|¦«|fSt||¬¦«5}|  ¦«|fcddd¦«S#1swxYwYdS)NéÚ __loader__Úget_data)Úencoding) rNÚ_module_relative_pathr5Ú__spec__ÚloaderÚAttributeErrorÚhasattrrWrQrSÚopenÚread)ÚfilenameÚpackageÚmodule_relativerXr[Ú file_contentsÚfs r/Ú_load_testfilereÚs@€Øð =Ý# G¨QÑ/Ô/ˆÝ(¨°(Ñ;Ô;ˆÝ˜g |°TÑ:Ô:Ð :ˆFÐ Cð Ø Ô)Ô0��øÝ!ð ð ð Ø�ð øøøå �6˜:Ñ &Ô &ð =Ø"ŸOšO¨HÑ5Ô5ˆMØ)×0Ò0°Ñ:Ô:ˆMõ$ MÑ2Ô2°HÐ<Ð <Ý ˆh Ð *Ñ *Ô *ð"¨aØ�vŠv‰xŒx˜Ð!ð"ð"ð"ð"ñ"ô"ð"ð"ð"ð"ð"ð"øøøð"ð"ð"ð"ð"ð"s#· AÁ AÁAÂ0CÃCÃCécó4—tjd|dz|¦«S)z~ Add the given number of space characters to the beginning of every non-blank line in `s`, and return the result. z (?m)^(?!$)ú )ÚreÚsub)ÚsÚindents r/Ú_indentrmìs€õ Œ6�,  s¡ ¨AÑ .Ô .Ð.r0có‚—t¦«}|\}}}tj||||¬¦«| ¦«S)zz Return a string containing a traceback message for the given exc_info tuple (as returned by sys.exc_info()). )Úfile)r$Ú tracebackÚprint_exceptionÚgetvalue)Úexc_infoÚexcoutÚexc_typeÚexc_valÚexc_tbs r/Ú_exception_tracebackrxôsC€õ ‰ZŒZ€FØ (Ñ€Hˆg�vÝ Ô˜h¨°¸fÐEÑEÔEÐEØ �?Š?Ñ Ô Ðr0có—eZdZd„Zdd„ZdS)Ú _SpoofOutcóf—tj|¦«}|r| d¦«s|dz }|S©Nú )r$rrÚendswith)ÚselfÚresults r/rrz_SpoofOut.getvalues=€ÝÔ" 4Ñ(Ô(ˆð ð ˜&Ÿ/š/¨$Ñ/Ô/ð Ø �d‰NˆF؈ r0NcóX—| |¦«tj|¦«dS©N)Úseekr$Útruncate)rÚsizes r/r„z_SpoofOut.truncate s(€Ø � Š �$‰ŒˆÝÔ˜$ÑÔÐÐÐr0r‚)r?Ú __module__Ú __qualname__rrr„©r0r/rzrzs7€€€€€ðððð ð ð ð ð ð r0rzcóø—t|vr||kS| t¦«}t|¦«dksJ‚dt|¦«}}|d}|r*| |¦«rt|¦«}|d=ndS|d}|r-| |¦«r|t|¦«z}|d=ndS||krdS|D]4}| |||¦«}|dkrdS|t|¦«z }Œ5dS)z_ Essentially the only subtle case: >>> _ellipsis_match('aa...aa', 'aaa') False r<r#FéÿÿÿÿT)ÚELLIPSIS_MARKERÚsplitr,Ú startswithr~Úfind)ÚwantÚgotÚwsÚstartposÚendposÚws r/Ú_ellipsis_matchr•s0€õ ˜dÐ"Ð"Ø�sŠ{Ðð �Š•OÑ $Ô $€BÝ ˆr‰7Œ7�aŠ<ˆ<ˆ<ˆ<ð�#˜c™(œ(ˆf€HØ ˆ1Œ€AØðØ �>Š>˜!Ñ Ô ð ݘ1‘v”vˆHØ�1��à�5Ø ˆ2Œ€AØðØ �<Š<˜‰?Œ?ð Ø •c˜!‘f”fÑ ˆFØ�2��à�5à�&ÒÐðˆuð ððˆð—8’8˜A˜x¨Ñ0Ô0ˆØ �aŠ<ˆ<Ø�5�5Ø•C˜‘F”Fшˆà ˆ4r0có<—| ¦«}|rd|zSdS)z)Return a commented form of the given linez# ú#)Úrstrip)Úlines r/Ú _comment_linerš@s&€à �;Š;‰=Œ=€DØ ðØ�D‰yÐàˆsr0cóô—dt|¦«}}| d¦«}|dkr|}| dd|¦«}|dkr|}| dd|¦«}|dkr|dz}|||…S)Nr#r}ú:ú.r))r,rŽÚrfind)ÚmsgÚstartÚendÚis r/Ú_strip_exception_detailsr£Hsˆ€ð•C˜‘H”Hˆ3€Eà �Š�‰Œ€A؈A‚v€v؈à �Š��a˜ÑÔ€A؈A‚v€v؈à � Š �#�q˜#ÑÔ€A؈A‚v€vØ�!‘ˆØ ˆu�cˆzŒ?Ðr0có,—eZdZdZd„Zdd„Zd„Zd„ZdS)Ú_OutputRedirectingPdbzÀ A specialized version of the python debugger that redirects stdout to a given stream when interacting with the user. Stdout is *not* redirected when traced code is executed. cót—||_d|_tj ||d¬¦«d|_dS)NFT)ÚstdoutÚnosigintr))Ú_OutputRedirectingPdb__outÚ$_OutputRedirectingPdb__debugger_usedÚpdbÚPdbÚ__init__Ú use_rawinput)rÚouts r/r­z_OutputRedirectingPdb.__init__hs<€ØˆŒ Ø$ˆÔå Œ×Ò˜ c°DÐÑ9Ô9Ð9àˆÔÐÐr0Ncóˆ—d|_|€tj¦«j}tj ||¦«dSrP)rªrGrIÚf_backr«r¬Ú set_trace)rÚframes r/r²z_OutputRedirectingPdb.set_traceps;€Ø#ˆÔØ ˆ=Ý”M‘O”OÔ*ˆEÝ Œ×Ò˜$ Ñ&Ô&Ð&Ð&Ð&r0cóV—|jr!tj |¦«dSdSr‚)rªr«r¬Ú set_continue©rs r/rµz"_OutputRedirectingPdb.set_continuevs5€ð Ô ð 'Ý ŒG× Ò  Ñ &Ô &Ð &Ð &Ð &ð 'ð 'r0có¦—tj}|jt_ tjj|g|¢RŽ|t_S#|t_wxYwr‚)rGr§r©r«r¬Útrace_dispatch)rÚargsÚ save_stdouts r/r¸z$_OutputRedirectingPdb.trace_dispatch|sK€å”jˆ Ø”Z�Œ ð %Ý”7Ô)¨$Ð6°Ð6Ð6Ð6à$�CŒJˆJø˜�CŒJÐ $Ð $Ð $Ð $s ŸAÁAr‚)r?r†r‡Ú__doc__r­r²rµr¸rˆr0r/r¥r¥bs_€€€€€ððð ððð'ð'ð'ð'ð 'ð'ð'ð %ð%ð%ð%ð%r0r¥có‚—tj|¦«std|z¦«‚| d¦«rt d¦«‚t jj| d¦«Ž}t|d¦«r+t j |j ¦«d}nõ|j dkrvttj¦«dkrLtjddkr6t j tjd¦«d}n�t j}ntt|d¦«rM|jD]E}t j ||¦«}t j |¦«r|cSŒFt d |j z¦«‚t j ||¦«S) NzExpected a module: %rú/z1Module-relative files may not have absolute pathsÚ__file__r#Ú__main__ÚÚ__path__zBCan't resolve paths relative to the module %r (it has no __file__))r@rArKr�Ú ValueErrorÚosÚpathÚjoinrŒr]r¾r?r,rGÚargvÚcurdirrÁÚexists)rLÚ test_pathÚbasedirÚ directoryÚfullpaths r/rYrY‡s‰€Ý Ô ˜FÑ #Ô #ð:ÝÐ/°&Ñ8Ñ9Ô9Ð9Ø×Ò˜CÑ Ô ðNÝÐLÑMÔMÐMõ”” ˜yŸš¨sÑ3Ô3Ð5€Iõˆv�zÑ"Ô"ð,å”'—-’- ¤Ñ0Ô0°Ô3ˆˆØ Œ˜JÒ &Ð &å �sŒx‰=Œ=˜Š?ˆ?�sœx¨œ{¨bÒ0Ð0Ý”g—m’m¥C¤H¨Q¤KÑ0Ô0°Ô3ˆGˆGå”iˆGˆGå �6˜:Ñ &Ô &ð $Ø#œ_ð $ð $� Ýœ7Ÿ<š<¨ °9Ñ=Ô=�Ý”7—>’> (Ñ+Ô+ð$Ø#�O�O�Oð$õð3à!œ?ñ+ñ,ô,ð ,õ Œ7�<Š<˜ Ñ +Ô +Ð+r0có*—eZdZdZ dd„Zd„Zd„ZdS)ran A single doctest example, consisting of source code and expected output. `Example` defines the following attributes: - source: A single Python statement, always ending with a newline. The constructor adds a newline if needed. - want: The expected output from running the source code (either from stdout, or a traceback in case of exception). `want` ends with a newline unless it's empty, in which case it's an empty string. The constructor adds a newline if needed. - exc_msg: The exception message generated by the example, if the example is expected to generate an exception; or `None` if it is not expected to generate an exception. This exception message is compared against the return value of `traceback.format_exception_only()`. `exc_msg` ends with a newline unless it's `None`. The constructor adds a newline if needed. - lineno: The line number within the DocTest string containing this Example where the Example begins. This line number is zero-based, with respect to the beginning of the DocTest. - indent: The example's indentation in the DocTest string. I.e., the number of space characters that precede the example's first prompt. - options: A dictionary mapping from option flags to True or False, which is used to override default options for this example. Any option flags not contained in this dictionary are left at their default value (as specified by the DocTestRunner's optionflags). By default, no options are set. Nr#có—| d¦«s|dz }|r| d¦«s|dz }|�| d¦«s|dz }||_||_||_||_|€i}||_||_dSr|)r~Úsourcer�ÚlinenorlÚoptionsÚexc_msg)rrÏr�rÒrÐrlrÑs r/r­zExample.__init__Øsž€ð�Š˜tÑ$Ô$ð Ø �d‰NˆFØ ð ˜Ÿ š  dÑ+Ô+ð Ø �D‰LˆDØ Ð  w×'7Ò'7¸Ñ'=Ô'=Ð Ø �t‰OˆGàˆŒ ؈Œ ؈Œ ؈Œ Ø ˆ? b˜G؈Œ ؈Œ ˆ ˆ r0có —t|¦«t|¦«urtS|j|jkoO|j|jko?|j|jko/|j|jko|j|jko|j|jkSr‚)ÚtypeÚNotImplementedrÏr�rÐrlrÑrÒ©rÚothers r/Ú__eq__zExample.__eq__ês‹€Ý �‰:Œ:�T %™[œ[Ð (Ð (Ý!Ð !àŒ{˜eœlÒ*ð-ØŒy˜EœJÒ&ð-àŒ{˜eœlÒ*ð-ðŒ{˜eœlÒ*ð-ðŒ|˜uœ}Ò,ð -ð Œ|˜uœ}Ò,ð  -r0có\—t|j|j|j|j|jf¦«Sr‚)ÚhashrÏr�rÐrlrÒr¶s r/Ú__hash__zExample.__hash__õs.€Ý�T”[ $¤)¨T¬[¸$¼+Ø”\ð#ñ$ô$ð $r0)Nr#r#N)r?r†r‡r»r­rØrÛrˆr0r/rrµs[€€€€€ð!ð!ðDEFØððððð$ -ð -ð -ð$ð$ð$ð$ð$r0rcó0—eZdZdZd„Zd„Zd„Zd„Zd„ZdS)rae A collection of doctest examples that should be run in a single namespace. Each `DocTest` defines the following attributes: - examples: the list of examples. - globs: The namespace (aka globals) that the examples should be run in. - name: A name identifying the DocTest (typically, the name of the object whose docstring this DocTest was extracted from). - filename: The name of the file that this DocTest was extracted from, or `None` if the filename is unknown. - lineno: The line number within filename where this DocTest begins, or `None` if the line number is unavailable. This line number is zero-based, with respect to the beginning of the file. - docstring: The string that the examples were extracted from, or `None` if the string is unavailable. có¼—t|t¦«r Jd¦«‚||_||_| ¦«|_||_||_||_dS)zŒ Create a new DocTest containing the given examples. The DocTest's globals are initialized with a copy of `globs`. z8DocTest no longer accepts str; use DocTestParser insteadN) rBrCÚexamplesÚ docstringÚcopyr7r.r`rÐ)rrÞr7r.r`rÐrßs r/r­zDocTest.__init__se€õ ˜h­Ñ,Ô,ð Jð JØIñ Jô JÐ,à ˆŒ Ø"ˆŒØ—Z’Z‘\”\ˆŒ ؈Œ Ø ˆŒ ؈Œ ˆ ˆ r0c óò—t|j¦«dkrd}n2t|j¦«dkrd}ndt|j¦«z}d|jj›d|j›d|j›d |j›d |›d � S) Nr#z no examplesr)z 1 examplez %d examplesú)r,rÞÚ __class__r?r.r`rÐ)rrÞs r/Ú__repr__zDocTest.__repr__sˆ€Ý ˆtŒ}Ñ Ô  Ò "Ð "Ø$ˆHˆHÝ �”Ñ Ô  1Ò $Ð $Ø"ˆHˆHà$¥s¨4¬=Ñ'9Ô'9Ñ9ˆHøà”Ô(Ð(Ð(Ø”��˜DœM˜M˜M¨4¬;¨;¨;¸¸¸ðBð Cr0có —t|¦«t|¦«urtS|j|jkoO|j|jko?|j|jko/|j|jko|j|jko|j|jkSr‚)rÔrÕrÞrßr7r.r`rÐrÖs r/rØzDocTest.__eq__*s‹€Ý �‰:Œ:�T %™[œ[Ð (Ð (Ý!Ð !àŒ} ¤Ò.ð+ØŒ~ ¤Ò0ð+àŒz˜Uœ[Ò(ð+ðŒy˜EœJÒ&ð+ðŒ} ¤Ò.ð +ð Œ{˜eœlÒ*ð  +r0cóP—t|j|j|j|jf¦«Sr‚)rÚrßr.r`rÐr¶s r/rÛzDocTest.__hash__5s!€Ý�T”^ T¤Y°´ ¸t¼{ÐKÑLÔLÐLr0cóò—t|t¦«stS|j�|jnd}|j�|jnd}|j|j|t |¦«f|j|j|t |¦«fkS)NrŠ)rBrrÕrÐr.r`Úid)rr×Úself_lnoÚ other_lnos r/Ú__lt__zDocTest.__lt__9sv€Ý˜%¥Ñ)Ô)ð "Ý!Ð !Ø"&¤+Ð"9�4”;�;¸rˆØ$)¤LÐ$<�E”L�LÀ"ˆ Ø”˜DœM¨8µR¸±X´XÐ>à”˜Uœ^¨Y½¸5¹ ¼ ÐBòCð Dr0N) r?r†r‡r»r­rårØrÛrìrˆr0r/rrùst€€€€€ððð. ð ð ð Cð Cð Cð +ð +ð +ðMðMðMðDðDðDðDðDr0rcóP—eZdZdZejdejejz¦«Zejdejejzej z¦«Z ejd¦«j Z dd„Z d„Zdd„Zd „Zejd ej¦«Zd „Zejd ej¦«Zd „Zd„Zd„ZdS)rzD A class used to parse strings containing doctest examples. aú # Source consists of a PS1 line followed by zero or more PS2 lines. (?P (?:^(?P [ ]*) >>> .*) # PS1 line (?:\n [ ]* \.\.\. .*)*) # PS2 lines \n? # Want consists of any non-blank lines that do not start with PS1. (?P (?:(?![ ]*$) # Not a blank line (?![ ]*>>>) # Not a line starting with PS1 .+$\n? # But any other line )*) aß # Grab the traceback header. Different versions of Python have # said different things on the first traceback line. ^(?P Traceback\ \( (?: most\ recent\ call\ last | innermost\ last ) \) : ) \s* $ # toss trailing whitespace on the header. (?P .*?) # don't blink: absorb stuff until... ^ (?P \w+ .*) # a line *starts* with alphanum. z ^[ ]*(#.*)?$úcó¦‡ —| ¦«}| |¦«Š ‰ dkr4d ˆ fd„| d¦«D¦«¦«}g}d\}}|j |¦«D�],}| ||| ¦«…¦«|| d|| ¦«¦«z }|  |||¦«\}}} } |  |¦«sK| t|| | |‰ t|  d¦«¦«z|¬¦«¦«|| d| ¦«| ¦«¦«z }| ¦«}�Œ.| ||d…¦«|S)a= Divide the given string into examples and intervening text, and return them as a list of alternating Examples and strings. Line numbers for the Examples are 0-based. The optional argument `name` is a name identifying this string, and is only used for error messages. r#r}có$•—g|] }|‰d…‘Œ Sr‚rˆ)Ú.0ÚlÚ min_indents €r/ú z'DocTestParser.parse..‚s!ø€ÐKÐKÐK°1  * + +¤ÐKÐKÐKr0©r#r#rl)rÐrlrÑN)Ú expandtabsÚ _min_indentrÅrŒÚ _EXAMPLE_REÚfinditerÚappendr ÚcountÚ_parse_exampleÚ_IS_BLANK_OR_COMMENTrr,Úgroupr¡) rÚstringr.ÚoutputÚcharnorÐÚmrÏrÑr�rÒrós @r/ÚparsezDocTestParser.parsevs½ø€ð×"Ò"Ñ$Ô$ˆà×%Ò% fÑ-Ô-ˆ Ø ˜Š>ˆ>Ø—Y’YÐKÐKÐKÐK¸¿ º ÀTÑ8JÔ8JÐKÑKÔKÑLÔLˆFàˆØ‰ˆ�àÔ!×*Ò*¨6Ñ2Ô2ð ñ ˆAà �MŠM˜& ¨¯ª© ¬ Ð!1Ô2Ñ 3Ô 3Ð 3à �f—l’l 4¨°·²±´Ñ;Ô;Ñ ;ˆFð×(Ò(¨¨D°&Ñ9Ô9ñ -ˆV�W˜d Gð×,Ò,¨VÑ4Ô4ð 7Ø— ’ �w v¨t°WØ+1Ø+5µc¸!¿'º'À(Ñ:KÔ:KÑ6LÔ6LÑ+LØ,3ð 5ñ 5ô 5ñ7ô7ð7ð �f—l’l 4¨¯ª©¬°A·E²E±G´GÑ<Ô<Ñ <ˆFà—U’U‘W”WˆF‰Fà� Š �f˜V˜W˜W”oÑ&Ô&Ð&؈ r0cóR—t| ||¦«|||||¦«S)a" Extract all doctest examples from the given string, and collect them into a `DocTest` object. `globs`, `name`, `filename`, and `lineno` are attributes for the new `DocTest` object. See the documentation for `DocTest` for more information. )rÚ get_examples)rrÿr7r.r`rÐs r/Ú get_doctestzDocTestParser.get_doctest�s3€õ�t×(Ò(¨°Ñ6Ô6¸Ø˜X v¨vñ7ô7ð 7r0cóB—d„| ||¦«D¦«S)aÑ Extract all doctest examples from the given string, and return them as a list of `Example` objects. Line numbers are 0-based, because it's most common in doctests that nothing interesting appears on the same line as opening triple-quote, and so the first interesting line is called "line 1" then. The optional argument `name` is a name identifying this string, and is only used for error messages. có<—g|]}t|t¦«¯|‘ŒSrˆ)rBr)rñÚxs r/rôz.DocTestParser.get_examples..´s6€ð+ð+ð+�aݘa¥Ñ)Ô)ð+�ð+ð+ð+r0)r)rrÿr.s r/rzDocTestParser.get_examples©s0€ð+ð+˜4Ÿ:š: f¨dÑ3Ô3ð+ñ+ô+ð +r0c óF‡ —t| d¦«¦«Š | d¦« d¦«}| |‰ ||¦«| |dd…d‰ zdz||¦«d ˆ fd„|D¦«¦«}| d ¦«}| d¦«}t|¦«dkrt jd |d ¦«r|d =| |d‰ z||t|¦«z¦«d ˆ fd „|D¦«¦«}|j |¦«}|r| d ¦«}nd}|  |||¦«} || ||fS)a¼ Given a regular expression match from `_EXAMPLE_RE` (`m`), return a pair `(source, want)`, where `source` is the matched example's source code (with prompts and indentation stripped); and `want` is the example's expected output (with indentation stripped). `name` is the string's name, and `lineno` is the line number where the example starts; both are used for error messages. rlrÏr}r)Nrhr�có*•—g|]}|‰dzd…‘ŒS)rfNrˆ)rñÚslrls €r/rôz0DocTestParser._parse_example..Ês%ø€ÐAÐAÐA¨b˜B˜v a™x˜y˜yœMÐAÐAÐAr0r�z *$rŠcó$•—g|] }|‰d…‘Œ Sr‚rˆ)rñÚwlrls €r/rôz0DocTestParser._parse_example..Õs!ø€Ð;Ð;Ð;¨"˜"˜V˜W˜Wœ+Ð;Ð;Ð;r0rŸ) r,rþrŒÚ_check_prompt_blankÚ _check_prefixrÅriÚmatchÚ _EXCEPTION_REÚ _find_options) rrr.rÐÚ source_linesrÏr�Ú want_linesrÒrÑrls @r/rüzDocTestParser._parse_example·s°ø€õ�Q—W’W˜XÑ&Ô&Ñ'Ô'ˆð—w’w˜xÑ(Ô(×.Ò.¨tÑ4Ô4ˆ Ø × Ò  ¨v°t¸VÑDÔDÐDØ ×Ò˜<¨¨¨Ô+¨S°©Z¸#Ñ-=¸tÀVÑLÔLÐLØ—’ÐAÐAÐAÐA°LÐAÑAÔAÑBÔBˆð �wŠw�v‰ŒˆØ—Z’Z Ñ%Ô%ˆ Ý ˆz‰?Œ?˜QÒ Ð ¥2¤8¨F°J¸r´NÑ#CÔ#CРؘ2�Ø ×Ò˜: s¨6¡z°4Ø!¥C¨ Ñ$5Ô$5Ñ5ñ 7ô 7ð 7à�yŠyÐ;Ð;Ð;Ð;° Ð;Ñ;Ô;Ñ<Ô<ˆð Ô × $Ò $ TÑ *Ô *ˆØ ð Ø—g’g˜e‘n”nˆGˆGàˆGð×$Ò$ V¨T°6Ñ:Ô:ˆà�w  gÐ-Ð-r0z#\s*doctest:\s*([^\n\'"]*)$c óÖ—i}|j |¦«D]œ}| d¦« dd¦« ¦«}|D]\}|ddvs|dd…t vrt d|dz›d|›d |›�¦«‚t |dd…}|dd k||<Œ]Œ�|r-| |¦«rt d|›d|›d |›�¦«‚|S) a Return a dictionary containing option overrides extracted from option directives in the given source string. `name` is the string's name, and `lineno` is the line number where the example starts; both are used for error messages. r)ú,rhr#z+-Núline z of the doctest for z has an invalid option: ú+z4 has an option directive on a line with no example: )Ú_OPTION_DIRECTIVE_RErùrþÚreplacerŒr*rÂrý) rrÏr.rÐrÑrÚoption_stringsÚoptionÚflags r/rzDocTestParser._find_optionsís1€ðˆàÔ*×3Ò3°FÑ;Ô;ð 3ð 3ˆAØŸWšW Q™ZœZ×/Ò/°°SÑ9Ô9×?Ò?ÑAÔAˆNØ(ð 3ð 3�ؘ1”I TÐ)Ð)ؘ1˜2˜2”JÕ&9Ð9Ð9Ý$˜*à&,¨Q¡h h h°°°°f°fð&>ñ?ô?ð?õ+¨6°!°"°"¬:Ô6�Ø!'¨¤¨cÒ!1�˜‘ � ð 3ð ð 5�t×0Ò0°Ñ8Ô8ð 5Ý�*à$˜f˜f d d d¨F¨Fð4ñ5ô5ð 5ðˆr0z ^([ ]*)(?=\S)có’—d„|j |¦«D¦«}t|¦«dkrt|¦«SdS)z;Return the minimum indentation of any non-blank line in `s`có,—g|]}t|¦«‘ŒSrˆ)r,)rñrls r/rôz-DocTestParser._min_indent.. s€ÐHÐHÐH 6•3�v‘;”;ÐHÐHÐHr0r#)Ú _INDENT_REÚfindallr,Úmin)rrkÚindentss r/r÷zDocTestParser._min_indent sG€àHÐH¨T¬_×-DÒ-DÀQÑ-GÔ-GÐHÑHÔHˆÝ ˆw‰<Œ<˜!Ò Ð Ý�w‘<”<Ð à�1r0c óÒ—t|¦«D]V\}}t|¦«|dzkr;||dzdkr,td||zdz›d|›d|||dz…›d|›�¦«‚ŒWd S) a  Given the lines of a source string (including prompts and leading indentation), check to make sure that every prompt is followed by a space character. If any line is not followed by a space character, then raise ValueError. rfrUrhrr)ú of the docstring for z lacks blank after z: N)Ú enumerater,rÂ)rÚlinesrlr.rÐr¢r™s r/rz!DocTestParser._check_prompt_blanks €õ! Ñ'Ô'ð @ð @‰GˆAˆtÝ�4‰yŒy˜F 1™HÒ$Ð$¨¨f°Q©h¬¸3Ò)>Ð)>Ý �jà"(¨¡(¨1¡* * *¨d¨d¨dØ"& v¨f°Q©h Ô"7Ð"7Ð"7¸¸ð"?ñ@ô@ð@øð @ð @r0c óš—t|¦«D]:\}}|r3| |¦«std||zdz›d|›d|›�¦«‚Œ;dS)zŽ Check that every line in the given list starts with the given prefix; if any line does not, then raise a ValueError. rr)r&z& has inconsistent leading whitespace: N)r'r�rÂ)rr(Úprefixr.rÐr¢r™s r/rzDocTestParser._check_prefix!sw€õ ! Ñ'Ô'ð ;ð ;‰GˆAˆtØð ;˜DŸOšO¨FÑ3Ô3ð ;Ý �jà"(¨¡(¨1¡* * *¨d¨d¨d°D°Dð":ñ;ô;ð;øð ;ð ;r0N)rî)r?r†r‡r»riÚcompileÚ MULTILINEÚVERBOSErøÚDOTALLrrrýrrrrürrr!r÷rrrˆr0r/rrFsI€€€€€ððð�"”*ð  ðŒ\˜BœJÑ &ñ (ô (€Kð,�B”Jð ðŒZ˜"œ,Ñ &¨¬Ñ 2ñ 4ô 4€Mð&˜2œ: oÑ6Ô6Ô<Ðð%ð%ð%ð%ðN 7ð 7ð 7ð +ð +ð +ð +ð*.ð*.ð*.ðf&˜2œ:Ð&DØ&(¤lñ4ô4Ððððð8�”Ð,¨b¬lÑ;Ô;€Jðððð @ð @ð @ð ;ð ;ð ;ð ;ð ;r0rcóX—eZdZdZde¦«ddfd„Zd d„Zd„Zd„Zd „Z d „Z d „Z dS) ra< A class used to extract the DocTests that are relevant to a given object, from its docstring and the docstrings of its contained objects. Doctests can currently be extracted from the following object types: modules, functions, classes, methods, staticmethods, classmethods, and properties. FTcó>—||_||_||_||_dS)at Create a new doctest finder. The optional argument `parser` specifies a class or function that should be used to create new DocTest objects (or objects that implement the same interface as DocTest). The signature for this factory function should match the signature of the DocTest constructor. If the optional argument `recurse` is false, then `find` will only examine the given object, and not any contained objects. If the optional argument `exclude_empty` is false, then `find` will include tests for objects with empty docstrings. N)Ú_parserÚ_verboseÚ_recurseÚ_exclude_empty)rÚverboseÚparserÚrecurseÚ exclude_emptys r/r­zDocTestFinder.__init__:s'€ð"ˆŒ ؈Œ ؈Œ Ø+ˆÔÐÐr0Nc óÖ—|€2t|dd¦«}|€tdt|¦«›�¦«‚|durd}n|€tj|¦«} tj|¦«}|s-tj|¦«}|d|dd…zdksd}|€d}nH|�tj||j ¦«}ntj|¦«}|sd}n#t$rd}YnwxYw|€|€i}n.|j   ¦«}n|  ¦«}|�|  |¦«d|vrd|d<g}|  ||||||i¦«| ¦«|S) aj Return a list of the DocTests that are defined by the given object's docstring, or by any of its contained objects' docstrings. The optional parameter `module` is the module that contains the given object. If the module is not specified or is None, then the test finder will attempt to automatically determine the correct module. The object's module is used: - As a default namespace, if `globs` is not specified. - To prevent the DocTestFinder from extracting DocTests from objects that are imported from other modules. - To find the name of the file containing the object. - To help find the line number of the object within its file. Contained objects whose module does not match `module` are ignored. If `module` is False, no attempt to find the module will be made. This is obscure, of use mostly in tests: if `module` is False, or is None but cannot be found automatically, then all objects are considered to belong to the (non-existent) module, so all contained objects will (recursively) be searched for doctests. The globals for each DocTest is formed by combining `globs` and `extraglobs` (bindings in `extraglobs` override bindings in `globs`). A new copy of the globals dictionary is created for each DocTest. If `globs` is not specified, then it defaults to the module's `__dict__`, if specified, or {} otherwise. If `extraglobs` is not specified, then it defaults to {}. Nr?zHDocTestFinder.find: name must be given when obj.__name__ doesn't exist: Fr#éþÿÿÿz<]>r¿)r5rÂrÔr@Ú getmoduleÚ getsourcefileÚgetfileÚ linecacheÚgetlinesÚ__dict__rKràÚupdateÚ_findÚsort) rÚobjr.rLr7Ú extraglobsrorÚtestss r/rŽzDocTestFinder.findPsÆ€ðH ˆ<ݘ3  ¨DÑ1Ô1ˆD؈|Ý �jå"& s¡)¤) )ð".ñ/ô/ð/ð �Uˆ?ˆ?؈FˆFØ ˆ^ÝÔ& sÑ+Ô+ˆFð  (ÝÔ(¨Ñ-Ô-ˆDðð ?õ” sÑ+Ô+�ؘA”w˜t B C CœyÑ(¨EÒ1Ð1¸$°4؈|Ø#� � àÐ%õ$-Ô#5°d¸F¼OÑ#LÔ#L�L�Lõ$-Ô#5°dÑ#;Ô#;�LØ#ð(Ø#'�Løøõ+ð ð ð ØˆLˆLˆLð øøøð0 ˆ=؈~Ø��àœ×,Ò,Ñ.Ô.��à—J’J‘L”LˆEØ Ð !Ø �LŠL˜Ñ $Ô $Ð $Ø ˜UÐ "Ð "Ø *ˆE�*Ñ ðˆØ � Š �5˜#˜t V¨\¸5À"ÑEÔEÐEð � Š ‰ Œ ˆ ؈ sÁCà C ÃC cóJ—|€dStj|¦«�|tj|¦«uStj|¦«r|j|juStj|¦«stj|¦«rBt|d¦«r |jj }nt|d¦«r|j }ndS|j |kStj |¦«r|j |j kSt|d¦«r|j |j kSt|t¦«rdStd¦«‚)zY Return true if the given object is defined in the given module. NTÚ __objclass__r†z"object must be a class or function)r@r;Ú isfunctionr@Ú __globals__ÚismethoddescriptorÚismethodwrapperr]rHr†r?ÚisclassrBÚpropertyrÂ)rrLÚobjectÚobj_mods r/Ú _from_modulezDocTestFinder._from_module¶s;€ð ˆ>Ø�4Ý Ô ˜vÑ &Ô &Ð 2Ø�WÔ.¨vÑ6Ô6Ð6Ð 6Ý Ô  Ñ 'Ô 'ð CØ”? fÔ&8Ð8Ð 8ÝÔ(¨Ñ0Ô0ð CÝÔ% fÑ-Ô-ð Cå�v˜~Ñ.Ô.ð Ø Ô-Ô8��ݘ Ñ.Ô.ð Ø Ô+��à�tØ”? gÒ-Ð -Ý Œ_˜VÑ $Ô $ð CØ”? fÔ&7Ò7Ð 7Ý �V˜\Ñ *Ô *ð CØ”? fÔ&7Ò7Ð 7Ý ˜¥Ñ )Ô )ð CØ�4åÐAÑBÔBÐ Br0cóz—|} tj|¦«}n#t$rYnwxYwtj|¦«S)zL Safely unwrap objects and determine if they are functions. )r@ÚunwraprÂÚ isroutine)rrDÚ maybe_routines r/Ú _is_routinezDocTestFinder._is_routineÓsP€ðˆ ð Ý#œN¨=Ñ9Ô9ˆMˆMøÝð ð ð Ø ˆDð øøøåÔ  Ñ/Ô/Ð/s „™ &¥&c óØ—|jrtd|z¦«t|¦«|vrdSd|t|¦«<| |||||¦«}|�| |¦«t j|¦«r‡|jr€|j  ¦«D]f\} } |›d| ›�} |  | ¦«st j | ¦«r1|  || ¦«r|  || | ||||¦«Œgt j|¦«rö|jrït|di¦«  ¦«D]Ë\} } t| t ¦«st#dt%| ¦«›�¦«‚t j| ¦«s\t j | ¦«sHt j| ¦«s4t| t ¦«st#dt%| ¦«›�¦«‚|›d| ›�} |  || | ||||¦«ŒÌt j |¦«r¾|jr¹|j  ¦«D]¡\} } t| t(t*f¦«r| j} t j| ¦«s)t j | ¦«st| t.¦«r8|  || ¦«r"|›d| ›�} |  || | ||||¦«ŒždSdSdS) zm Find tests for the given object and any contained objects, and add them to `tests`. zFinding tests in %sNr)r�Ú__test__z3DocTestFinder.find: __test__ keys must be strings: z^DocTestFinder.find: __test__ values must be strings, functions, methods, classes, or modules: z .__test__.)r2ÚprintréÚ _get_testrúr@rAr3r@ÚitemsrVrMrQrBr5rBrCrÂrÔrTÚ staticmethodÚ classmethodÚ__func__rN) rrFrDr.rLrr7ÚseenÚtestÚvalnameÚvals r/rBzDocTestFinder._findÞs^€ð Œ=ð 0Ý Ð'¨$Ñ.Ñ /Ô /Ð /õ ˆc‰7Œ7�dˆ?ˆ?Ø ˆF؈�R�‰WŒW‰ ð�~Š~˜c 4¨°¸ ÑEÔEˆØ Ð Ø �LŠL˜Ñ Ô Ð õ Ô ˜CÑ Ô ð , T¤]ð ,Ø #¤ × 2Ò 2Ñ 4Ô 4ð ,ð ,‘ �˜Ø%) T T¨7¨7Ð3�ð×%Ò% cÑ*Ô*ð,­g¬o¸cÑ.BÔ.Bð,Ø×%Ò% f¨cÑ2Ô2ð,à—J’J˜u c¨7°F¸LØ$ dñ,ô,ð,øõ Ô ˜CÑ Ô ð ( T¤]ð (Ý '¨¨Z¸Ñ <Ô <× BÒ BÑ DÔ Dð (ð (‘ �˜Ý! '­3Ñ/Ô/ð7Ý$˜*å&*¨7¡m¤m mð&6ñ7ô7ð7õ Ô)¨#Ñ.Ô.ð3µ'´/À#Ñ2FÔ2Fð3ÝÔ(¨Ñ-Ô-ð3Ý1;¸CÅÑ1EÔ1Eð3å$˜*õ'+¨3¡i¤i ið&2ñ3ô3ð3ð/3¨d¨d°G°GÐ<�Ø— ’ ˜5 # w°¸ Ø  $ñ(ô(ð(ð(õ Œ?˜3Ñ Ô ð , D¤Mð ,Ø #¤ × 2Ò 2Ñ 4Ô 4ð ,ð ,‘ �˜å˜c¥Lµ+Ð#>Ñ?Ô?ð'Øœ,�CõÔ& sÑ+Ô+ð,­w¬¸sÑ/CÔ/Cð,Ý  ¥hÑ/Ô/ð,à×'Ò'¨°Ñ4Ô4ð,ð*.¨¨¨w¨wÐ7�GØ—J’J˜u c¨7°F¸LØ$ dñ,ô,ð,øð ,ð ,ð ,ð ,ð ,ð ,r0cóº—t|t¦«r|}nP |j€d}n+|j}t|t¦«st|¦«}n#ttf$rd}YnwxYw| ||¦«}|jr|sdS|€d}n0t|dd¦«p|j}|dd…dkr |dd…}|j   |||||¦«S)zs Return a DocTest for the given object, if it defines a docstring; otherwise, return None. NrÀr¾éüÿÿÿú.pycrŠ) rBrCr»rKr\Ú _find_linenor4r5r?r1r) rrDr.rLr7rrßrÐr`s r/rZzDocTestFinder._get_tests€õ �c�3Ñ Ô ð ØˆIˆIð Ø”;Ð&Ø "�I�Ià #¤ �IÝ% iµÑ5Ô5ð3Ý$'¨ ¡N¤N˜ øøÝ�~Ð.ð ð ð Ø� � � ð øøøð×"Ò" 3¨ Ñ5Ô5ˆð Ô ð  yð Ø�4ð ˆ>؈HˆHõ˜v z°4Ñ8Ô8ÐK¸F¼OˆHؘ˜˜Œ} Ò&Ð&Ø# C R Cœ=�ØŒ|×'Ò'¨ °5¸$Ø(0°&ñ:ô:ð :sš5AÁA&Á%A&c ó¦—d}t|dd¦«}tj|¦«r|�d}tj|¦«rl|�j|€dSt jdt jt|dd¦«¦«z¦«}t|¦«D]\}}| |¦«r|}nŒtj |¦«r|j }t|t¦«r|j }tj|¦«r*t|dd¦«rtj|¦«j}tj|¦«r|j}tj|¦«r|j}tj|¦«r |jdz }|�Z|€|dzSt jd¦«}t/|t1|¦«¦«D]!}| ||¦«r|cSŒ"dS) zŽ Return a line number of the given object's docstring. Returns `None` if the given object does not have a docstring. Nr»r#z^\s*class\s*%s\br?ú-r)z(^|.*:)\s*\w*("|\'))r5r@rArMrir+Úescaper'rÚismethodr^rBrNÚfgetrIrSÚ__code__Ú istracebackÚtb_frameÚisframeÚf_codeÚiscodeÚco_firstlinenoÚranger,)rrDrrÐrßÚpatr¢r™s r/rfzDocTestFinder._find_linenoAsú€ð ˆÝ˜C ¨DÑ1Ô1ˆ õ Ô ˜CÑ Ô ð  YÐ%:؈Fõ Œ?˜3Ñ Ô ð  IÐ$9ØÐ#Ø�tÝ”*Ð0ÝœY¥w¨s°JÀÑ'DÔ'DÑEÔEñFñGôGˆCå$ \Ñ2Ô2ð ð ‘��4Ø—9’9˜T‘?”?ðØ�FØ�Eðõ Ô ˜CÑ Ô Ð4¨¬  #Ý �c�8Ñ $Ô $ð Ø”(ˆCÝ Ô ˜cÑ "Ô "ð /¥w¨s°I¸tÑ'DÔ'Dð /å”. Ñ%Ô%Ô.ˆCÝ Ô ˜sÑ #Ô #Ð7¨3¬< SÝ Œ?˜3Ñ Ô Ð1 s¤z Ý Œ>˜#Ñ Ô ð ,ØÔ'¨!Ñ+ˆFð Ð ØÐ#ؘa‘x�Ý”*Ð3Ñ4Ô4ˆCÝ ­¨LÑ(9Ô(9Ñ:Ô:ð "ð "�Ø—9’9˜\¨&Ô1Ñ2Ô2ð"Ø!�M�M�Mð"ðˆtr0©NNNN) r?r†r‡r»rr­rŽrQrVrBrZrfrˆr0r/rr1s­€€€€€ððð %¨]¨]©_¬_بTð,ð,ð,ð,ð,dðdðdðdðLCðCðCð: 0ð 0ð 0ð;,ð;,ð;,ðz$:ð$:ð$:ðL4ð4ð4ð4ð4r0rcó†—eZdZdZdZdd„Zd„Zd„Zd„Zd „Z d „Z d „Z d „Z e jd ¦«Zdd„Zdd„Zdd„Zd„ZdS)ra3 A class used to run DocTest test cases, and accumulate statistics. The `run` method is used to process a single DocTest case. It returns a tuple `(f, t)`, where `t` is the number of test cases tried, and `f` is the number of test cases that failed. >>> tests = DocTestFinder().find(_TestClass) >>> runner = DocTestRunner(verbose=False) >>> tests.sort(key = lambda test: test.name) >>> for test in tests: ... print(test.name, '->', runner.run(test)) _TestClass -> TestResults(failed=0, attempted=2) _TestClass.__init__ -> TestResults(failed=0, attempted=2) _TestClass.get -> TestResults(failed=0, attempted=2) _TestClass.square -> TestResults(failed=0, attempted=1) The `summarize` method prints a summary of all the test cases that have been run by the runner, and returns an aggregated `(f, t)` tuple: >>> runner.summarize(verbose=1) 4 items passed all tests: 2 tests in _TestClass 2 tests in _TestClass.__init__ 2 tests in _TestClass.get 1 tests in _TestClass.square 7 tests in 4 items. 7 passed and 0 failed. Test passed. TestResults(failed=0, attempted=7) The aggregated number of tried examples and failed examples is also available via the `tries` and `failures` attributes: >>> runner.tries 7 >>> runner.failures 0 The comparison between expected outputs and actual outputs is done by an `OutputChecker`. This comparison may be customized with a number of option flags; see the documentation for `testmod` for more information. If the option flags are insufficient, then the comparison may also be customized by passing a subclass of `OutputChecker` to the constructor. The test runner's display output can be controlled in two ways. First, an output function (`out) can be passed to `TestRunner.run`; this function will be called with strings that should be displayed. It defaults to `sys.stdout.write`. If capturing the output is not sufficient, then the display output can be also customized by subclassing DocTestRunner, and overriding the methods `report_start`, `report_success`, `report_unexpected_exception`, and `report_failure`. zF**********************************************************************Nr#cóÊ—|p t¦«|_|€dtjv}||_||_||_d|_d|_i|_ t¦«|_ dS)ac Create a new test runner. Optional keyword arg `checker` is the `OutputChecker` that should be used to compare the expected outputs and actual outputs of doctest examples. Optional keyword arg 'verbose' prints lots of stuff if true, only failures if false; by default, it's true iff '-v' is in sys.argv. Optional argument `optionflags` can be used to control how the test runner compares expected output to actual output, and how it displays failures. See the documentation for `testmod` for more information. Nú-vr#) rÚ_checkerrGrÆr2Ú optionflagsÚoriginal_optionflagsÚtriesÚfailuresÚ_name2ftrzÚ_fakeout)rÚcheckerr5rzs r/r­zDocTestRunner.__init__·sd€ð" Ð2¥=¡?¤?ˆŒ Ø ˆ?Ø�cœhÐ&ˆG؈Œ Ø&ˆÔØ$/ˆÔ!ðˆŒ ØˆŒ ؈Œ õ"™ œ ˆŒ ˆ ˆ r0cóà—|jrf|jr:|dt|j¦«zdzt|j¦«z¦«dS|dt|j¦«zdz¦«dSdS)z‡ Report that the test runner is about to process the given example. (Only displays a message if verbose=True) zTrying: z Expecting: zExpecting nothing N)r2r�rmrÏ)rr¯r`Úexamples r/Ú report_startzDocTestRunner.report_startÛs¤€ð Œ=ð +ØŒ|ð +Ø��K¥'¨'¬.Ñ"9Ô"9Ñ9Ø"ñ#Ý%,¨W¬\Ñ%:Ô%:ñ;ñ<ô<ð<ð<ð<ð��K¥'¨'¬.Ñ"9Ô"9Ñ9Ø)ñ*ñ+ô+ð+ð+ð+ð  +ð +r0có.—|jr |d¦«dSdS)zt Report that the given example ran successfully. (Only displays a message if verbose=True) zok N)r2©rr¯r`r‚r�s r/Úreport_successzDocTestRunner.report_successès)€ð Œ=ð Ø ˆC�‰KŒKˆKˆKˆKð ð r0cóˆ—|| ||¦«|j |||j¦«z¦«dS)z7 Report that the given example failed. N)Ú_failure_headerryÚoutput_differencerzr…s r/Úreport_failurezDocTestRunner.report_failureðsY€ð ˆˆD× Ò   wÑ /Ô /Ø ŒM× +Ò +¨G°S¸$Ô:JÑ KÔ Kñ Lñ Mô Mð Mð Mð Mr0có„—|| ||¦«dztt|¦«¦«z¦«dS)zO Report that the given example raised an unexpected exception. zException raised: N)rˆrmrx©rr¯r`r‚rss r/Úreport_unexpected_exceptionz)DocTestRunner.report_unexpected_exception÷s[€ð ˆˆD× Ò   wÑ /Ô /Ø !ñ "Ý$+Õ,@ÀÑ,JÔ,JÑ$KÔ$Kñ Lñ Mô Mð Mð Mð Mr0có®—|jg}|jrL|j�|j�|j|jzdz}nd}| d|j›d|›d|j›�¦«n(| d|jdz›d|j›�¦«| d¦«|j}| t |¦«¦«d |¦«S) Nr)ú?zFile "ú", line ú, in zLine zFailed example:r})ÚDIVIDERr`rÐrúr.rÏrmrÅ)rr`r‚r¯rÐrÏs r/rˆzDocTestRunner._failure_headerþs䀨Œ|ˆnˆØ Œ=ð IØŒ{Ð&¨7¬>Ð+EØœ w¤~Ñ5¸Ñ9��à�Ø �JŠJˆJØœ ˜ ˜  v v v¨t¬y¨yð:ñ ;ô ;ð ;ð ;ð �JŠJˆJ¨7¬>¸!Ñ+;Ð+;Ð+;¸T¼Y¸YÐGÑ HÔ HÐ HØ � Š Ð$Ñ%Ô%Ð%Ø”ˆØ � Š •7˜6‘?”?Ñ#Ô#Ð#Ø�yŠy˜‰~Œ~Ðr0c ó&‡—dx}}|j}td¦«\}}} |jj} t |j¦«D�]#\} } |jt zo|dk} ||_| jrC| j ¦«D])\}}|r|xj|zc_Œ|xj|zc_Œ*|jtzrŒ||dz }| s|  ||| ¦«d|j | fz} tt| j|d|d¦«|j¦«|j ¦«d}n=#t$$r‚t'j¦«}|j ¦«YnxYw|j ¦«}|j d¦«|}|€| | j||j¦«r|}�n t3j|dd…Ž}t7|dt8¦«r`|dj›d �|dj›d |dj›d �fŠt?ˆfd „t |¦«D¦«¦«}||d…}d   |¦«}| s|tC|¦«z }| j"€| }n\| | j"||j¦«r|}nB|jtFzr3| tI| j"¦«tI|¦«|j¦«r|}||ur| s| %||| |¦«nT||ur | s| &||| |¦«|dz }n0|| ur | s| '||| |¦«|dz }n Jd|f¦«‚|r|jtPzrn�Œ%||_| )|||¦«tU||¦«S)aÒ Run the examples in `test`. Write the outcome of each example with one of the `DocTestRunner.report_*` methods, using the writer function `out`. `compileflags` is the set of compiler flags that should be used to execute examples. Return a tuple `(f, t)`, where `t` is the number of examples tried, and `f` is the number of examples that failed. The examples are run in the namespace `test.globs`. r#rUr)zÚsingleTNr<rœr�c3óL•K—|]\}}| ‰¦«¯|V—ŒdSr‚)r�)rñÚindexr™Úexception_line_prefixess €r/ú z&DocTestRunner.__run..ksNøèè€ð)ð)á'˜E 4ØŸ?š?Ð+BÑCÔCð)Øð)ð)ð)ð)ð)ð)r0rÀFzunknown outcome)+rzrsryÚ check_outputr'rÞr rÑr[rrƒr.Úexecr+rÏr7ÚdebuggerrµÚKeyboardInterruptrGrsrrrr„r�rpÚformat_exception_onlyÚ issubclassÚ SyntaxErrorr‡r†ÚnextrÅrxrÒrr£r†rŠr�rÚ_DocTestRunner__record_outcomer')rr`Ú compileflagsr¯r}r|r{ÚSUCCESSÚFAILUREÚBOOMÚcheckÚ examplenumr‚ÚquietÚ optionflagrbr`Ú exceptionr�ÚoutcomeÚ formatted_exÚ exc_msg_indexrÒr—s @r/Ú__runzDocTestRunner.__runsšø€ðЈ�5ð $Ô/Ðå!& q¡¤Ñˆ�˜$à” Ô*ˆõ$-¨T¬]Ñ#;Ô#;ðo ño Ñ ˆJ˜ðÔ%Õ(AÑAð"Ø ’\ð ð 4ˆDÔ ØŒð 8Ø)0¬×)>Ò)>Ñ)@Ô)@ð8ð8Ñ%�Z Øð8ØÐ(Ô(¨JÑ6Ð(Ô(Ð(àÐ(Ô(¨Z¨KÑ7Ð(Ô(Ð(ðÔ¥$Ñ&ð Øð �Q‰JˆEØð 6Ø×!Ò! # t¨WÑ5Ô5Ð5ð *¨T¬Y¸ Ð,CÑCˆHð -å•W˜Wœ^¨X°xØ)¨4ñ1ô1Ø26´*ñ>ô>ð>à” ×*Ò*Ñ,Ô,Ð,Ø � � øÝ$ð ð ð Øð -ÝœL™NœN� Ø” ×*Ò*Ñ,Ô,Ð,Ð,Ð,øøøà”-×(Ò(Ñ*Ô*ˆCØ ŒM× "Ò " 1Ñ %Ô %Ð %؈GðÐ Ø�5˜œ s¨DÔ,<Ñ=Ô=ð&Ø%�Gùõ )Ô>À È"È1È"Ä ÐN� ݘi¨œl­KÑ8Ô8ð@ð % Qœ<Ô4Ð7Ð7Ð7Ø$ Qœ<Ô2ÐQÐQ°Y¸q´\Ô5NÐQÐQÐQð/Ð+õ%)ð)ð)ð)ð)å+4°\Ñ+BÔ+Bð)ñ)ô)ñ%ô%�Mð $0° °°Ô#?�LàŸ'š' ,Ñ/Ô/�Øð;ØÕ/° Ñ:Ô:Ñ:�Cð”?Ð*Ø"�G�Gð�U˜7œ?¨G°TÔ5EÑFÔFð*Ø%�G�GðÔ%Õ(?Ñ?ð*Ø�uÕ5°g´oÑFÔFÝ5°gÑ>Ô>Ø!Ô-ñ/ô/ð*ð#*˜ð˜'Ð!Ð!ØðAØ×'Ò'¨¨T°7¸CÑ@Ô@Ð@øØ˜GÐ#Ð#ØðAØ×'Ò'¨¨T°7¸CÑ@Ô@Ð@ؘA‘ ��ؘD��Øð@Ø×4Ò4°S¸$ÀØ5>ñ@ô@ð@à˜A‘ ��à:Ð0°'Ð:Ñ:Ô:�uàð ˜DÔ,­yÑ8ð Ø�ùð0ˆÔð ×Ò˜d H¨eÑ4Ô4Ð4ݘ8 UÑ+Ô+Ð+s Ã'AD.Ä.8E(cóº—|j |jd¦«\}}||z||zf|j|j<|xj|z c_|xj|z c_dS)z{ Record the fact that the given DocTest (`test`) generated `f` failures out of `t` tried examples. rõN)r~r4r.r}r|)rr`rdÚtÚf2Út2s r/Ú__record_outcomezDocTestRunner.__record_outcome s^€ð ”×"Ò" 4¤9¨eÑ4Ô4‰ˆˆBØ$% b¡D¨!¨B©$ <ˆŒ �d”iÑ Ø ˆ Œ ˜Ñˆ Œ Ø ˆ Œ �a‰ˆ Œ ˆ ˆ r0z..+)\[(?P\d+)\]>$cóF—|j |¦«}|rp| d¦«|jjkrM|jjt | d¦«¦«}|j d¬¦«S|  ||¦«S)Nr.r§T©Úkeepends) Ú%_DocTestRunner__LINECACHE_FILENAME_RErrþr`r.rÞÚintrÏÚ splitlinesÚsave_linecache_getlines)rr`Úmodule_globalsrr‚s r/Ú__patched_linecache_getlinesz*DocTestRunner.__patched_linecache_getlines­s‹€Ø Ô (× .Ò .¨xÑ 8Ô 8ˆØ ð J�—’˜‘” D¤I¤NÒ2Ð2Ø”iÔ(­¨Q¯WªW°\Ñ-BÔ-BÑ)CÔ)CÔDˆGØ”>×,Ò,°dÐ,Ñ;Ô;Ð ;à×/Ò/°¸.ÑIÔIÐ Ir0Tcó ‡ ‡ —||_|€t|j¦«}tjŠ |€/‰ jŠ ‰ �‰  ¦«dkr‰ j}nˆ ˆ fd„}|jt_tj ¦«}tj }t‰ ¦«|_ |j  ¦«|j j t_ tj|_|jt_tj}tjt_ | |||¦«‰ t_|t_ tj|¦«|jt_|t_|r%|j ¦«ddl}d|_SS#‰ t_|t_ tj|¦«|jt_|t_|r$|j ¦«ddl}d|_wxYw)aJ Run the examples in `test`, and display the results using the writer function `out`. The examples are run in the namespace `test.globs`. If `clear_globs` is true (the default), then this namespace will be cleared after the test runs, to help with garbage collection. If you would like to examine the namespace after the test completes, then use `clear_globs=False`. `compileflags` gives the set of flags that should be used by the Python compiler when running the examples. If not specified, then it will default to the set of future-import flags that apply to `globs`. The output of each example is checked using `DocTestRunner.check_output`, and the results are formatted by the `DocTestRunner.report_*` methods. Núutf-8cóz•—t| ‰d¦«‰¦«}‰ |¦«dS)NÚbackslashreplace)rCÚencodeÚwrite)rkrXrºs €€r/r¯zDocTestRunner.run..outÕs;ø€Ý˜AŸHšH XÐ/AÑBÔBÀHÑMÔM�AØ×%Ò% aÑ(Ô(Ð(Ð(Ð(r0r#)r`r;r7rGr§rXÚlowerrÂrÚgettracer«r²r¥r›Úresetr>r?rºÚ*_DocTestRunner__patched_linecache_getlinesÚ displayhookÚ__displayhook__Ú_DocTestRunner__runÚsettraceÚclearÚbuiltinsÚ_) rr`r¢r¯Ú clear_globsÚ save_traceÚsave_set_traceÚsave_displayhookrÌrXrºs @@r/ÚrunzDocTestRunner.runµsØøø€ð(ˆŒ à Ð Ý0°´Ñ<Ô<ˆLå”jˆ Ø ˆ;Ø"Ô+ˆHØÐ 8§>¢>Ñ#3Ô#3°wÒ#>Ð#>Ø!Ô'��ð)ð)ð)ð)ð)ð)ð”]�Œ õ”\‘^”^ˆ ÝœˆÝ-¨kÑ:Ô:ˆŒ Ø Œ ×ÒÑÔÐØœ Ô/�Œ õ(1Ô'9ˆÔ$Ø!Ô>� Ôõœ?ÐÝÔ-�Œð "Ø—:’:˜d L°#Ñ6Ô6à$�CŒJØ*�CŒMÝ ŒL˜Ñ $Ô $Ð $Ø!%Ô!=�IÔ Ø.�CŒOØð "Ø” × Ò Ñ"Ô"Ð"Ø���Ø!�” � ð "øð %�CŒJØ*�CŒMÝ ŒL˜Ñ $Ô $Ð $Ø!%Ô!=�IÔ Ø.�CŒOØð "Ø” × Ò Ñ"Ô"Ð"Ø���Ø!�” Ð!Ð!Ð!Ð!s ÄFÆA1H có—|€|j}g}g}g}dx}}|j ¦«D]k}|\}\} } | | ksJ‚|| z }|| z }| dkr| |¦«Œ8| dkr| || f¦«ŒV| |¦«Œl|r—|rFt t |¦«d¦«| ¦«|D]} t d| ¦«Œ|rMt t |¦«d¦«| ¦«|D]\} } t d| | fz¦«Œ|ret |j¦«t t |¦«d¦«| ¦«|D]\} \} } t d| | | fz¦«Œ|r9t |d t |j¦«d ¦«t ||z d |d ¦«|rt d |d¦«n|rt d¦«t||¦«S)a¦ Print a summary of all the test cases that have been run by this DocTestRunner, and return a tuple `(f, t)`, where `f` is the total number of failed examples, and `t` is the total number of tried examples. The optional `verbose` argument controls how detailed the summary is. If the verbosity is not specified, then the DocTestRunner's verbosity is used. Nr#zitems had no tests:z zitems passed all tests:z %3d tests in %szitems had failures:z %3d of %3d in %sztests inzitems.z passed andzfailed.z***Test Failed***z failures.z Test passed.) r2r~r[rúrYr,rCr’r') rr5ÚnotestsÚpassedÚfailedÚtotaltÚtotalfr r.rdr°Úthingrûs r/Ú summarizezDocTestRunner.summarizeþsj€ð ˆ?Ø”mˆG؈؈؈ØÐˆ�Ø”×$Ò$Ñ&Ô&ð !ð !ˆA؉LˆD‘&�1�aؘ’6�6�6�6Ø �a‰KˆFØ �a‰KˆFØ�AŠvˆvØ—’˜tÑ$Ô$Ð$Ð$Ø�a’�Ø— ’   a˜yÑ*Ô*Ð*Ð*à— ’ ˜aÑ Ô Ð Ð Ø ð ?Øð (Ý•c˜'‘l”lÐ$9Ñ:Ô:Ð:Ø— ’ ‘”�Ø$ð(ð(�Eݘ% Ñ'Ô'Ð'Ð'Øð ?Ý•c˜&‘k”kÐ#<Ñ=Ô=Ð=Ø— ’ ‘ ” � Ø$*ð?ð?‘L�E˜5ÝÐ,°°u¨~Ñ=Ñ>Ô>Ð>Ð>Ø ð ;Ý �$”,Ñ Ô Ð Ý •#�f‘+”+Ð4Ñ 5Ô 5Ð 5Ø �KŠK‰MŒMˆMØ!'ð ;ð ;‘ �‘v˜˜1ÝÐ)¨Q°°5¨MÑ9Ñ:Ô:Ð:Ð:Ø ð DÝ �&˜*¥c¨$¬-Ñ&8Ô&8¸(Ñ CÔ CÐ CÝ �&˜6‘/ <°¸Ñ CÔ CÐ CØ ð "Ý Ð% v¨{Ñ ;Ô ;Ð ;Ð ;Ø ð "Ý �.Ñ !Ô !Ð !ݘ6 6Ñ*Ô*Ð*r0có˜—|j}|j ¦«D](\}\}}||vr||\}}||z}||z}||f||<Œ)dSr‚)r~r[)rr×Údr.rdr°r±r²s r/ÚmergezDocTestRunner.merge7sq€Ø ŒMˆØ!œN×0Ò0Ñ2Ô2ð ð ‰LˆD‘&�1�aØ�qˆyˆyð ˜4œ‘��Bؘ‘F�ؘ‘F�ؘ�dˆAˆd‰GˆGð ð r0)NNr#r‚©NNT)r?r†r‡r»r’r­rƒr†rŠr�rˆrÉr¡rir+r·rÆrÒrÚrÝrˆr0r/rr{s!€€€€€ð6ð6ðr€Gð$ð$ð$ð$ðH +ð +ð +ððððMðMðMðMðMðMðððð(L,ðL,ðL,ð\ððð)˜bœjð*FñGôGÐðJðJðJðJðD"ðD"ðD"ðD"ðR4+ð4+ð4+ð4+ðr ð ð ð ð r0rcó*—eZdZdZd„Zd„Zd„Zd„ZdS)ra_ A class used to check the whether the actual output from a doctest example matches the expected output. `OutputChecker` defines two methods: `check_output`, which compares a given pair of outputs, and returns true if they match; and `output_difference`, which returns a string describing the differences between two outputs. cóJ—t| dd¦«d¦«S)z= Convert string to hex-escaped ASCII string. ÚASCIIrÀ)rCrÁ)rrks r/Ú_toAsciizOutputChecker._toAsciiLs#€õ�1—8’8˜GÐ%7Ñ8Ô8¸'ÑBÔBÐBr0cóN—| |¦«}| |¦«}||krdS|tzs||fdkrdS||fdkrdS|tzsNtjdtjt ¦«zd|¦«}tjdd|¦«}||krdS|tzrVd |  ¦«¦«}d |  ¦«¦«}||krdS|tzrt||¦«rdSdS) a¥ Return True iff the actual output from an example (`got`) matches the expected output (`want`). These strings are always considered to match if they are identical; but depending on what option flags the test runner is using, several non-exact match types are also possible. See the documentation for `TestRunner` for more information about option flags. T)zTrue z1 )zFalse z0 z (?m)^%s\s*?$rÀz(?m)^[^\S\n]+$rhF) rârrrirjriÚBLANKLINE_MARKERrrÅrŒrr•©rr�r�rzs r/r™zOutputChecker.check_outputRsI€ð �mŠm˜CÑ Ô ˆØ�}Š}˜TÑ"Ô"ˆð �$Š;ˆ;Ø�4ðÕ4Ñ4ð Ø�DˆzÐ.Ò.Ð.Ø�tØ�DˆzÐ/Ò/Ð/Ø�tðÕ3Ñ3ð å”6˜/­B¬IÕ6FÑ,GÔ,GÑGؘdñ$ô$ˆDõ”&Ð*¨B°Ñ4Ô4ˆCØ�dŠ{ˆ{Ø�tð Õ-Ñ -ð Ø—(’(˜3Ÿ9š9™;œ;Ñ'Ô'ˆCØ—8’8˜DŸJšJ™LœLÑ)Ô)ˆDØ�dŠ{ˆ{Ø�tð �Ñ !ð ݘt SÑ)Ô)ð Ø�tðˆur0có¶—|ttztzzsdS|tzrdS| d¦«dko| d¦«dkS)NFTr}r<)r r r rûrås r/Ú_do_a_fancy_diffzOutputChecker._do_a_fancy_diff‘si€à�lÝ*ñ+å*ñ+ñ,ð ð�5ð �Ñ %ð Ø�4ð�zŠz˜$ÑÔ !Ò#Ð;¨¯ ª °$©¬¸!Ò(;Ð;r0cóp—|j}|tzstjdt|¦«}| |||¦«�r#| d¬¦«}| d¬¦«}|tzr1tj ||d¬¦«}t|¦«dd…}d}n”|tzr1tj ||d¬¦«}t|¦«dd…}d}nY|tzrEtjtj¬ ¦«} t|  ||¦«¦«}d }n Jd ¦«‚d |zt#d |¦«¦«zS|r$|r"dt#|¦«›dt#|¦«›�S|rdt#|¦«zS|rdt#|¦«zSdS)zû Return a string describing the differences between the expected output for a given example (`example`) and the actual output (`got`). `optionflags` is the set of option flags used to compare `want` and `got`. z(?m)^[ ]*(?= )Trµr<)ÚnNz#unified diff with -expected +actualz-context diff with expected followed by actual)Úcharjunkzndiff with -expected +actualr#zBad diff optionzDifferences (%s): rÀz Expected: zGot: zExpected: %sGot nothing zExpected nothing Got: %szExpected nothing Got nothing )r�rrirjrärçr¹r ÚdifflibÚ unified_diffÚlistr Ú context_diffr ÚDifferÚIS_CHARACTER_JUNKÚcomparermrÅ) rr‚r�rzr�rÚ got_linesÚdiffÚkindÚengines r/r‰zOutputChecker.output_difference¨sÏ€ðŒ|ˆðÕ3Ñ3ð CÝ”&Ð*Õ,<¸cÑBÔBˆCð × Ò   s¨KÑ 8Ô 8ñ IàŸš°$˜Ñ7Ô7ˆJØŸš°˜Ñ5Ô5ˆIà�\Ñ)ð ,ÝÔ+¨J¸ ÀQÐGÑGÔG�ݘD‘z”z ! " "”~�Ø<��Ø�|Ñ+ð ,ÝÔ+¨J¸ ÀQÐGÑGÔG�ݘD‘z”z ! " "”~�ØF��Ø�|Ñ+ð ,Ý œµÔ1JÐKÑKÔK�ݘFŸNšN¨:°yÑAÔAÑBÔB�Ø5��à+Ð+Ñ+Ô+�qØ(¨4Ñ/µ'¸"¿'º'À$¹-¼-Ñ2HÔ2HÑHÐ Hð ð 5�Cð 5ð 5Ý.5°d©m¬m¨m¨m½WÀS¹\¼\¸\ÐJÐ JØ ð 5Ø/µ'¸$±-´-Ñ?Ð ?Ø ð 5Ø/µ'¸#±,´,Ñ>Ð >à4Ð4r0N)r?r†r‡r»râr™rçr‰rˆr0r/rrDs^€€€€€ðððCðCðCð <ð<ð<ð~<ð<ð<ð.,5ð,5ð,5ð,5ð,5r0rcó—eZdZdZd„Zd„ZdS)rzÖA DocTest example has failed in debugging mode. The exception instance has variables: - test: the DocTest object being run - example: the Example object that failed - got: the actual output có0—||_||_||_dSr‚)r`r‚r�)rr`r‚r�s r/r­zDocTestFailure.__init__ás€ØˆŒ ؈Œ ؈Œˆˆr0có*—t|j¦«Sr‚©rCr`r¶s r/Ú__str__zDocTestFailure.__str__æó€Ý�4”9‰~Œ~Ðr0N©r?r†r‡r»r­rúrˆr0r/rrÖs<€€€€€ð ð ðððð ððððr0rcó—eZdZdZd„Zd„ZdS)rzæA DocTest example has encountered an unexpected exception The exception instance has variables: - test: the DocTest object being run - example: the Example object that failed - exc_info: the exception info có0—||_||_||_dSr‚)r`r‚rs)rr`r‚rss r/r­zUnexpectedException.__init__ôs€ØˆŒ ؈Œ Ø ˆŒ ˆ ˆ r0có*—t|j¦«Sr‚rùr¶s r/rúzUnexpectedException.__str__ùrûr0Nrürˆr0r/rrés<€€€€€ð ð ð!ð!ð!ð ððððr0rcó&—eZdZdZdd„Zd„Zd„ZdS)ra‹ Run doc tests but raise an exception as soon as there is a failure. If an unexpected exception occurs, an UnexpectedException is raised. It contains the test, the example, and the original exception: >>> runner = DebugRunner(verbose=False) >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42', ... {}, 'foo', 'foo.py', 0) >>> try: ... runner.run(test) ... except UnexpectedException as f: ... failure = f >>> failure.test is test True >>> failure.example.want '42\n' >>> exc_info = failure.exc_info >>> raise exc_info[1] # Already has the traceback Traceback (most recent call last): ... KeyError We wrap the original exception to give the calling application access to the test and example information. If the output doesn't match, then a DocTestFailure is raised: >>> test = DocTestParser().get_doctest(''' ... >>> x = 1 ... >>> x ... 2 ... ''', {}, 'foo', 'foo.py', 0) >>> try: ... runner.run(test) ... except DocTestFailure as f: ... failure = f DocTestFailure objects provide access to the test: >>> failure.test is test True As well as to the example: >>> failure.example.want '2\n' and the actual output: >>> failure.got '1\n' If a failure or error occurs, the globals are left intact: >>> del test.globs['__builtins__'] >>> test.globs {'x': 1} >>> test = DocTestParser().get_doctest(''' ... >>> x = 2 ... >>> raise KeyError ... ''', {}, 'foo', 'foo.py', 0) >>> runner.run(test) Traceback (most recent call last): ... doctest.UnexpectedException: >>> del test.globs['__builtins__'] >>> test.globs {'x': 2} But the globals are cleared if there is no error: >>> test = DocTestParser().get_doctest(''' ... >>> x = 2 ... ''', {}, 'foo', 'foo.py', 0) >>> runner.run(test) TestResults(failed=0, attempted=1) >>> test.globs {} NTcóx—t ||||d¦«}|r|j ¦«|S)NF)rrÒr7rË)rr`r¢r¯rÎÚrs r/rÒzDebugRunner.runWs>€Ý × Ò ˜d D¨,¸¸UÑ CÔ CˆØ ð Ø ŒJ× Ò Ñ Ô Ð Øˆr0có$—t|||¦«‚r‚)rrŒs r/r�z'DebugRunner.report_unexpected_exception]s€Ý! $¨°Ñ:Ô:Ð:r0có$—t|||¦«‚r‚)rr…s r/rŠzDebugRunner.report_failure`s€Ý˜T 7¨CÑ0Ô0Ð0r0rÞ)r?r†r‡r»rÒr�rŠrˆr0r/rrüsS€€€€€ðX ðX ðtðððð ;ð;ð;ð1ð1ð1ð1ð1r0rTFc ó—|€tj d¦«}tj|¦«st d|›�¦«‚|€|j}t|¬¦«} |rt||¬¦«} nt||¬¦«} |   ||||¬¦«D]} |   | ¦«Œ|r|   ¦«t€| a nt | ¦«t| j| j¦«S)a* m=None, name=None, globs=None, verbose=None, report=True, optionflags=0, extraglobs=None, raise_on_error=False, exclude_empty=False Test examples in docstrings in functions and classes reachable from module m (or the current module if m is not supplied), starting with m.__doc__. Also test examples reachable from dict m.__test__ if it exists and is not None. m.__test__ maps names to functions, classes and strings; function and class docstrings are tested even if the name is private; strings are tested directly, as if they were docstrings. Return (#failures, #tests). See help(doctest) for an overview. Optional keyword arg "name" gives the name of the module; by default use m.__name__. Optional keyword arg "globs" gives a dict to be used as the globals when executing examples; by default, use m.__dict__. A copy of this dict is actually used for each docstring, so that each docstring's examples start with a clean slate. Optional keyword arg "extraglobs" gives a dictionary that should be merged into the globals that are used to execute examples. By default, no extra globals are used. This is new in 2.4. Optional keyword arg "verbose" prints lots of stuff if true, prints only failures if false; by default, it's true iff "-v" is in sys.argv. Optional keyword arg "report" prints a summary at the end when true, else prints nothing at the end. In verbose mode, the summary is detailed, else very brief (in fact, empty if all tests passed). Optional keyword arg "optionflags" or's together module constants, and defaults to 0. This is new in 2.3. Possible values (see the docs for details): DONT_ACCEPT_TRUE_FOR_1 DONT_ACCEPT_BLANKLINE NORMALIZE_WHITESPACE ELLIPSIS SKIP IGNORE_EXCEPTION_DETAIL REPORT_UDIFF REPORT_CDIFF REPORT_NDIFF REPORT_ONLY_FIRST_FAILURE Optional keyword arg "raise_on_error" raises an exception on the first unexpected exception or failure. This allows failures to be post-mortem debugged. Advanced tomfoolery: testmod runs methods of a local instance of class doctest.Tester, then merges the results into (or creates) global Tester instance doctest.master. Methods of doctest.master can be called directly too, if you want to do something unusual. Passing report=0 to testmod is especially useful then, to delay displaying a summary. Invoke doctest.master.summarize(verbose) when you're done fiddling. Nr¿ztestmod: module required; )r8©r5rz©r7rE)rGrHr4r@rArKr?rrrrŽrÒrÚÚmasterrÝr'r}r|) rr.r7r5ÚreportrzrEÚraise_on_errorr8ÚfinderÚrunnerr`s r/rrls€ðJ €yõ ŒK�OŠO˜JÑ 'Ô 'ˆõ Ô ˜AÑ Ô ð?݈i¸!¸!Ð=Ñ>Ô>Ð>ð €|ØŒzˆõ¨Ð 7Ñ 7Ô 7€FàðIÝ W¸+ÐFÑFÔFˆˆå w¸KÐHÑHÔHˆà— ’ ˜A˜t¨5¸Z� ÑHÔHððˆØ� Š �4ÑÔÐÐà ðØ×ÒÑÔÐå €~؈ˆå� Š �VÑÔÐå �v”¨¬ Ñ 5Ô 5Ð5r0c óX—|r|std¦«‚t|||| pd¦«\} }|€tj |¦«}|€i}n| ¦«}|�| |¦«d|vrd|d<| rt||¬¦«} nt||¬¦«} |   | |||d¦«}|   |¦«|r|   ¦«t€| a nt  | ¦«t| j| j¦«S)a Test examples in the given file. Return (#failures, #tests). Optional keyword arg "module_relative" specifies how filenames should be interpreted: - If "module_relative" is True (the default), then "filename" specifies a module-relative path. By default, this path is relative to the calling module's directory; but if the "package" argument is specified, then it is relative to that package. To ensure os-independence, "filename" should use "/" characters to separate path segments, and should not be an absolute path (i.e., it may not begin with "/"). - If "module_relative" is False, then "filename" specifies an os-specific path. The path may be absolute or relative (to the current working directory). Optional keyword arg "name" gives the name of the test; by default use the file's basename. Optional keyword argument "package" is a Python package or the name of a Python package whose directory should be used as the base directory for a module relative filename. If no package is specified, then the calling module's directory is used as the base directory for module relative filenames. It is an error to specify "package" if "module_relative" is False. Optional keyword arg "globs" gives a dict to be used as the globals when executing examples; by default, use {}. A copy of this dict is actually used for each docstring, so that each docstring's examples start with a clean slate. Optional keyword arg "extraglobs" gives a dictionary that should be merged into the globals that are used to execute examples. By default, no extra globals are used. Optional keyword arg "verbose" prints lots of stuff if true, prints only failures if false; by default, it's true iff "-v" is in sys.argv. Optional keyword arg "report" prints a summary at the end when true, else prints nothing at the end. In verbose mode, the summary is detailed, else very brief (in fact, empty if all tests passed). Optional keyword arg "optionflags" or's together module constants, and defaults to 0. Possible values (see the docs for details): DONT_ACCEPT_TRUE_FOR_1 DONT_ACCEPT_BLANKLINE NORMALIZE_WHITESPACE ELLIPSIS SKIP IGNORE_EXCEPTION_DETAIL REPORT_UDIFF REPORT_CDIFF REPORT_NDIFF REPORT_ONLY_FIRST_FAILURE Optional keyword arg "raise_on_error" raises an exception on the first unexpected exception or failure. This allows failures to be post-mortem debugged. Optional keyword arg "parser" specifies a DocTestParser (or subclass) that should be used to extract tests from the files. Optional keyword arg "encoding" specifies an encoding that should be used to convert the file to unicode. Advanced tomfoolery: testmod runs methods of a local instance of class doctest.Tester, then merges the results into (or creates) global Tester instance doctest.master. Methods of doctest.master can be called directly too, if you want to do something unusual. Passing report=0 to testmod is especially useful then, to delay displaying a summary. Invoke doctest.master.summarize(verbose) when you're done fiddling. ú8Package may only be specified for module-relative paths.r¾Nr?r¿rr#)rÂrerÃrÄÚbasenameràrArrrrÒrÚrrÝr'r}r|)r`rbr.rar7r5r rzrEr r6rXÚtextr r`s r/rrÔs\€ðdð,�ð,Ýð+ñ,ô,ð ,õ$ H¨g°Ø$,Ð$7°ñ9ô9�N€Dˆ(ð €|ÝŒw×Ò Ñ)Ô)ˆð €}؈ˆà— ’ ‘ ” ˆØÐØ � Š �ZÑ Ô Ð Ø˜ÐÐØ&ˆˆjÑàðIÝ W¸+ÐFÑFÔFˆˆå w¸KÐHÑHÔHˆð × Ò ˜d E¨4°¸1Ñ =Ô =€DØ ‡J‚JˆtÑÔÐà ðØ×ÒÑÔÐå €~؈ˆå� Š �VÑÔÐå �v”¨¬ Ñ 5Ô 5Ð5r0ÚNoNamecó®—t|d¬¦«}t||¬¦«}| |||¬¦«D]}| ||¬¦«ŒdS)ar Test examples in the given object's docstring (`f`), using `globs` as globals. Optional argument `name` is used in failure messages. If the optional argument `verbose` is true, then generate output even if there are no failures. `compileflags` gives the set of flags that should be used by the Python compiler when running the examples. If not specified, then it will default to the set of future-import flags that apply to `globs`. Optional keyword arg `optionflags` specifies options for the testing and output. See the documentation for `testmod` for more information. F)r5r7r)r7)r¢N)rrrŽrÒ) rdr7r5r.r¢rzr r r`s r/rrOsl€õ$ 7°EÐ :Ñ :Ô :€FÝ  7¸ Ð DÑ DÔ D€FØ— ’ ˜A˜t¨5� Ñ1Ô1ð4ð4ˆØ� Š �4 lˆ Ñ3Ô3Ð3Ð3ð4ð4r0cóT—|tz|krtd|¦«‚t}|a|S)a?Sets the unittest option flags. The old flag is returned so that a runner could restore the old value if it wished to: >>> import doctest >>> old = doctest._unittest_reportflags >>> doctest.set_unittest_reportflags(REPORT_NDIFF | ... REPORT_ONLY_FIRST_FAILURE) == old True >>> doctest._unittest_reportflags == (REPORT_NDIFF | ... REPORT_ONLY_FIRST_FAILURE) True Only reporting flags can be set: >>> doctest.set_unittest_reportflags(ELLIPSIS) Traceback (most recent call last): ... ValueError: ('Only reporting flags allowed', 8) >>> doctest.set_unittest_reportflags(old) == (REPORT_NDIFF | ... REPORT_ONLY_FIRST_FAILURE) True zOnly reporting flags allowed)rrÂÚ_unittest_reportflags)r8Úolds r/rrls5€ð: •Ñ EÒ)Ð)ÝÐ7¸Ñ?Ô?Ð?Ý €CØ!ÐØ €Jr0cód—eZdZ dd„Zd„Zd„Zd„Zd„Zd„Zd „Z d „Z d „Z d „Z e jZd „ZdS)Ú DocTestCaser#NcóŠ—tj |¦«||_||_||_||_||_dSr‚)ÚunittestÚTestCaser­Ú_dt_optionflagsÚ _dt_checkerÚ_dt_testÚ _dt_setUpÚ _dt_tearDown)rr`rzÚsetUpÚtearDownr€s r/r­zDocTestCase.__init__’sG€õ Ô×"Ò" 4Ñ(Ô(Ð(Ø*ˆÔØ"ˆÔ؈Œ ؈ŒØ$ˆÔÐÐr0cóŒ—|j}|j ¦«|_|j�| |¦«dSdSr‚)rr7ràÚ _dt_globsr©rr`s r/r zDocTestCase.setUpœsD€ØŒ}ˆØœŸšÑ*Ô*ˆŒà Œ>Ð %Ø �NŠN˜4Ñ Ô Ð Ð Ð ð &Ð %r0có¼—|j}|j�| |¦«|j ¦«|j |j¦«dSr‚)rrr7rËrAr#r$s r/r!zDocTestCase.tearDown£sZ€ØŒ}ˆà Ô Ð (Ø × Ò ˜dÑ #Ô #Ð #ð Œ ×ÒÑÔÐØ Œ ×Ò˜$œ.Ñ)Ô)Ð)Ð)Ð)r0có°—|j}tj}t¦«}|j}|t zs |t z}t||jd¬¦«} d|_ |  ||j d¬¦«\}}|t_n#|t_wxYw|r:|  |  | ¦«¦«¦«‚dS)NF©rzr€r5zF----------------------------------------------------------------------)r¯rÎ)rrGr§r$rrrrrr’rÒrÂÚfailureExceptionÚformat_failurerr)rr`rÚnewrzr r}r|s r/ÚrunTestzDocTestCase.runTest­sê€ØŒ}ˆÝŒjˆÝ‰jŒjˆØÔ*ˆ à�oÑ-ð 1ð Õ0Ñ 0ˆKå¨;Ø'+Ô'7ÀðHñHôHˆð Ø#ˆFŒNØ$Ÿjšjؘ#œ)°ð)ñ8ô8‰OˆH�eð�CŒJˆJø˜�CŒJÐ Ð Ð Ð à ð MØ×'Ò'¨×(;Ò(;¸C¿LºL¹N¼NÑ(KÔ(KÑLÔLÐ Lð Mð Ms Á'B  Bc óØ—|j}|j€d}n d|jz}d |j d¦«dd…¦«}d|j›d|j›d|›d|›d |›� S) Nzunknown line numberz%sr�rŠúFailed doctest test for ú File "r�r‘z )rrÐrÅr.rŒr`)rÚerrr`rÐÚlnames r/r)zDocTestCase.format_failureÅs|€ØŒ}ˆØ Œ;Ð Ø*ˆFˆFà˜DœKÑ'ˆFØ—’˜œŸš¨Ñ-Ô-¨b¨c¨cÔ2Ñ3Ô3ˆˆð”9�9�9˜dœm˜m˜m¨V¨V¨V°U°U°U¸C¸CðAð r0cóÆ—| ¦«t|j|jd¬¦«}| |jd¬¦«| ¦«dS)aÒRun the test case without results and without catching exceptions The unit test framework includes a debug method on test cases and test suites to support post-mortem debugging. The test code is run in such a way that errors are not caught. This way a caller can catch the errors and initiate post-mortem debugging. The DocTestCase provides a debug method that raises UnexpectedException errors if there is an unexpected exception: >>> test = DocTestParser().get_doctest('>>> raise KeyError\n42', ... {}, 'foo', 'foo.py', 0) >>> case = DocTestCase(test) >>> try: ... case.debug() ... except UnexpectedException as f: ... failure = f The UnexpectedException contains the test, the example, and the original exception: >>> failure.test is test True >>> failure.example.want '42\n' >>> exc_info = failure.exc_info >>> raise exc_info[1] # Already has the traceback Traceback (most recent call last): ... KeyError If the output doesn't match, then a DocTestFailure is raised: >>> test = DocTestParser().get_doctest(''' ... >>> x = 1 ... >>> x ... 2 ... ''', {}, 'foo', 'foo.py', 0) >>> case = DocTestCase(test) >>> try: ... case.debug() ... except DocTestFailure as f: ... failure = f DocTestFailure objects provide access to the test: >>> failure.test is test True As well as to the example: >>> failure.example.want '2\n' and the actual output: >>> failure.got '1\n' Fr')rÎN)r rrrrÒrr!)rr s r/r"zDocTestCase.debugÑs_€ðD � Š ‰ Œ ˆ ݨÔ)=Ø%)Ô%5¸uðFñFôFˆà� Š �4”=¨eˆ Ñ4Ô4Ð4Ø � Š ‰Œˆˆˆr0có—|jjSr‚©rr.r¶s r/rézDocTestCase.id s €ØŒ}Ô!Ð!r0cóì—t|¦«t|¦«urtS|j|jko?|j|jko/|j|jko|j|jko|j|jkSr‚)rÔrÕrrrrrrÖs r/rØzDocTestCase.__eq__ s~€Ý �‰:Œ:�T %™[œ[Ð (Ð (Ý!Ð !àŒ} ¤Ò.ð5ØÔ# uÔ'<Ò<ð5àŒ~ ¤Ò0ð5ðÔ  EÔ$6Ò6ð5ðÔ 5Ô#4Ò4ð  5r0cóP—t|j|j|j|jf¦«Sr‚)rÚrrrrr¶s r/rÛzDocTestCase.__hash__& s-€Ý�TÔ)¨4¬>¸4Ô;LØÔ%ð'ñ(ô(ð (r0có’—|jj d¦«}|d›dd |dd…¦«›d�S)Nr�rŠrãú))rr.rŒrÅ)rr.s r/råzDocTestCase.__repr__* sG€ØŒ}Ô!×'Ò'¨Ñ,Ô,ˆØ  œH˜H˜H c§h¢h¨t°C°R°C¬yÑ&9Ô&9Ð&9Ð&9Ð:Ð:r0có —d|jjzS)Nz Doctest: r3r¶s r/ÚshortDescriptionzDocTestCase.shortDescription0 s€Ø˜Tœ]Ô/Ñ/Ð/r0)r#NNN)r?r†r‡r­r r!r+r)r"rérØrÛrårOrúr9rˆr0r/rr�sÔ€€€€€àAEØð%ð%ð%ð%ð!ð!ð!ð*ð*ð*ðMðMðMð0 ð ð ðFðFðFðP"ð"ð"ð5ð5ð5ð(ð(ð(ð;ð;ð;ðŒn€Gð0ð0ð0ð0ð0r0rcó*—eZdZd„Zd„Zd„Zd„ZeZdS)ÚSkipDocTestCasecóJ—||_t |d¦«dSr‚)rLrr­)rrLs r/r­zSkipDocTestCase.__init__4 s%€ØˆŒ Ý×Ò˜T 4Ñ(Ô(Ð(Ð(Ð(r0có0—| d¦«dS)Nz-DocTestSuite will not work with -O2 and above)ÚskipTestr¶s r/r zSkipDocTestCase.setUp8 s€Ø � Š ÐEÑFÔFÐFÐFÐFr0có—dSr‚rˆr¶s r/Ú test_skipzSkipDocTestCase.test_skip; ó€Ø ˆr0có —d|jjzS)NzSkipping tests from %s)rLr?r¶s r/r9z SkipDocTestCase.shortDescription> s€Ø'¨$¬+Ô*>Ñ>Ð>r0N)r?r†r‡r­r r@r9rúrˆr0r/r;r;3 sT€€€€€ð)ð)ð)ðGðGðGð ð ð ð?ð?ð?ð€G€G€Gr0r;có—eZdZd„ZdS)Ú _DocTestSuitecó—dSr‚rˆ)rr–s r/Ú_removeTestAtIndexz _DocTestSuite._removeTestAtIndexF rAr0N)r?r†r‡rFrˆr0r/rDrDD s#€€€€€ð ð ð ð ð r0rDc ó —|€t¦«}t|¦«}| |||¬¦«}|sGtjjdkr2t ¦«}| t|¦«¦«|S|  ¦«t ¦«}|D]h}t|j ¦«dkrŒ|j s&|j }|dd…dkr |dd…}||_ | t|fi|¤Ž¦«Œi|S)a Convert doctest tests for a module to a unittest test suite. This converts each documentation string in a module that contains doctest tests to a unittest test case. If any of the tests in a doc string fail, then the test case fails. An exception is raised showing the name of the file containing the test and a (sometimes approximate) line number. The `module` argument provides the module to be tested. The argument can be either a module or a module name. If no argument is given, the calling module is used. A number of options may be provided as keyword arguments: setUp A set-up function. This is called before running the tests in each file. The setUp function will be passed a DocTest object. The setUp function can access the test globals as the globs attribute of the test passed. tearDown A tear-down function. This is called after running the tests in each file. The tearDown function will be passed a DocTest object. The tearDown function can access the test globals as the globs attribute of the test passed. globs A dictionary containing initial global variables for the tests. optionflags A set of doctest option flags expressed as an integer. Nrr<r#rdrerŠ)rrNrŽrGr8ÚoptimizerDÚaddTestr;rCr,rÞr`r¾r) rLr7rEÚ test_finderrÑrFÚsuiter`r`s r/rrJ s€ðJÐÝ#‘o”oˆ å ˜vÑ &Ô &€FØ × Ò ˜V¨5¸ZÐ Ñ HÔ H€Eà ð•S”YÔ'¨!Ò+Ð+å‘”ˆØ � Š •o fÑ-Ô-Ñ.Ô.Ð.؈ à ‡J‚J�L„L€LÝ ‰OŒO€Eàð4ð4ˆÝ ˆtŒ}Ñ Ô  Ò "Ð "Ø ØŒ}ð %Ø”ˆHؘ˜˜Œ} Ò&Ð&Ø# C R Cœ=�Ø$ˆDŒMØ � Š •k $Ð2Ð2¨'Ð2Ð2Ñ3Ô3Ð3Ð3à €Lr0có —eZdZd„Zd„Zd„ZdS)Ú DocFileCasecóf—d |jj d¦«¦«S)NrÍr�)rÅrr.rŒr¶s r/rézDocFileCase.idŒ s'€Ø�xŠx˜œ Ô*×0Ò0°Ñ5Ô5Ñ6Ô6Ð6r0có—|jjSr‚)rr`r¶s r/råzDocFileCase.__repr__� s €ØŒ}Ô%Ð%r0có@—d|jj›d|jj›d|›�S)Nr-r.z ", line 0 )rr.r`)rr/s r/r)zDocFileCase.format_failure’ s.€€à”=Ô%Ð%Ð% t¤}Ô'=Ð'=Ð'=¸s¸sðDð r0N)r?r†r‡rérår)rˆr0r/rMrMŠ sA€€€€€ð7ð7ð7ð&ð&ð&ðððððr0rMc ó$—|€i}n| ¦«}|r|std¦«‚t||||pd¦«\}}d|vr||d<tj |¦«}| ||||d¦«} t| fi|¤ŽS)Nrr¾r¾r#)ràrÂrerÃrÄrrrM) rÄrbrar7r6rXrÑÚdocr.r`s r/Ú DocFileTestrS— sÇ€ð €}؈ˆà— ’ ‘ ” ˆàð,�ð,Ýð+ñ,ô,ð ,õ˜t W¨oØ'Ð2¨7ñ4ô4�I€Cˆð˜ÐÐØ ˆˆjÑõ Œ7× Ò ˜DÑ !Ô !€Dð × Ò ˜c 5¨$°°aÑ 8Ô 8€DÝ �tÐ 'Ð '˜wÐ 'Ð 'Ð'r0cóâ—t¦«}| dd¦«r%t| d¦«¦«|d<|D]"}| t |fi|¤Ž¦«Œ#|S)a‘A unittest suite for one or more doctest files. The path to each doctest file is given as a string; the interpretation of that string depends on the keyword argument "module_relative". A number of options may be provided as keyword arguments: module_relative If "module_relative" is True, then the given file paths are interpreted as os-independent module-relative paths. By default, these paths are relative to the calling module's directory; but if the "package" argument is specified, then they are relative to that package. To ensure os-independence, "filename" should use "/" characters to separate path segments, and may not be an absolute path (i.e., it may not begin with "/"). If "module_relative" is False, then the given file paths are interpreted as os-specific paths. These paths may be absolute or relative (to the current working directory). package A Python package or the name of a Python package whose directory should be used as the base directory for module relative paths. If "package" is not specified, then the calling module's directory is used as the base directory for module relative filenames. It is an error to specify "package" if "module_relative" is False. setUp A set-up function. This is called before running the tests in each file. The setUp function will be passed a DocTest object. The setUp function can access the test globals as the globs attribute of the test passed. tearDown A tear-down function. This is called after running the tests in each file. The tearDown function will be passed a DocTest object. The tearDown function can access the test globals as the globs attribute of the test passed. globs A dictionary containing initial global variables for the tests. optionflags A set of doctest option flags expressed as an integer. parser A DocTestParser (or subclass) that should be used to extract tests from the files. encoding An encoding that will be used to convert the files to unicode. rbTra)rDr4rNrIrS)ÚpathsÚkwrKrÄs r/rr± s}€õp ‰OŒO€Eð  ‡v‚vРÑ&Ô&ð=Ý)¨"¯&ª&°Ñ*;Ô*;Ñ<Ô<ˆˆ9‰ àð/ð/ˆØ � Š •k $Ð-Ð-¨"Ð-Ð-Ñ.Ô.Ð.Ð.à €Lr0có”—g}t¦« |¦«D]¬}t|t¦«rk| |jdd…¦«|j}|r?| d¦«|d„| d¦«dd…D¦«z }Œ‚|d„| d¦«dd…D¦«z }Œ­|r.|ddkr"| ¦«|r |ddk°"|r/|ddkr#| d¦«|r |ddk°#d  |¦«dzS) awExtract script from text with examples. Converts text with examples to a Python script. Example input is converted to regular code. Example output and all other words are converted to comments: >>> text = ''' ... Here are examples of simple math. ... ... Python has super accurate integer addition ... ... >>> 2 + 2 ... 5 ... ... And very friendly error messages: ... ... >>> 1/0 ... To Infinity ... And ... Beyond ... ... You can use logic if you want: ... ... >>> if 0: ... ... blah ... ... blah ... ... ... ... Ho hum ... ''' >>> print(script_from_examples(text)) # Here are examples of simple math. # # Python has super accurate integer addition # 2 + 2 # Expected: ## 5 # # And very friendly error messages: # 1/0 # Expected: ## To Infinity ## And ## Beyond # # You can use logic if you want: # if 0: blah blah # # Ho hum NrŠz # Expected:có—g|]}d|z‘ŒS)z## rˆ©rñròs r/rôz(script_from_examples..= s€ÐBÐBÐB q˜5 ™7ÐBÐBÐBr0r}có,—g|]}t|¦«‘ŒSrˆ)ršrYs r/rôz(script_from_examples..@ s0€ð8ð8ð8Øõ% QÑ'Ô'ð8ð8ð8r0r—r#) rrrBrrúrÏr�rŒÚpoprÅ)rkrÚpiecer�s r/rrú s}€ðt€FÝ‘”×&Ò& qÑ)Ô)ð 8ð 8ˆÝ �e�WÑ %Ô %ð 8à �MŠM˜%œ, s¨ sÔ+Ñ ,Ô ,Ð ,à”:ˆDØð CØ— ’ ˜mÑ,Ô,Ð,ØÐBÐB¨D¯JªJ°tÑ,<Ô,<¸S¸b¸SÔ,AÐBÑBÔBÑB�øð ð8ð8Ø %§ ¢ ¨DÑ 1Ô 1°#°2°#Ô 6ð8ñ8ô8ñ 8ˆFˆFð ð�V˜B”Z 3Ò&Ð&Ø� Š ‰ Œ ˆ ð ð�V˜B”Z 3Ò&Ð&à ð�V˜A”Y #Ò%Ð%Ø� Š �1‰ Œ ˆ ð ð�V˜A”Y #Ò%Ð%ð �9Š9�VÑ Ô ˜tÑ #Ð#r0cóà‡—t|¦«}t¦« |¦«}ˆfd„|D¦«}|st‰d¦«‚|d}t |j¦«}|S)aExtract the test sources from a doctest docstring as a script. Provide the module (or dotted name of the module) containing the test to be debugged and the name (within the module) of the object with the doc string with tests to be debugged. có*•—g|]}|j‰k¯ |‘ŒSrˆr-)rñr°r.s €r/rôztestsource..U s ø€Ð /Ð /Ð /�! ¤¨$¢ ˆA   r0znot found in testsr#)rNrrŽrÂrrß)rLr.rFr`Útestsrcs ` r/r r L sxø€õ˜vÑ &Ô &€FÝ ‰OŒO× Ò  Ñ (Ô (€EØ /Ð /Ð /Ð /�uÐ /Ñ /Ô /€DØ ð5ݘÐ3Ñ4Ô4Ð4Ø �Œ7€DÝ" 4¤>Ñ2Ô2€GØ €Nr0cóF—t|¦«}t|||¦«dS)z4Debug a single doctest docstring, in argument `src`'N)rÚ debug_script)ÚsrcÚpmr7r_s r/r!r!\ s'€å" 3Ñ'Ô'€GÝ�˜"˜eÑ$Ô$Ð$Ð$Ð$r0có¾—ddl}|r| ¦«}ni}|r” t|||¦«dS#tt j¦«d¦«|jd¬¦«}| ¦«| dt j¦«d¦«YdSxYw|jd¬¦«  d|z||¦«dS)z7Debug a test script. `src` is the script, as a string.r#Nr)T)r¨r<zexec(%r)) r«ràršrYrGrsr¬rÅÚ interactionrÒ)rbrcr7r«Úps r/raraa sê€à€J€J€Jà ðØ— ’ ‘ ” ˆˆàˆà ð Cð 3Ý ��e˜UÑ #Ô #Ð #Ð #Ð #øð 3Ý •#”,‘.”. Ô#Ñ $Ô $Ð $Ø�” Ð&Ñ&Ô&ˆAØ �GŠG‰IŒIˆIØ �MŠM˜$¥¤ ¡¤¨qÔ 1Ñ 2Ô 2Ð 2Ð 2Ð 2Ð 2øøøàˆŒ˜ÐÑÔ×"Ò" :°Ñ#3°U¸EÑBÔBÐBÐBÐBs ¡4´A:B1cóp—t|¦«}t||¦«}t|||j¦«dS)zåDebug a single doctest docstring. Provide the module (or dotted name of the module) containing the test to be debugged and the name (within the module) of the object with the docstring with tests to be debugged. N)rNr rar@)rLr.rcr_s r/r"r"u s:€õ˜vÑ &Ô &€Fݘ Ñ&Ô&€GÝ�˜"˜fœoÑ.Ô.Ð.Ð.Ð.r0có$—eZdZdZd„Zd„Zd„ZdS)Ú _TestClasszå A pointless class, for sanity-checking of docstring testing. Methods: square() get() >>> _TestClass(13).get() + _TestClass(-12).get() 1 >>> hex(_TestClass(13).square().get()) '0xa9' có—||_dS)z„val -> _TestClass object with associated value val. >>> t = _TestClass(123) >>> print(t.get()) 123 N©rb)rrbs r/r­z_TestClass.__init__‘ s€ðˆŒˆˆr0có$—|jdz|_|S)zosquare() -> square TestClass's associated value >>> _TestClass(13).square().get() 169 r<rkr¶s r/Úsquarez_TestClass.square› s€ð”8˜q‘=ˆŒØˆ r0có—|jS)z~get() -> return TestClass's associated value. >>> x = _TestClass(-42) >>> print(x.get()) -42 rkr¶s r/r4z_TestClass.get¥ s €ðŒxˆr0N)r?r†r‡r»r­rmr4rˆr0r/ririƒ sK€€€€€ð ð ðððððððððððr0rizÄ Example of a string object, searched as-is. >>> x = 1; y = 2 >>> x + y, x * y (3, 2) aÜ In 2.2, boolean expressions displayed 0 or 1. By default, we still accept them. This can be disabled by passing DONT_ACCEPT_TRUE_FOR_1 to the new optionflags argument. >>> 4 == 4 1 >>> 4 == 4 True >>> 4 > 4 0 >>> 4 > 4 False zç Blank lines can be marked with : >>> print('foo\n\nbar\n') foo bar zú If the ellipsis flag is used, then '...' can be used to elide substrings in the desired output: >>> print(list(range(1000))) #doctest: +ELLIPSIS [0, 1, 2, ..., 999] aƒ If the whitespace normalization flag is used, then differences in whitespace are ignored. >>> print(list(range(30))) #doctest: +NORMALIZE_WHITESPACE [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29] )rirÿzbool-int equivalencez blank linesÚellipsiszwhitespace normalizationcó4—ddl}| d¬¦«}| ddddd¬ ¦«| d d d t ¦«gd ¬¦«| dddd¬¦«| ddd¬¦«| ¦«}|j}|j}d}|jD]}|t|z}Œ|j r |tz}|D]®}|  d¦«r|tj  |¦«\}}tj  d|¦«t#|dd…¦«} tj d=t%| ||¬¦«\} } nt'|d||¬¦«\} } | rdSŒ¯dS)Nr#zdoctest runner)Ú descriptionrxz --verboseÚ store_trueFz'print very verbose output for all tests)ÚactionÚdefaultÚhelpz-oz--optionrúzqspecify a doctest option flag to apply to the test run; may be specified more than once to apply multiple options)rsÚchoicesrtruz-fz --fail-fastzystop running tests after first failure (this is a shorthand for -o FAIL_FAST, and is in addition to any other -o options))rsrurorz file containing the tests to run)Únargsruz.pyéýÿÿÿr)rbr5rzr))ÚargparseÚArgumentParserÚ add_argumentr*ÚkeysÚ parse_argsror5rÚ fail_fastrr~rÃrÄrŒrGÚinsertrDrr) ryr6r¹Ú testfilesr5rÑrr`Údirnamerr}rÍs r/Ú_testr‚â s €Ø€O€O€Oà × $Ò $Ð1AÐ $Ñ BÔ B€FØ ×Ò˜˜k°,ÈØFðñHôHðHà ×Ò˜˜j°Ý 3× 8Ò 8Ñ :Ô :ÀBðEðñGôGðGð  ×Ò˜˜m°LðFðñHôHðHð ×Ò˜ cØ?ðñAôAðAà × Ò Ñ Ô €DØ” €IðŒl€GØ€GØ”+ð/ð/ˆØÕ& vÔ.Ñ.ˆˆØ „~ðØ•9шØððˆØ × Ò ˜UÑ #Ô #ð Kõ!#¤§ ¢ ¨hÑ 7Ô 7Ñ ˆG�XÝ ŒH�OŠO˜A˜wÑ 'Ô 'Ð 'ݘ8 C R Cœ=Ñ)Ô)ˆAÝ”˜� Ý! !¨WÀ'ÐJÑJÔJ‰KˆH�a�aå" 8¸UØ-4À'ðKñKôK‰KˆH�aà ð Ø�1�1ð à ˆ1r0r¿)r<)rf) NNNNTr#NFF)FrNr#ru)FN)F)Tr»Ú __docformat__Ú__all__r2rër@r>rÃr«rirGrprÚior$r%Ú collectionsr&r'r*rrrrrrrr r r r r rrrär‹r;rNrSrermrxrzr•ršr£r¬r¥rYrrrrrrÚ Exceptionrrrrrrrrrrrr;Ú TestSuiterDrrMrSrrr r!rar"rirXr‚r?Úexitrˆr0r/úrŠsXðð%ð%ðN&€ ð+ ð+ ð+ €ðZÐÐÐØ€€€Ø€€€ØÐÐÐØ € € € Ø € € € Ø € € € Ø € € € ØÐÐÐØ€€€Ø2Ð2Ð2Ð2Ð2Ð2Ð2Ð2Ø"Ð"Ð"Ð"Ð"Ð"àˆj˜Ð(:Ñ;Ô;€ ð.ÐðOðOðOð-Ð,Ð-EÑFÔFÐØ+Ð+Ð,CÑDÔDÐØ*Ð*Ð+AÑBÔBÐØ Ð ˜zÑ *Ô *€ØÐ˜6Ñ"Ô"€Ø-Ð-Ð.GÑHÔHÐà*Ø)ñ*à(ñ)ðñðñ ð ,ñ ,Ðð#Ð" >Ñ2Ô2€ Ø"Ð" >Ñ2Ô2€ Ø"Ð" >Ñ2Ô2€ Ø/Ð/Ð0KÑLÔLÐØ Ð   Ñ ,Ô ,€ àØñ àñ ð-ñ-ðñ €ð!ÐØ€ð& ð ð ð>ð>ð>ð>ð&DðDðDð"ð"ð"ð$/ð/ð/ð/ð ð ð ð  ð  ð  ð  ð  �ñ  ô  ð  ð/ð/ð/ðbðððððð4"%ð"%ð"%ð"%ð"%˜CœGñ"%ô"%ð"%ðJ ,ð ,ð ,ð\B$ðB$ðB$ðB$ðB$ñB$ôB$ðB$ðHGDðGDðGDðGDðGDñGDôGDðGDðZd;ðd;ðd;ðd;ðd;ñd;ôd;ðd;ðVDðDðDðDðDñDôDðDðT GðGðGðGðGñGôGðGðRP5ðP5ðP5ðP5ðP5ñP5ôP5ðP5ðdðððð�Yñôðð&ðððð˜)ñôðð&e1ðe1ðe1ðe1ðe1�-ñe1ôe1ðe1ð\ €à37Ø37Ø05ðf6ðf6ðf6ðf6ðP(,°$ÀØ ¨dÀبU¸=¸=¹?¼?Øðy6ðy6ðy6ðy6ðv:BØ:;ð4ð4ð4ð4ð6Ðð!ð!ð!ðHa0ða0ða0ða0ða0�(Ô#ña0ôa0ða0ðFðððð�kñôðð" ð ð ð ð �HÔ&ñ ô ð ð >ð>ð>ð>ð@ ð ð ð ð �+ñ ô ð ð'+°DØ = =¡?¤?Øð(ð(ð(ð(ð4CðCðCðRP$ðP$ðP$ðdððð %ð%ð%ð%ð CðCðCðCð( /ð /ð /ð /ð*ð*ð*ð*ð*ñ*ô*ð*ðX%ðð%(ð ðð)ðQ0 ð0 €ðf* ð* ð* ðZ ˆzÒÐØ €C„HˆUˆU‰WŒWÑÔÐÐÐðÐr0