/snap/core22/2437/usr/lib/python3.10/unittest/__pycache__
Edit: /snap/core22/2437/usr/lib/python3.10/unittest/__pycache__/loader.cpython-310.pyc (14424B)
o
p̦iX @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlmZm Z ddl
mZmZm
Z
dZedejZG dd d ejZd
d Zdd
Zdd Zdd Zdd ZG dd deZe ZdddZe
jdfddZde
jejfddZ de
jejfddZ!dS ) zLoading unittests. N)fnmatchfnmatchcase )casesuiteutilTz[_a-z]\w*\.py$c s, e Zd ZdZ fddZ fddZ ZS )_FailedTestNc s || _ tt| | d S N)
_exceptionsuperr __init__)selfmethod_name exception __class__ &/usr/lib/python3.10/unittest/loader.pyr s z_FailedTest.__init__c s* | j kr
tt |S fdd}|S )Nc s j r )r
r r
r r testFailure! s z,_FailedTest.__getattr__.
.testFailure)_testMethodNamer r __getattr__)r
namer r r r r s
z_FailedTest.__getattr__)__name__
__module____qualname__r r r
__classcell__r r r r r s r c C s" d| t f }t| t|||S )Nz#Failed to import test module: %s
%s) traceback
format_exc_make_failed_testImportError)r
suiteClassmessager r r _make_failed_import_test&