/usr/lib/python3.10/unittest/__pycache__
NameSizeModeActions
async_case.cpython-310.pyc47460644editdlrm
case.cpython-310.pyc484900644editdlrm
loader.cpython-310.pyc144240644editdlrm
main.cpython-310.pyc75560644editdlrm
mock.cpython-310.pyc798130644editdlrm
result.cpython-310.pyc80390644editdlrm
runner.cpython-310.pyc69520644editdlrm
signals.cpython-310.pyc22530644editdlrm
suite.cpython-310.pyc102680644editdlrm
util.cpython-310.pyc45400644editdlrm
_log.cpython-310.pyc26880644editdlrm
__init__.cpython-310.pyc33950644editdlrm
__main__.cpython-310.pyc4020644editdlrm
Edit: /usr/lib/python3.10/unittest/__pycache__/__init__.cpython-310.pyc (3395B)
o 9j@sdZgdZegddZddlmZddlmZmZm Z m Z m Z m Z m Z mZddlmZmZddlmZmZmZmZmZdd lmZmZdd lmZmZdd lmZmZm Z m!Z!eZ"d d Z#ddZ$ddZ%dS)a Python unit testing framework, based on Erich Gamma's JUnit and Kent Beck's Smalltalk testing framework (used with permission). This module contains the core framework classes that form the basis of specific test cases and suites (TestCase, TestSuite etc.), and also a text-based utility class for running the tests and reporting the results (TextTestRunner). Simple usage: import unittest class IntegerArithmeticTestCase(unittest.TestCase): def testAdd(self): # test method names begin with 'test' self.assertEqual((1 + 2), 3) self.assertEqual(0 + 1, 1) def testMultiply(self): self.assertEqual((0 * 10), 0) self.assertEqual((5 * 8), 40) if __name__ == '__main__': unittest.main() Further information is available in the bundled documentation, and from http://docs.python.org/library/unittest.html Copyright (c) 1999-2003 Steve Purcell Copyright (c) 2003-2010 Python Software Foundation This module is free software, and you may redistribute it and/or modify it under the same terms as Python itself, so long as this copyright message and disclaimer are retained in their original form. IN NO EVENT SHALL THE AUTHOR BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHOR SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. ) TestResultTestCaseIsolatedAsyncioTestCase TestSuiteTextTestRunner TestLoaderFunctionTestCasemaindefaultTestLoaderSkipTestskipskipIf skipUnlessexpectedFailureTextTestResultinstallHandlerregisterResult removeResult removeHandleraddModuleCleanup)getTestCaseNames makeSuite findTestCasesT)r)rrrr r r r r) BaseTestSuiter)rr rrr) TestProgramr)rr)rrrrcCs"ddl}|jt}|j||dS)N) start_dirpattern)os.pathpathdirname__file__discover)loadertestsrosthis_dirr'(/usr/lib/python3.10/unittest/__init__.py load_testsLs r)cCstdhBS)Nr)globalskeysr'r'r'r(__dir__Wsr,cCs,|dkr ddlmatStdtd|)Nrr)rzmodule z has no attribute ) async_caserAttributeError__name__)namer'r'r( __getattr__Zs r1N)&__doc____all__extend __unittestresultrcaserrrr r r r rsuiterrr#rr rrrrrrunnerrrsignalsrrrr_TextTestResultr)r,r1r'r'r'r(s. (