com.googler.python 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -9
- package/python3.6.2/bin/2to3 +1 -1
- package/python3.6.2/bin/2to3-3.4 +1 -1
- package/python3.6.2/bin/easy_install-3.4 +1 -1
- package/python3.6.2/bin/idle3 +1 -1
- package/python3.6.2/bin/pip3 +1 -1
- package/python3.6.2/bin/pydoc3 +1 -1
- package/python3.6.2/bin/pyvenv +1 -1
- package/python3.6.2/lib/python3.6/LICENSE.txt +254 -0
- package/python3.6.2/lib/python3.6/__future__.pyc +0 -0
- package/python3.6.2/lib/python3.6/__phello__.foo.pyc +0 -0
- package/python3.6.2/lib/python3.6/_bootlocale.pyc +0 -0
- package/python3.6.2/lib/python3.6/_collections_abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/_compat_pickle.pyc +0 -0
- package/python3.6.2/lib/python3.6/_compression.pyc +0 -0
- package/python3.6.2/lib/python3.6/_dummy_thread.pyc +0 -0
- package/python3.6.2/lib/python3.6/_markupbase.pyc +0 -0
- package/python3.6.2/lib/python3.6/_osx_support.pyc +0 -0
- package/python3.6.2/lib/python3.6/_pydecimal.pyc +0 -0
- package/python3.6.2/lib/python3.6/_pyio.pyc +0 -0
- package/python3.6.2/lib/python3.6/_sitebuiltins.pyc +0 -0
- package/python3.6.2/lib/python3.6/_strptime.pyc +0 -0
- package/python3.6.2/lib/python3.6/_threading_local.pyc +0 -0
- package/python3.6.2/lib/python3.6/_weakrefset.pyc +0 -0
- package/python3.6.2/lib/python3.6/abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/aifc.pyc +0 -0
- package/python3.6.2/lib/python3.6/android.pyc +0 -0
- package/python3.6.2/lib/python3.6/antigravity.pyc +0 -0
- package/python3.6.2/lib/python3.6/argparse.pyc +0 -0
- package/python3.6.2/lib/python3.6/ast.pyc +0 -0
- package/python3.6.2/lib/python3.6/asynchat.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_futures.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_subprocess.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/base_tasks.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/compat.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/constants.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/coroutines.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/futures.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/locks.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/log.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/proactor_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/protocols.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/queues.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/selector_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/sslproto.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/streams.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/subprocess.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/tasks.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/test_utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/transports.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/unix_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_events.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/asyncore.pyc +0 -0
- package/python3.6.2/lib/python3.6/base64.pyc +0 -0
- package/python3.6.2/lib/python3.6/bdb.pyc +0 -0
- package/python3.6.2/lib/python3.6/binhex.pyc +0 -0
- package/python3.6.2/lib/python3.6/bisect.pyc +0 -0
- package/python3.6.2/lib/python3.6/bz2.pyc +0 -0
- package/python3.6.2/lib/python3.6/cProfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/calendar.pyc +0 -0
- package/python3.6.2/lib/python3.6/cgi.pyc +0 -0
- package/python3.6.2/lib/python3.6/cgitb.pyc +0 -0
- package/python3.6.2/lib/python3.6/chunk.pyc +0 -0
- package/python3.6.2/lib/python3.6/cmd.pyc +0 -0
- package/python3.6.2/lib/python3.6/code.pyc +0 -0
- package/python3.6.2/lib/python3.6/codecs.pyc +0 -0
- package/python3.6.2/lib/python3.6/codeop.pyc +0 -0
- package/python3.6.2/lib/python3.6/collections/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/collections/abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/colorsys.pyc +0 -0
- package/python3.6.2/lib/python3.6/compileall.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/_base.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/process.pyc +0 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/thread.pyc +0 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Makefile +1808 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup +397 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.config +10 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.local +1 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c +114 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c.in +67 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/install-sh +294 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/makesetup +296 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/python-config.pyc +0 -0
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/python.o +0 -0
- package/python3.6.2/lib/python3.6/configparser.pyc +0 -0
- package/python3.6.2/lib/python3.6/contextlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/copy.pyc +0 -0
- package/python3.6.2/lib/python3.6/copyreg.pyc +0 -0
- package/python3.6.2/lib/python3.6/crypt.pyc +0 -0
- package/python3.6.2/lib/python3.6/csv.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/_endian.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/framework.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/ctypes/wintypes.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/ascii.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/has_key.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/panel.pyc +0 -0
- package/python3.6.2/lib/python3.6/curses/textpad.pyc +0 -0
- package/python3.6.2/lib/python3.6/datetime.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/dumb.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/gnu.pyc +0 -0
- package/python3.6.2/lib/python3.6/dbm/ndbm.pyc +0 -0
- package/python3.6.2/lib/python3.6/decimal.pyc +0 -0
- package/python3.6.2/lib/python3.6/difflib.pyc +0 -0
- package/python3.6.2/lib/python3.6/dis.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/_msvccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/archive_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/bcppcompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/ccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/cmd.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_clib.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_ext.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_py.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_scripts.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/check.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/clean.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/config.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_data.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_headers.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_lib.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_scripts.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/register.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/sdist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/upload.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/config.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/core.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/debug.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/dep_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/dir_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/dist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/errors.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/extension.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/fancy_getopt.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/file_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/filelist.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/log.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/msvc9compiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/msvccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/spawn.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/sysconfig.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/text_file.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/unixccompiler.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/version.pyc +0 -0
- package/python3.6.2/lib/python3.6/distutils/versionpredicate.pyc +0 -0
- package/python3.6.2/lib/python3.6/doctest.pyc +0 -0
- package/python3.6.2/lib/python3.6/dummy_threading.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_encoded_words.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_header_value_parser.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_parseaddr.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/_policybase.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/base64mime.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/charset.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/contentmanager.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/encoders.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/errors.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/feedparser.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/generator.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/header.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/headerregistry.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/iterators.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/message.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/application.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/audio.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/base.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/image.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/message.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/multipart.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/nonmultipart.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/mime/text.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/parser.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/policy.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/quoprimime.pyc +0 -0
- package/python3.6.2/lib/python3.6/email/utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/aliases.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/ascii.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/base64_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/big5.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/big5hkscs.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/bz2_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/charmap.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp037.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1006.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1026.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1125.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1140.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1250.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1251.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1252.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1253.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1254.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1255.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1256.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1257.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp1258.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp273.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp424.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp437.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp500.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp65001.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp720.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp737.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp775.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp850.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp852.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp855.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp856.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp857.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp858.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp860.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp861.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp862.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp863.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp864.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp865.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp866.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp869.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp874.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp875.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp932.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp949.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/cp950.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jp.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/euc_kr.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/gb18030.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/gb2312.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/gbk.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/hex_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/hp_roman8.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/hz.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/idna.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_kr.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_1.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_10.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_11.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_13.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_14.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_15.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_16.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_2.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_3.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_4.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_5.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_6.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_7.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_8.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_9.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/johab.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_r.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_t.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_u.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/kz1048.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/latin_1.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_arabic.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_centeuro.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_croatian.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_farsi.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_greek.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_iceland.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_latin2.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_roman.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_romanian.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mac_turkish.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/mbcs.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/oem.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/palmos.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/ptcp154.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/punycode.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/quopri_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/rot_13.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/tis_620.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/undefined.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_escape.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_internal.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_be.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_le.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_be.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_le.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_7.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8_sig.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/uu_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/encodings/zlib_codec.pyc +0 -0
- package/python3.6.2/lib/python3.6/ensurepip/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ensurepip/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/ensurepip/_uninstall.pyc +0 -0
- package/python3.6.2/lib/python3.6/enum.pyc +0 -0
- package/python3.6.2/lib/python3.6/filecmp.pyc +0 -0
- package/python3.6.2/lib/python3.6/fileinput.pyc +0 -0
- package/python3.6.2/lib/python3.6/fnmatch.pyc +0 -0
- package/python3.6.2/lib/python3.6/formatter.pyc +0 -0
- package/python3.6.2/lib/python3.6/fractions.pyc +0 -0
- package/python3.6.2/lib/python3.6/ftplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/functools.pyc +0 -0
- package/python3.6.2/lib/python3.6/genericpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/getopt.pyc +0 -0
- package/python3.6.2/lib/python3.6/getpass.pyc +0 -0
- package/python3.6.2/lib/python3.6/gettext.pyc +0 -0
- package/python3.6.2/lib/python3.6/glob.pyc +0 -0
- package/python3.6.2/lib/python3.6/gzip.pyc +0 -0
- package/python3.6.2/lib/python3.6/hashlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/heapq.pyc +0 -0
- package/python3.6.2/lib/python3.6/hmac.pyc +0 -0
- package/python3.6.2/lib/python3.6/html/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/html/entities.pyc +0 -0
- package/python3.6.2/lib/python3.6/html/parser.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/client.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/cookiejar.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/cookies.pyc +0 -0
- package/python3.6.2/lib/python3.6/http/server.pyc +0 -0
- package/python3.6.2/lib/python3.6/imaplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/imghdr.pyc +0 -0
- package/python3.6.2/lib/python3.6/imp.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/abc.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/machinery.pyc +0 -0
- package/python3.6.2/lib/python3.6/importlib/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/inspect.pyc +0 -0
- package/python3.6.2/lib/python3.6/io.pyc +0 -0
- package/python3.6.2/lib/python3.6/ipaddress.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/decoder.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/encoder.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/scanner.pyc +0 -0
- package/python3.6.2/lib/python3.6/json/tool.pyc +0 -0
- package/python3.6.2/lib/python3.6/keyword.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/Grammar3.6.3.final.0.pickle +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/PatternGrammar3.6.3.final.0.pickle +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_utils.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_base.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_util.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/main.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/patcomp.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pygram.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/pytree.pyc +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/refactor.pyc +0 -0
- package/python3.6.2/lib/python3.6/linecache.pyc +0 -0
- package/python3.6.2/lib/python3.6/locale.pyc +0 -0
- package/python3.6.2/lib/python3.6/logging/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/logging/config.pyc +0 -0
- package/python3.6.2/lib/python3.6/logging/handlers.pyc +0 -0
- package/python3.6.2/lib/python3.6/lzma.pyc +0 -0
- package/python3.6.2/lib/python3.6/macpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/macurl2path.pyc +0 -0
- package/python3.6.2/lib/python3.6/mailbox.pyc +0 -0
- package/python3.6.2/lib/python3.6/mailcap.pyc +0 -0
- package/python3.6.2/lib/python3.6/mimetypes.pyc +0 -0
- package/python3.6.2/lib/python3.6/modulefinder.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/connection.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/context.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/forkserver.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/heap.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/managers.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/pool.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/process.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/queues.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/reduction.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/spawn.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/synchronize.pyc +0 -0
- package/python3.6.2/lib/python3.6/multiprocessing/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/netrc.pyc +0 -0
- package/python3.6.2/lib/python3.6/nntplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/ntpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/nturl2path.pyc +0 -0
- package/python3.6.2/lib/python3.6/numbers.pyc +0 -0
- package/python3.6.2/lib/python3.6/opcode.pyc +0 -0
- package/python3.6.2/lib/python3.6/operator.pyc +0 -0
- package/python3.6.2/lib/python3.6/optparse.pyc +0 -0
- package/python3.6.2/lib/python3.6/os.pyc +0 -0
- package/python3.6.2/lib/python3.6/pathlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/pdb.pyc +0 -0
- package/python3.6.2/lib/python3.6/pickle.pyc +0 -0
- package/python3.6.2/lib/python3.6/pickletools.pyc +0 -0
- package/python3.6.2/lib/python3.6/pipes.pyc +0 -0
- package/python3.6.2/lib/python3.6/pkgutil.pyc +0 -0
- package/python3.6.2/lib/python3.6/platform.pyc +0 -0
- package/python3.6.2/lib/python3.6/plistlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/poplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/posixpath.pyc +0 -0
- package/python3.6.2/lib/python3.6/pprint.pyc +0 -0
- package/python3.6.2/lib/python3.6/profile.pyc +0 -0
- package/python3.6.2/lib/python3.6/pstats.pyc +0 -0
- package/python3.6.2/lib/python3.6/pty.pyc +0 -0
- package/python3.6.2/lib/python3.6/py_compile.pyc +0 -0
- package/python3.6.2/lib/python3.6/pyclbr.pyc +0 -0
- package/python3.6.2/lib/python3.6/pydoc.pyc +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/topics.pyc +0 -0
- package/python3.6.2/lib/python3.6/queue.pyc +0 -0
- package/python3.6.2/lib/python3.6/quopri.pyc +0 -0
- package/python3.6.2/lib/python3.6/random.pyc +0 -0
- package/python3.6.2/lib/python3.6/re.pyc +0 -0
- package/python3.6.2/lib/python3.6/reprlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/rlcompleter.pyc +0 -0
- package/python3.6.2/lib/python3.6/runpy.pyc +0 -0
- package/python3.6.2/lib/python3.6/sched.pyc +0 -0
- package/python3.6.2/lib/python3.6/secrets.pyc +0 -0
- package/python3.6.2/lib/python3.6/selectors.pyc +0 -0
- package/python3.6.2/lib/python3.6/shelve.pyc +0 -0
- package/python3.6.2/lib/python3.6/shlex.pyc +0 -0
- package/python3.6.2/lib/python3.6/shutil.pyc +0 -0
- package/python3.6.2/lib/python3.6/signal.pyc +0 -0
- package/python3.6.2/lib/python3.6/site.pyc +0 -0
- package/python3.6.2/lib/python3.6/smtpd.pyc +0 -0
- package/python3.6.2/lib/python3.6/smtplib.pyc +0 -0
- package/python3.6.2/lib/python3.6/sndhdr.pyc +0 -0
- package/python3.6.2/lib/python3.6/socket.pyc +0 -0
- package/python3.6.2/lib/python3.6/socketserver.pyc +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/dbapi2.pyc +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/dump.pyc +0 -0
- package/python3.6.2/lib/python3.6/sre_compile.pyc +0 -0
- package/python3.6.2/lib/python3.6/sre_constants.pyc +0 -0
- package/python3.6.2/lib/python3.6/sre_parse.pyc +0 -0
- package/python3.6.2/lib/python3.6/ssl.pyc +0 -0
- package/python3.6.2/lib/python3.6/stat.pyc +0 -0
- package/python3.6.2/lib/python3.6/statistics.pyc +0 -0
- package/python3.6.2/lib/python3.6/string.pyc +0 -0
- package/python3.6.2/lib/python3.6/stringprep.pyc +0 -0
- package/python3.6.2/lib/python3.6/struct.pyc +0 -0
- package/python3.6.2/lib/python3.6/subprocess.pyc +0 -0
- package/python3.6.2/lib/python3.6/sunau.pyc +0 -0
- package/python3.6.2/lib/python3.6/symbol.pyc +0 -0
- package/python3.6.2/lib/python3.6/symtable.pyc +0 -0
- package/python3.6.2/lib/python3.6/sysconfig.pyc +0 -0
- package/python3.6.2/lib/python3.6/tabnanny.pyc +0 -0
- package/python3.6.2/lib/python3.6/tarfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/telnetlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/tempfile.pyc +0 -0
- package/python3.6.2/lib/python3.6/textwrap.pyc +0 -0
- package/python3.6.2/lib/python3.6/this.pyc +0 -0
- package/python3.6.2/lib/python3.6/threading.pyc +0 -0
- package/python3.6.2/lib/python3.6/timeit.pyc +0 -0
- package/python3.6.2/lib/python3.6/token.pyc +0 -0
- package/python3.6.2/lib/python3.6/tokenize.pyc +0 -0
- package/python3.6.2/lib/python3.6/trace.pyc +0 -0
- package/python3.6.2/lib/python3.6/traceback.pyc +0 -0
- package/python3.6.2/lib/python3.6/tracemalloc.pyc +0 -0
- package/python3.6.2/lib/python3.6/tty.pyc +0 -0
- package/python3.6.2/lib/python3.6/turtle.pyc +0 -0
- package/python3.6.2/lib/python3.6/types.pyc +0 -0
- package/python3.6.2/lib/python3.6/typing.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/case.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/loader.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/main.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/mock.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/result.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/runner.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/signals.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/suite.pyc +0 -0
- package/python3.6.2/lib/python3.6/unittest/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/error.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/parse.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/request.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/response.pyc +0 -0
- package/python3.6.2/lib/python3.6/urllib/robotparser.pyc +0 -0
- package/python3.6.2/lib/python3.6/uu.pyc +0 -0
- package/python3.6.2/lib/python3.6/uuid.pyc +0 -0
- package/python3.6.2/lib/python3.6/venv/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/venv/__main__.pyc +0 -0
- package/python3.6.2/lib/python3.6/warnings.pyc +0 -0
- package/python3.6.2/lib/python3.6/wave.pyc +0 -0
- package/python3.6.2/lib/python3.6/weakref.pyc +0 -0
- package/python3.6.2/lib/python3.6/webbrowser.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/handlers.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/headers.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/simple_server.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/util.pyc +0 -0
- package/python3.6.2/lib/python3.6/wsgiref/validate.pyc +0 -0
- package/python3.6.2/lib/python3.6/xdrlib.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/domreg.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/minicompat.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/minidom.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/pulldom.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementPath.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementTree.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/etree/cElementTree.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/parsers/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/parsers/expat.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/_exceptions.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/expatreader.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/handler.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/saxutils.pyc +0 -0
- package/python3.6.2/lib/python3.6/xml/sax/xmlreader.pyc +0 -0
- package/python3.6.2/lib/python3.6/xmlrpc/__init__.pyc +0 -0
- package/python3.6.2/lib/python3.6/xmlrpc/client.pyc +0 -0
- package/python3.6.2/lib/python3.6/xmlrpc/server.pyc +0 -0
- package/python3.6.2/lib/python3.6/zipapp.pyc +0 -0
- package/python3.6.2/lib/python3.6/zipfile.pyc +0 -0
- package/python3.6.2/bin/idle3.4 +0 -5
- package/python3.6.2/bin/pip3.4 +0 -11
- package/python3.6.2/bin/pydoc3.4 +0 -5
- package/python3.6.2/bin/pyvenv-3.4 +0 -11
- package/python3.6.2/lib/python3.6/__future__.py +0 -140
- package/python3.6.2/lib/python3.6/__phello__.foo.py +0 -1
- package/python3.6.2/lib/python3.6/_bootlocale.py +0 -34
- package/python3.6.2/lib/python3.6/_collections_abc.py +0 -1008
- package/python3.6.2/lib/python3.6/_compat_pickle.py +0 -251
- package/python3.6.2/lib/python3.6/_compression.py +0 -152
- package/python3.6.2/lib/python3.6/_dummy_thread.py +0 -163
- package/python3.6.2/lib/python3.6/_markupbase.py +0 -395
- package/python3.6.2/lib/python3.6/_osx_support.py +0 -502
- package/python3.6.2/lib/python3.6/_pydecimal.py +0 -6449
- package/python3.6.2/lib/python3.6/_pyio.py +0 -2531
- package/python3.6.2/lib/python3.6/_sitebuiltins.py +0 -103
- package/python3.6.2/lib/python3.6/_strptime.py +0 -576
- package/python3.6.2/lib/python3.6/_threading_local.py +0 -246
- package/python3.6.2/lib/python3.6/_weakrefset.py +0 -196
- package/python3.6.2/lib/python3.6/abc.py +0 -248
- package/python3.6.2/lib/python3.6/aifc.py +0 -943
- package/python3.6.2/lib/python3.6/antigravity.py +0 -17
- package/python3.6.2/lib/python3.6/argparse.py +0 -2389
- package/python3.6.2/lib/python3.6/ast.py +0 -322
- package/python3.6.2/lib/python3.6/asynchat.py +0 -307
- package/python3.6.2/lib/python3.6/asyncio/__init__.py +0 -50
- package/python3.6.2/lib/python3.6/asyncio/base_events.py +0 -1474
- package/python3.6.2/lib/python3.6/asyncio/base_futures.py +0 -71
- package/python3.6.2/lib/python3.6/asyncio/base_subprocess.py +0 -293
- package/python3.6.2/lib/python3.6/asyncio/base_tasks.py +0 -76
- package/python3.6.2/lib/python3.6/asyncio/compat.py +0 -18
- package/python3.6.2/lib/python3.6/asyncio/constants.py +0 -12
- package/python3.6.2/lib/python3.6/asyncio/coroutines.py +0 -346
- package/python3.6.2/lib/python3.6/asyncio/events.py +0 -715
- package/python3.6.2/lib/python3.6/asyncio/futures.py +0 -439
- package/python3.6.2/lib/python3.6/asyncio/locks.py +0 -485
- package/python3.6.2/lib/python3.6/asyncio/log.py +0 -7
- package/python3.6.2/lib/python3.6/asyncio/proactor_events.py +0 -551
- package/python3.6.2/lib/python3.6/asyncio/protocols.py +0 -134
- package/python3.6.2/lib/python3.6/asyncio/queues.py +0 -259
- package/python3.6.2/lib/python3.6/asyncio/selector_events.py +0 -1141
- package/python3.6.2/lib/python3.6/asyncio/sslproto.py +0 -697
- package/python3.6.2/lib/python3.6/asyncio/streams.py +0 -701
- package/python3.6.2/lib/python3.6/asyncio/subprocess.py +0 -226
- package/python3.6.2/lib/python3.6/asyncio/tasks.py +0 -717
- package/python3.6.2/lib/python3.6/asyncio/test_utils.py +0 -519
- package/python3.6.2/lib/python3.6/asyncio/transports.py +0 -306
- package/python3.6.2/lib/python3.6/asyncio/unix_events.py +0 -1074
- package/python3.6.2/lib/python3.6/asyncio/windows_events.py +0 -779
- package/python3.6.2/lib/python3.6/asyncio/windows_utils.py +0 -224
- package/python3.6.2/lib/python3.6/asyncore.py +0 -645
- package/python3.6.2/lib/python3.6/base64.py +0 -602
- package/python3.6.2/lib/python3.6/bdb.py +0 -673
- package/python3.6.2/lib/python3.6/binhex.py +0 -479
- package/python3.6.2/lib/python3.6/bisect.py +0 -92
- package/python3.6.2/lib/python3.6/bz2.py +0 -361
- package/python3.6.2/lib/python3.6/cProfile.py +0 -160
- package/python3.6.2/lib/python3.6/calendar.py +0 -713
- package/python3.6.2/lib/python3.6/cgi.py +0 -1077
- package/python3.6.2/lib/python3.6/cgitb.py +0 -319
- package/python3.6.2/lib/python3.6/chunk.py +0 -169
- package/python3.6.2/lib/python3.6/cmd.py +0 -401
- package/python3.6.2/lib/python3.6/code.py +0 -314
- package/python3.6.2/lib/python3.6/codecs.py +0 -1113
- package/python3.6.2/lib/python3.6/codeop.py +0 -168
- package/python3.6.2/lib/python3.6/collections/__init__.py +0 -1244
- package/python3.6.2/lib/python3.6/collections/abc.py +0 -2
- package/python3.6.2/lib/python3.6/colorsys.py +0 -164
- package/python3.6.2/lib/python3.6/compileall.py +0 -295
- package/python3.6.2/lib/python3.6/concurrent/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/concurrent/futures/__init__.py +0 -18
- package/python3.6.2/lib/python3.6/concurrent/futures/_base.py +0 -612
- package/python3.6.2/lib/python3.6/concurrent/futures/process.py +0 -515
- package/python3.6.2/lib/python3.6/concurrent/futures/thread.py +0 -153
- package/python3.6.2/lib/python3.6/configparser.py +0 -1342
- package/python3.6.2/lib/python3.6/contextlib.py +0 -384
- package/python3.6.2/lib/python3.6/copy.py +0 -313
- package/python3.6.2/lib/python3.6/copyreg.py +0 -206
- package/python3.6.2/lib/python3.6/crypt.py +0 -61
- package/python3.6.2/lib/python3.6/csv.py +0 -449
- package/python3.6.2/lib/python3.6/ctypes/__init__.py +0 -538
- package/python3.6.2/lib/python3.6/ctypes/_endian.py +0 -61
- package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.py +0 -9
- package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.py +0 -159
- package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.py +0 -63
- package/python3.6.2/lib/python3.6/ctypes/macholib/framework.py +0 -65
- package/python3.6.2/lib/python3.6/ctypes/test/__init__.py +0 -14
- package/python3.6.2/lib/python3.6/ctypes/test/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/ctypes/test/test_anon.py +0 -73
- package/python3.6.2/lib/python3.6/ctypes/test/test_array_in_pointer.py +0 -64
- package/python3.6.2/lib/python3.6/ctypes/test/test_arrays.py +0 -185
- package/python3.6.2/lib/python3.6/ctypes/test/test_as_parameter.py +0 -226
- package/python3.6.2/lib/python3.6/ctypes/test/test_bitfields.py +0 -290
- package/python3.6.2/lib/python3.6/ctypes/test/test_buffers.py +0 -64
- package/python3.6.2/lib/python3.6/ctypes/test/test_bytes.py +0 -65
- package/python3.6.2/lib/python3.6/ctypes/test/test_byteswap.py +0 -315
- package/python3.6.2/lib/python3.6/ctypes/test/test_callbacks.py +0 -293
- package/python3.6.2/lib/python3.6/ctypes/test/test_cast.py +0 -86
- package/python3.6.2/lib/python3.6/ctypes/test/test_cfuncs.py +0 -212
- package/python3.6.2/lib/python3.6/ctypes/test/test_checkretval.py +0 -36
- package/python3.6.2/lib/python3.6/ctypes/test/test_delattr.py +0 -21
- package/python3.6.2/lib/python3.6/ctypes/test/test_errno.py +0 -79
- package/python3.6.2/lib/python3.6/ctypes/test/test_find.py +0 -116
- package/python3.6.2/lib/python3.6/ctypes/test/test_frombuffer.py +0 -141
- package/python3.6.2/lib/python3.6/ctypes/test/test_funcptr.py +0 -132
- package/python3.6.2/lib/python3.6/ctypes/test/test_functions.py +0 -402
- package/python3.6.2/lib/python3.6/ctypes/test/test_incomplete.py +0 -42
- package/python3.6.2/lib/python3.6/ctypes/test/test_init.py +0 -40
- package/python3.6.2/lib/python3.6/ctypes/test/test_internals.py +0 -100
- package/python3.6.2/lib/python3.6/ctypes/test/test_keeprefs.py +0 -153
- package/python3.6.2/lib/python3.6/ctypes/test/test_libc.py +0 -33
- package/python3.6.2/lib/python3.6/ctypes/test/test_loading.py +0 -116
- package/python3.6.2/lib/python3.6/ctypes/test/test_macholib.py +0 -63
- package/python3.6.2/lib/python3.6/ctypes/test/test_memfunctions.py +0 -79
- package/python3.6.2/lib/python3.6/ctypes/test/test_numbers.py +0 -290
- package/python3.6.2/lib/python3.6/ctypes/test/test_objects.py +0 -67
- package/python3.6.2/lib/python3.6/ctypes/test/test_parameters.py +0 -207
- package/python3.6.2/lib/python3.6/ctypes/test/test_pep3118.py +0 -233
- package/python3.6.2/lib/python3.6/ctypes/test/test_pickling.py +0 -81
- package/python3.6.2/lib/python3.6/ctypes/test/test_pointers.py +0 -223
- package/python3.6.2/lib/python3.6/ctypes/test/test_prototypes.py +0 -222
- package/python3.6.2/lib/python3.6/ctypes/test/test_python_api.py +0 -89
- package/python3.6.2/lib/python3.6/ctypes/test/test_random_things.py +0 -74
- package/python3.6.2/lib/python3.6/ctypes/test/test_refcounts.py +0 -101
- package/python3.6.2/lib/python3.6/ctypes/test/test_repr.py +0 -29
- package/python3.6.2/lib/python3.6/ctypes/test/test_returnfuncptrs.py +0 -66
- package/python3.6.2/lib/python3.6/ctypes/test/test_simplesubclasses.py +0 -55
- package/python3.6.2/lib/python3.6/ctypes/test/test_sizes.py +0 -33
- package/python3.6.2/lib/python3.6/ctypes/test/test_slicing.py +0 -167
- package/python3.6.2/lib/python3.6/ctypes/test/test_stringptr.py +0 -77
- package/python3.6.2/lib/python3.6/ctypes/test/test_strings.py +0 -225
- package/python3.6.2/lib/python3.6/ctypes/test/test_struct_fields.py +0 -74
- package/python3.6.2/lib/python3.6/ctypes/test/test_structures.py +0 -491
- package/python3.6.2/lib/python3.6/ctypes/test/test_unaligned_structures.py +0 -45
- package/python3.6.2/lib/python3.6/ctypes/test/test_unicode.py +0 -56
- package/python3.6.2/lib/python3.6/ctypes/test/test_values.py +0 -100
- package/python3.6.2/lib/python3.6/ctypes/test/test_varsize_struct.py +0 -50
- package/python3.6.2/lib/python3.6/ctypes/test/test_win32.py +0 -147
- package/python3.6.2/lib/python3.6/ctypes/test/test_wintypes.py +0 -41
- package/python3.6.2/lib/python3.6/ctypes/util.py +0 -337
- package/python3.6.2/lib/python3.6/ctypes/wintypes.py +0 -202
- package/python3.6.2/lib/python3.6/curses/__init__.py +0 -101
- package/python3.6.2/lib/python3.6/curses/ascii.py +0 -99
- package/python3.6.2/lib/python3.6/curses/has_key.py +0 -192
- package/python3.6.2/lib/python3.6/curses/panel.py +0 -6
- package/python3.6.2/lib/python3.6/curses/textpad.py +0 -201
- package/python3.6.2/lib/python3.6/datetime.py +0 -2280
- package/python3.6.2/lib/python3.6/dbm/__init__.py +0 -188
- package/python3.6.2/lib/python3.6/dbm/dumb.py +0 -324
- package/python3.6.2/lib/python3.6/dbm/gnu.py +0 -3
- package/python3.6.2/lib/python3.6/dbm/ndbm.py +0 -3
- package/python3.6.2/lib/python3.6/decimal.py +0 -11
- package/python3.6.2/lib/python3.6/difflib.py +0 -2093
- package/python3.6.2/lib/python3.6/dis.py +0 -490
- package/python3.6.2/lib/python3.6/distutils/__init__.py +0 -13
- package/python3.6.2/lib/python3.6/distutils/_msvccompiler.py +0 -574
- package/python3.6.2/lib/python3.6/distutils/archive_util.py +0 -248
- package/python3.6.2/lib/python3.6/distutils/bcppcompiler.py +0 -393
- package/python3.6.2/lib/python3.6/distutils/ccompiler.py +0 -1115
- package/python3.6.2/lib/python3.6/distutils/cmd.py +0 -434
- package/python3.6.2/lib/python3.6/distutils/command/__init__.py +0 -31
- package/python3.6.2/lib/python3.6/distutils/command/bdist.py +0 -143
- package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.py +0 -123
- package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.py +0 -741
- package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.py +0 -582
- package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.py +0 -365
- package/python3.6.2/lib/python3.6/distutils/command/build.py +0 -157
- package/python3.6.2/lib/python3.6/distutils/command/build_clib.py +0 -209
- package/python3.6.2/lib/python3.6/distutils/command/build_ext.py +0 -755
- package/python3.6.2/lib/python3.6/distutils/command/build_py.py +0 -416
- package/python3.6.2/lib/python3.6/distutils/command/build_scripts.py +0 -160
- package/python3.6.2/lib/python3.6/distutils/command/check.py +0 -145
- package/python3.6.2/lib/python3.6/distutils/command/clean.py +0 -76
- package/python3.6.2/lib/python3.6/distutils/command/config.py +0 -347
- package/python3.6.2/lib/python3.6/distutils/command/install.py +0 -656
- package/python3.6.2/lib/python3.6/distutils/command/install_data.py +0 -79
- package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.py +0 -77
- package/python3.6.2/lib/python3.6/distutils/command/install_headers.py +0 -47
- package/python3.6.2/lib/python3.6/distutils/command/install_lib.py +0 -217
- package/python3.6.2/lib/python3.6/distutils/command/install_scripts.py +0 -60
- package/python3.6.2/lib/python3.6/distutils/command/register.py +0 -304
- package/python3.6.2/lib/python3.6/distutils/command/sdist.py +0 -456
- package/python3.6.2/lib/python3.6/distutils/command/upload.py +0 -201
- package/python3.6.2/lib/python3.6/distutils/command/wininst-10.0-amd64.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-10.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-14.0-amd64.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-14.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-6.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-7.1.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-8.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-9.0-amd64.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/command/wininst-9.0.exe +0 -0
- package/python3.6.2/lib/python3.6/distutils/config.py +0 -131
- package/python3.6.2/lib/python3.6/distutils/core.py +0 -234
- package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.py +0 -405
- package/python3.6.2/lib/python3.6/distutils/debug.py +0 -5
- package/python3.6.2/lib/python3.6/distutils/dep_util.py +0 -92
- package/python3.6.2/lib/python3.6/distutils/dir_util.py +0 -210
- package/python3.6.2/lib/python3.6/distutils/dist.py +0 -1236
- package/python3.6.2/lib/python3.6/distutils/errors.py +0 -97
- package/python3.6.2/lib/python3.6/distutils/extension.py +0 -240
- package/python3.6.2/lib/python3.6/distutils/fancy_getopt.py +0 -457
- package/python3.6.2/lib/python3.6/distutils/file_util.py +0 -238
- package/python3.6.2/lib/python3.6/distutils/filelist.py +0 -327
- package/python3.6.2/lib/python3.6/distutils/log.py +0 -75
- package/python3.6.2/lib/python3.6/distutils/msvc9compiler.py +0 -791
- package/python3.6.2/lib/python3.6/distutils/msvccompiler.py +0 -643
- package/python3.6.2/lib/python3.6/distutils/spawn.py +0 -192
- package/python3.6.2/lib/python3.6/distutils/sysconfig.py +0 -532
- package/python3.6.2/lib/python3.6/distutils/tests/Setup.sample +0 -67
- package/python3.6.2/lib/python3.6/distutils/tests/__init__.py +0 -36
- package/python3.6.2/lib/python3.6/distutils/tests/support.py +0 -210
- package/python3.6.2/lib/python3.6/distutils/tests/test_archive_util.py +0 -395
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist.py +0 -50
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_dumb.py +0 -97
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_msi.py +0 -25
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_rpm.py +0 -135
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_wininst.py +0 -31
- package/python3.6.2/lib/python3.6/distutils/tests/test_build.py +0 -56
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_clib.py +0 -135
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_ext.py +0 -521
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_py.py +0 -179
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_scripts.py +0 -112
- package/python3.6.2/lib/python3.6/distutils/tests/test_check.py +0 -149
- package/python3.6.2/lib/python3.6/distutils/tests/test_clean.py +0 -49
- package/python3.6.2/lib/python3.6/distutils/tests/test_cmd.py +0 -126
- package/python3.6.2/lib/python3.6/distutils/tests/test_config.py +0 -140
- package/python3.6.2/lib/python3.6/distutils/tests/test_config_cmd.py +0 -92
- package/python3.6.2/lib/python3.6/distutils/tests/test_core.py +0 -140
- package/python3.6.2/lib/python3.6/distutils/tests/test_cygwinccompiler.py +0 -154
- package/python3.6.2/lib/python3.6/distutils/tests/test_dep_util.py +0 -80
- package/python3.6.2/lib/python3.6/distutils/tests/test_dir_util.py +0 -139
- package/python3.6.2/lib/python3.6/distutils/tests/test_dist.py +0 -456
- package/python3.6.2/lib/python3.6/distutils/tests/test_extension.py +0 -69
- package/python3.6.2/lib/python3.6/distutils/tests/test_file_util.py +0 -114
- package/python3.6.2/lib/python3.6/distutils/tests/test_filelist.py +0 -340
- package/python3.6.2/lib/python3.6/distutils/tests/test_install.py +0 -248
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_data.py +0 -75
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_headers.py +0 -39
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_lib.py +0 -115
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_scripts.py +0 -82
- package/python3.6.2/lib/python3.6/distutils/tests/test_log.py +0 -38
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvc9compiler.py +0 -184
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvccompiler.py +0 -132
- package/python3.6.2/lib/python3.6/distutils/tests/test_register.py +0 -323
- package/python3.6.2/lib/python3.6/distutils/tests/test_sdist.py +0 -484
- package/python3.6.2/lib/python3.6/distutils/tests/test_spawn.py +0 -58
- package/python3.6.2/lib/python3.6/distutils/tests/test_sysconfig.py +0 -198
- package/python3.6.2/lib/python3.6/distutils/tests/test_text_file.py +0 -107
- package/python3.6.2/lib/python3.6/distutils/tests/test_unixccompiler.py +0 -149
- package/python3.6.2/lib/python3.6/distutils/tests/test_upload.py +0 -181
- package/python3.6.2/lib/python3.6/distutils/tests/test_util.py +0 -300
- package/python3.6.2/lib/python3.6/distutils/tests/test_version.py +0 -71
- package/python3.6.2/lib/python3.6/distutils/tests/test_versionpredicate.py +0 -13
- package/python3.6.2/lib/python3.6/distutils/text_file.py +0 -286
- package/python3.6.2/lib/python3.6/distutils/unixccompiler.py +0 -322
- package/python3.6.2/lib/python3.6/distutils/util.py +0 -557
- package/python3.6.2/lib/python3.6/distutils/version.py +0 -343
- package/python3.6.2/lib/python3.6/distutils/versionpredicate.py +0 -166
- package/python3.6.2/lib/python3.6/doctest.py +0 -2787
- package/python3.6.2/lib/python3.6/dummy_threading.py +0 -78
- package/python3.6.2/lib/python3.6/email/__init__.py +0 -62
- package/python3.6.2/lib/python3.6/email/_encoded_words.py +0 -221
- package/python3.6.2/lib/python3.6/email/_header_value_parser.py +0 -2811
- package/python3.6.2/lib/python3.6/email/_parseaddr.py +0 -540
- package/python3.6.2/lib/python3.6/email/_policybase.py +0 -374
- package/python3.6.2/lib/python3.6/email/base64mime.py +0 -119
- package/python3.6.2/lib/python3.6/email/charset.py +0 -406
- package/python3.6.2/lib/python3.6/email/contentmanager.py +0 -250
- package/python3.6.2/lib/python3.6/email/encoders.py +0 -69
- package/python3.6.2/lib/python3.6/email/errors.py +0 -107
- package/python3.6.2/lib/python3.6/email/feedparser.py +0 -536
- package/python3.6.2/lib/python3.6/email/generator.py +0 -508
- package/python3.6.2/lib/python3.6/email/header.py +0 -578
- package/python3.6.2/lib/python3.6/email/headerregistry.py +0 -589
- package/python3.6.2/lib/python3.6/email/iterators.py +0 -71
- package/python3.6.2/lib/python3.6/email/message.py +0 -1164
- package/python3.6.2/lib/python3.6/email/mime/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/email/mime/application.py +0 -37
- package/python3.6.2/lib/python3.6/email/mime/audio.py +0 -74
- package/python3.6.2/lib/python3.6/email/mime/base.py +0 -30
- package/python3.6.2/lib/python3.6/email/mime/image.py +0 -47
- package/python3.6.2/lib/python3.6/email/mime/message.py +0 -34
- package/python3.6.2/lib/python3.6/email/mime/multipart.py +0 -48
- package/python3.6.2/lib/python3.6/email/mime/nonmultipart.py +0 -22
- package/python3.6.2/lib/python3.6/email/mime/text.py +0 -42
- package/python3.6.2/lib/python3.6/email/parser.py +0 -132
- package/python3.6.2/lib/python3.6/email/policy.py +0 -223
- package/python3.6.2/lib/python3.6/email/quoprimime.py +0 -299
- package/python3.6.2/lib/python3.6/email/utils.py +0 -388
- package/python3.6.2/lib/python3.6/encodings/__init__.py +0 -169
- package/python3.6.2/lib/python3.6/encodings/aliases.py +0 -550
- package/python3.6.2/lib/python3.6/encodings/ascii.py +0 -50
- package/python3.6.2/lib/python3.6/encodings/base64_codec.py +0 -55
- package/python3.6.2/lib/python3.6/encodings/big5.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/big5hkscs.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/bz2_codec.py +0 -78
- package/python3.6.2/lib/python3.6/encodings/charmap.py +0 -69
- package/python3.6.2/lib/python3.6/encodings/cp037.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1006.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1026.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1125.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp1140.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1250.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1251.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1252.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1253.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1254.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1255.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1256.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1257.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp1258.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp273.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp424.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp437.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp500.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp65001.py +0 -43
- package/python3.6.2/lib/python3.6/encodings/cp720.py +0 -309
- package/python3.6.2/lib/python3.6/encodings/cp737.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp775.py +0 -697
- package/python3.6.2/lib/python3.6/encodings/cp850.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp852.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp855.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp856.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp857.py +0 -694
- package/python3.6.2/lib/python3.6/encodings/cp858.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp860.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp861.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp862.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp863.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp864.py +0 -690
- package/python3.6.2/lib/python3.6/encodings/cp865.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp866.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/cp869.py +0 -689
- package/python3.6.2/lib/python3.6/encodings/cp874.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp875.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/cp932.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/cp949.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/cp950.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_jp.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/euc_kr.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/gb18030.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/gb2312.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/gbk.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/hex_codec.py +0 -55
- package/python3.6.2/lib/python3.6/encodings/hp_roman8.py +0 -314
- package/python3.6.2/lib/python3.6/encodings/hz.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/idna.py +0 -309
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso2022_kr.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/iso8859_1.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_10.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_11.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_13.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_14.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_15.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_16.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_2.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_3.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_4.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_5.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_6.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_7.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_8.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/iso8859_9.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/johab.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/koi8_r.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/koi8_t.py +0 -308
- package/python3.6.2/lib/python3.6/encodings/koi8_u.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/kz1048.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/latin_1.py +0 -50
- package/python3.6.2/lib/python3.6/encodings/mac_arabic.py +0 -698
- package/python3.6.2/lib/python3.6/encodings/mac_centeuro.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_croatian.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_farsi.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_greek.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_iceland.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_latin2.py +0 -312
- package/python3.6.2/lib/python3.6/encodings/mac_roman.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_romanian.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mac_turkish.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/mbcs.py +0 -47
- package/python3.6.2/lib/python3.6/encodings/oem.py +0 -41
- package/python3.6.2/lib/python3.6/encodings/palmos.py +0 -308
- package/python3.6.2/lib/python3.6/encodings/ptcp154.py +0 -312
- package/python3.6.2/lib/python3.6/encodings/punycode.py +0 -237
- package/python3.6.2/lib/python3.6/encodings/quopri_codec.py +0 -56
- package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.py +0 -45
- package/python3.6.2/lib/python3.6/encodings/rot_13.py +0 -113
- package/python3.6.2/lib/python3.6/encodings/shift_jis.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.py +0 -39
- package/python3.6.2/lib/python3.6/encodings/tis_620.py +0 -307
- package/python3.6.2/lib/python3.6/encodings/undefined.py +0 -49
- package/python3.6.2/lib/python3.6/encodings/unicode_escape.py +0 -45
- package/python3.6.2/lib/python3.6/encodings/unicode_internal.py +0 -45
- package/python3.6.2/lib/python3.6/encodings/utf_16.py +0 -155
- package/python3.6.2/lib/python3.6/encodings/utf_16_be.py +0 -42
- package/python3.6.2/lib/python3.6/encodings/utf_16_le.py +0 -42
- package/python3.6.2/lib/python3.6/encodings/utf_32.py +0 -150
- package/python3.6.2/lib/python3.6/encodings/utf_32_be.py +0 -37
- package/python3.6.2/lib/python3.6/encodings/utf_32_le.py +0 -37
- package/python3.6.2/lib/python3.6/encodings/utf_7.py +0 -38
- package/python3.6.2/lib/python3.6/encodings/utf_8.py +0 -42
- package/python3.6.2/lib/python3.6/encodings/utf_8_sig.py +0 -130
- package/python3.6.2/lib/python3.6/encodings/uu_codec.py +0 -99
- package/python3.6.2/lib/python3.6/encodings/zlib_codec.py +0 -77
- package/python3.6.2/lib/python3.6/ensurepip/__init__.py +0 -205
- package/python3.6.2/lib/python3.6/ensurepip/__main__.py +0 -5
- package/python3.6.2/lib/python3.6/ensurepip/_uninstall.py +0 -31
- package/python3.6.2/lib/python3.6/enum.py +0 -875
- package/python3.6.2/lib/python3.6/filecmp.py +0 -305
- package/python3.6.2/lib/python3.6/fileinput.py +0 -425
- package/python3.6.2/lib/python3.6/fnmatch.py +0 -109
- package/python3.6.2/lib/python3.6/formatter.py +0 -452
- package/python3.6.2/lib/python3.6/fractions.py +0 -643
- package/python3.6.2/lib/python3.6/ftplib.py +0 -989
- package/python3.6.2/lib/python3.6/functools.py +0 -811
- package/python3.6.2/lib/python3.6/genericpath.py +0 -151
- package/python3.6.2/lib/python3.6/getopt.py +0 -215
- package/python3.6.2/lib/python3.6/getpass.py +0 -185
- package/python3.6.2/lib/python3.6/gettext.py +0 -637
- package/python3.6.2/lib/python3.6/glob.py +0 -171
- package/python3.6.2/lib/python3.6/gzip.py +0 -574
- package/python3.6.2/lib/python3.6/hashlib.py +0 -251
- package/python3.6.2/lib/python3.6/heapq.py +0 -607
- package/python3.6.2/lib/python3.6/hmac.py +0 -144
- package/python3.6.2/lib/python3.6/html/__init__.py +0 -132
- package/python3.6.2/lib/python3.6/html/entities.py +0 -2509
- package/python3.6.2/lib/python3.6/html/parser.py +0 -470
- package/python3.6.2/lib/python3.6/http/__init__.py +0 -134
- package/python3.6.2/lib/python3.6/http/client.py +0 -1478
- package/python3.6.2/lib/python3.6/http/cookiejar.py +0 -2098
- package/python3.6.2/lib/python3.6/http/cookies.py +0 -635
- package/python3.6.2/lib/python3.6/http/server.py +0 -1211
- package/python3.6.2/lib/python3.6/idlelib/CREDITS.txt +0 -37
- package/python3.6.2/lib/python3.6/idlelib/ChangeLog +0 -1591
- package/python3.6.2/lib/python3.6/idlelib/HISTORY.txt +0 -296
- package/python3.6.2/lib/python3.6/idlelib/Icons/folder.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle.icns +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle.ico +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_16.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_16.png +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_32.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_32.png +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_48.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/idle_48.png +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/minusnode.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/openfolder.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/plusnode.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/python.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/Icons/tk.gif +0 -0
- package/python3.6.2/lib/python3.6/idlelib/NEWS.txt +0 -749
- package/python3.6.2/lib/python3.6/idlelib/NEWS2x.txt +0 -660
- package/python3.6.2/lib/python3.6/idlelib/README.txt +0 -251
- package/python3.6.2/lib/python3.6/idlelib/TODO.txt +0 -210
- package/python3.6.2/lib/python3.6/idlelib/__init__.py +0 -10
- package/python3.6.2/lib/python3.6/idlelib/__main__.py +0 -8
- package/python3.6.2/lib/python3.6/idlelib/_pyclbr.py +0 -402
- package/python3.6.2/lib/python3.6/idlelib/autocomplete.py +0 -232
- package/python3.6.2/lib/python3.6/idlelib/autocomplete_w.py +0 -460
- package/python3.6.2/lib/python3.6/idlelib/autoexpand.py +0 -96
- package/python3.6.2/lib/python3.6/idlelib/browser.py +0 -248
- package/python3.6.2/lib/python3.6/idlelib/calltip_w.py +0 -164
- package/python3.6.2/lib/python3.6/idlelib/calltips.py +0 -178
- package/python3.6.2/lib/python3.6/idlelib/codecontext.py +0 -185
- package/python3.6.2/lib/python3.6/idlelib/colorizer.py +0 -289
- package/python3.6.2/lib/python3.6/idlelib/config-extensions.def +0 -65
- package/python3.6.2/lib/python3.6/idlelib/config-highlight.def +0 -93
- package/python3.6.2/lib/python3.6/idlelib/config-keys.def +0 -304
- package/python3.6.2/lib/python3.6/idlelib/config-main.def +0 -88
- package/python3.6.2/lib/python3.6/idlelib/config.py +0 -929
- package/python3.6.2/lib/python3.6/idlelib/config_key.py +0 -298
- package/python3.6.2/lib/python3.6/idlelib/configdialog.py +0 -2254
- package/python3.6.2/lib/python3.6/idlelib/debugger.py +0 -544
- package/python3.6.2/lib/python3.6/idlelib/debugger_r.py +0 -388
- package/python3.6.2/lib/python3.6/idlelib/debugobj.py +0 -139
- package/python3.6.2/lib/python3.6/idlelib/debugobj_r.py +0 -36
- package/python3.6.2/lib/python3.6/idlelib/delegator.py +0 -33
- package/python3.6.2/lib/python3.6/idlelib/dynoption.py +0 -58
- package/python3.6.2/lib/python3.6/idlelib/editor.py +0 -1688
- package/python3.6.2/lib/python3.6/idlelib/extend.txt +0 -83
- package/python3.6.2/lib/python3.6/idlelib/filelist.py +0 -132
- package/python3.6.2/lib/python3.6/idlelib/grep.py +0 -200
- package/python3.6.2/lib/python3.6/idlelib/help.html +0 -791
- package/python3.6.2/lib/python3.6/idlelib/help.py +0 -275
- package/python3.6.2/lib/python3.6/idlelib/help_about.py +0 -205
- package/python3.6.2/lib/python3.6/idlelib/history.py +0 -106
- package/python3.6.2/lib/python3.6/idlelib/hyperparser.py +0 -312
- package/python3.6.2/lib/python3.6/idlelib/idle.bat +0 -4
- package/python3.6.2/lib/python3.6/idlelib/idle.py +0 -14
- package/python3.6.2/lib/python3.6/idlelib/idle.pyw +0 -17
- package/python3.6.2/lib/python3.6/idlelib/idle_test/README.txt +0 -226
- package/python3.6.2/lib/python3.6/idlelib/idle_test/__init__.py +0 -17
- package/python3.6.2/lib/python3.6/idlelib/idle_test/htest.py +0 -421
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_idle.py +0 -60
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_tk.py +0 -303
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autocomplete.py +0 -149
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autoexpand.py +0 -143
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_browser.py +0 -253
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_calltips.py +0 -203
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_colorizer.py +0 -56
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config.py +0 -824
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config_key.py +0 -102
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_configdialog.py +0 -1415
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_debugger.py +0 -29
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_delegator.py +0 -40
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editmenu.py +0 -74
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editor.py +0 -14
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_grep.py +0 -80
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help.py +0 -34
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help_about.py +0 -177
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_history.py +0 -168
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_hyperparser.py +0 -274
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_iomenu.py +0 -234
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_macosx.py +0 -106
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_outwin.py +0 -172
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_paragraph.py +0 -376
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_parenmatch.py +0 -112
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_pathbrowser.py +0 -88
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_percolator.py +0 -118
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_query.py +0 -354
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_redirector.py +0 -124
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_replace.py +0 -293
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_rstrip.py +0 -49
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_run.py +0 -35
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_scrolledlist.py +0 -29
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_search.py +0 -82
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchbase.py +0 -156
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchengine.py +0 -329
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_text.py +0 -236
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_textview.py +0 -179
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_tree.py +0 -35
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_undo.py +0 -135
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_warning.py +0 -73
- package/python3.6.2/lib/python3.6/idlelib/iomenu.py +0 -574
- package/python3.6.2/lib/python3.6/idlelib/macosx.py +0 -252
- package/python3.6.2/lib/python3.6/idlelib/mainmenu.py +0 -108
- package/python3.6.2/lib/python3.6/idlelib/multicall.py +0 -445
- package/python3.6.2/lib/python3.6/idlelib/outwin.py +0 -188
- package/python3.6.2/lib/python3.6/idlelib/paragraph.py +0 -195
- package/python3.6.2/lib/python3.6/idlelib/parenmatch.py +0 -183
- package/python3.6.2/lib/python3.6/idlelib/pathbrowser.py +0 -111
- package/python3.6.2/lib/python3.6/idlelib/percolator.py +0 -104
- package/python3.6.2/lib/python3.6/idlelib/pyparse.py +0 -617
- package/python3.6.2/lib/python3.6/idlelib/pyshell.py +0 -1542
- package/python3.6.2/lib/python3.6/idlelib/query.py +0 -308
- package/python3.6.2/lib/python3.6/idlelib/redirector.py +0 -175
- package/python3.6.2/lib/python3.6/idlelib/replace.py +0 -243
- package/python3.6.2/lib/python3.6/idlelib/rpc.py +0 -627
- package/python3.6.2/lib/python3.6/idlelib/rstrip.py +0 -29
- package/python3.6.2/lib/python3.6/idlelib/run.py +0 -525
- package/python3.6.2/lib/python3.6/idlelib/runscript.py +0 -195
- package/python3.6.2/lib/python3.6/idlelib/scrolledlist.py +0 -147
- package/python3.6.2/lib/python3.6/idlelib/search.py +0 -102
- package/python3.6.2/lib/python3.6/idlelib/searchbase.py +0 -200
- package/python3.6.2/lib/python3.6/idlelib/searchengine.py +0 -236
- package/python3.6.2/lib/python3.6/idlelib/stackviewer.py +0 -152
- package/python3.6.2/lib/python3.6/idlelib/statusbar.py +0 -46
- package/python3.6.2/lib/python3.6/idlelib/textview.py +0 -136
- package/python3.6.2/lib/python3.6/idlelib/tooltip.py +0 -96
- package/python3.6.2/lib/python3.6/idlelib/tree.py +0 -467
- package/python3.6.2/lib/python3.6/idlelib/undo.py +0 -366
- package/python3.6.2/lib/python3.6/idlelib/windows.py +0 -92
- package/python3.6.2/lib/python3.6/idlelib/zoomheight.py +0 -48
- package/python3.6.2/lib/python3.6/idlelib/zzdummy.py +0 -42
- package/python3.6.2/lib/python3.6/imaplib.py +0 -1609
- package/python3.6.2/lib/python3.6/imghdr.py +0 -168
- package/python3.6.2/lib/python3.6/imp.py +0 -346
- package/python3.6.2/lib/python3.6/importlib/__init__.py +0 -173
- package/python3.6.2/lib/python3.6/importlib/_bootstrap.py +0 -1161
- package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.py +0 -1443
- package/python3.6.2/lib/python3.6/importlib/abc.py +0 -329
- package/python3.6.2/lib/python3.6/importlib/machinery.py +0 -21
- package/python3.6.2/lib/python3.6/importlib/util.py +0 -288
- package/python3.6.2/lib/python3.6/inspect.py +0 -3098
- package/python3.6.2/lib/python3.6/io.py +0 -99
- package/python3.6.2/lib/python3.6/ipaddress.py +0 -2299
- package/python3.6.2/lib/python3.6/json/__init__.py +0 -367
- package/python3.6.2/lib/python3.6/json/decoder.py +0 -358
- package/python3.6.2/lib/python3.6/json/encoder.py +0 -441
- package/python3.6.2/lib/python3.6/json/scanner.py +0 -73
- package/python3.6.2/lib/python3.6/json/tool.py +0 -50
- package/python3.6.2/lib/python3.6/keyword.py +0 -94
- package/python3.6.2/lib/python3.6/lib-dynload/_asyncio.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_bisect.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_blake2.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_bz2.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_cn.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_hk.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_iso2022.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_jp.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_kr.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_codecs_tw.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_crypt.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_csv.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_ctypes.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_ctypes_test.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_curses.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_curses_panel.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_datetime.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_elementtree.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_hashlib.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_heapq.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_json.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_lsprof.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_md5.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_multibytecodec.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_multiprocessing.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_opcode.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_pickle.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_random.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha1.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha256.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha3.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sha512.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_socket.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sqlite3.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_ssl.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_struct.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_sysconfigdata_m_linux_arm-linux-androideabi.py +0 -743
- package/python3.6.2/lib/python3.6/lib-dynload/_testbuffer.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testcapi.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testimportmultiple.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/_testmultiphase.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/array.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/audioop.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/binascii.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/cmath.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/fcntl.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/grp.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/math.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/mmap.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/ossaudiodev.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/parser.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/pyexpat.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/readline.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/resource.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/select.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/syslog.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/termios.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/unicodedata.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/xxlimited.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib-dynload/zlib.cpython-36m-arm-linux-androideabi.so +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/lib2to3/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.py +0 -168
- package/python3.6.2/lib/python3.6/lib2to3/btm_utils.py +0 -281
- package/python3.6.2/lib/python3.6/lib2to3/fixer_base.py +0 -186
- package/python3.6.2/lib/python3.6/lib2to3/fixer_util.py +0 -453
- package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.py +0 -70
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.py +0 -34
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.py +0 -14
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.py +0 -22
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.py +0 -106
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.py +0 -93
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.py +0 -39
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.py +0 -52
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.py +0 -72
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.py +0 -90
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.py +0 -21
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.py +0 -22
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.py +0 -19
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.py +0 -109
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.py +0 -152
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.py +0 -99
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.py +0 -145
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.py +0 -16
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.py +0 -26
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.py +0 -41
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.py +0 -52
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.py +0 -43
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.py +0 -57
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.py +0 -19
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.py +0 -110
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.py +0 -228
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.py +0 -24
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.py +0 -23
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.py +0 -103
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.py +0 -21
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.py +0 -28
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.py +0 -98
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.py +0 -44
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.py +0 -87
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.py +0 -90
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.py +0 -17
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.py +0 -35
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.py +0 -38
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.py +0 -70
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.py +0 -23
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.py +0 -53
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.py +0 -18
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.py +0 -30
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.py +0 -56
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.py +0 -175
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.py +0 -61
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.py +0 -42
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.py +0 -196
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.py +0 -39
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.py +0 -73
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.py +0 -25
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.py +0 -46
- package/python3.6.2/lib/python3.6/lib2to3/main.py +0 -268
- package/python3.6.2/lib/python3.6/lib2to3/patcomp.py +0 -205
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.py +0 -4
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.py +0 -257
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.py +0 -160
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.py +0 -207
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.py +0 -60
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.py +0 -201
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.py +0 -386
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.py +0 -85
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.py +0 -590
- package/python3.6.2/lib/python3.6/lib2to3/pygram.py +0 -40
- package/python3.6.2/lib/python3.6/lib2to3/pytree.py +0 -854
- package/python3.6.2/lib/python3.6/lib2to3/refactor.py +0 -744
- package/python3.6.2/lib/python3.6/lib2to3/tests/__init__.py +0 -9
- package/python3.6.2/lib/python3.6/lib2to3/tests/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/README +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/bom.py +0 -2
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/crlf.py +0 -3
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/different_encoding.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/false_encoding.py +0 -2
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/bad_order.py +0 -5
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_first.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_last.py +0 -7
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +0 -13
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +0 -6
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/no_fixer_cls.py +0 -1
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/parrot_example.py +0 -2
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/infinite_recursion.py +0 -2669
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py2_test_grammar.py +0 -974
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py3_test_grammar.py +0 -945
- package/python3.6.2/lib/python3.6/lib2to3/tests/pytree_idempotency.py +0 -94
- package/python3.6.2/lib/python3.6/lib2to3/tests/support.py +0 -52
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_all_fixers.py +0 -27
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_fixers.py +0 -4640
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_main.py +0 -139
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_parser.py +0 -472
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_pytree.py +0 -472
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_refactor.py +0 -316
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_util.py +0 -591
- package/python3.6.2/lib/python3.6/linecache.py +0 -177
- package/python3.6.2/lib/python3.6/locale.py +0 -1684
- package/python3.6.2/lib/python3.6/logging/__init__.py +0 -2019
- package/python3.6.2/lib/python3.6/logging/config.py +0 -933
- package/python3.6.2/lib/python3.6/logging/handlers.py +0 -1505
- package/python3.6.2/lib/python3.6/lzma.py +0 -347
- package/python3.6.2/lib/python3.6/macpath.py +0 -211
- package/python3.6.2/lib/python3.6/macurl2path.py +0 -77
- package/python3.6.2/lib/python3.6/mailbox.py +0 -2146
- package/python3.6.2/lib/python3.6/mailcap.py +0 -275
- package/python3.6.2/lib/python3.6/mimetypes.py +0 -598
- package/python3.6.2/lib/python3.6/modulefinder.py +0 -633
- package/python3.6.2/lib/python3.6/msilib/__init__.py +0 -483
- package/python3.6.2/lib/python3.6/msilib/schema.py +0 -1007
- package/python3.6.2/lib/python3.6/msilib/sequence.py +0 -126
- package/python3.6.2/lib/python3.6/msilib/text.py +0 -129
- package/python3.6.2/lib/python3.6/multiprocessing/__init__.py +0 -38
- package/python3.6.2/lib/python3.6/multiprocessing/connection.py +0 -953
- package/python3.6.2/lib/python3.6/multiprocessing/context.py +0 -357
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.py +0 -119
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.py +0 -73
- package/python3.6.2/lib/python3.6/multiprocessing/forkserver.py +0 -266
- package/python3.6.2/lib/python3.6/multiprocessing/heap.py +0 -254
- package/python3.6.2/lib/python3.6/multiprocessing/managers.py +0 -1160
- package/python3.6.2/lib/python3.6/multiprocessing/pool.py +0 -803
- package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.py +0 -86
- package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.py +0 -68
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.py +0 -68
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.py +0 -98
- package/python3.6.2/lib/python3.6/multiprocessing/process.py +0 -336
- package/python3.6.2/lib/python3.6/multiprocessing/queues.py +0 -347
- package/python3.6.2/lib/python3.6/multiprocessing/reduction.py +0 -274
- package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.py +0 -158
- package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.py +0 -157
- package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.py +0 -239
- package/python3.6.2/lib/python3.6/multiprocessing/spawn.py +0 -286
- package/python3.6.2/lib/python3.6/multiprocessing/synchronize.py +0 -406
- package/python3.6.2/lib/python3.6/multiprocessing/util.py +0 -406
- package/python3.6.2/lib/python3.6/netrc.py +0 -142
- package/python3.6.2/lib/python3.6/nntplib.py +0 -1147
- package/python3.6.2/lib/python3.6/ntpath.py +0 -692
- package/python3.6.2/lib/python3.6/nturl2path.py +0 -68
- package/python3.6.2/lib/python3.6/numbers.py +0 -389
- package/python3.6.2/lib/python3.6/opcode.py +0 -215
- package/python3.6.2/lib/python3.6/operator.py +0 -464
- package/python3.6.2/lib/python3.6/optparse.py +0 -1681
- package/python3.6.2/lib/python3.6/os.py +0 -1069
- package/python3.6.2/lib/python3.6/pathlib.py +0 -1434
- package/python3.6.2/lib/python3.6/pdb.py +0 -1694
- package/python3.6.2/lib/python3.6/pickle.py +0 -1605
- package/python3.6.2/lib/python3.6/pickletools.py +0 -2840
- package/python3.6.2/lib/python3.6/pipes.py +0 -247
- package/python3.6.2/lib/python3.6/pkgutil.py +0 -634
- package/python3.6.2/lib/python3.6/platform.py +0 -1400
- package/python3.6.2/lib/python3.6/plistlib.py +0 -1043
- package/python3.6.2/lib/python3.6/poplib.py +0 -478
- package/python3.6.2/lib/python3.6/posixpath.py +0 -520
- package/python3.6.2/lib/python3.6/pprint.py +0 -597
- package/python3.6.2/lib/python3.6/profile.py +0 -589
- package/python3.6.2/lib/python3.6/pstats.py +0 -697
- package/python3.6.2/lib/python3.6/pty.py +0 -170
- package/python3.6.2/lib/python3.6/py_compile.py +0 -186
- package/python3.6.2/lib/python3.6/pyclbr.py +0 -352
- package/python3.6.2/lib/python3.6/pydoc.py +0 -2663
- package/python3.6.2/lib/python3.6/pydoc_data/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/topics.py +0 -12951
- package/python3.6.2/lib/python3.6/queue.py +0 -246
- package/python3.6.2/lib/python3.6/quopri.py +0 -242
- package/python3.6.2/lib/python3.6/random.py +0 -768
- package/python3.6.2/lib/python3.6/re.py +0 -381
- package/python3.6.2/lib/python3.6/reprlib.py +0 -164
- package/python3.6.2/lib/python3.6/rlcompleter.py +0 -205
- package/python3.6.2/lib/python3.6/runpy.py +0 -294
- package/python3.6.2/lib/python3.6/sched.py +0 -170
- package/python3.6.2/lib/python3.6/secrets.py +0 -73
- package/python3.6.2/lib/python3.6/selectors.py +0 -611
- package/python3.6.2/lib/python3.6/shelve.py +0 -243
- package/python3.6.2/lib/python3.6/shlex.py +0 -335
- package/python3.6.2/lib/python3.6/shutil.py +0 -1153
- package/python3.6.2/lib/python3.6/signal.py +0 -79
- package/python3.6.2/lib/python3.6/site.py +0 -598
- package/python3.6.2/lib/python3.6/smtpd.py +0 -965
- package/python3.6.2/lib/python3.6/smtplib.py +0 -1115
- package/python3.6.2/lib/python3.6/sndhdr.py +0 -257
- package/python3.6.2/lib/python3.6/socket.py +0 -750
- package/python3.6.2/lib/python3.6/socketserver.py +0 -793
- package/python3.6.2/lib/python3.6/sqlite3/__init__.py +0 -23
- package/python3.6.2/lib/python3.6/sqlite3/dbapi2.py +0 -89
- package/python3.6.2/lib/python3.6/sqlite3/dump.py +0 -70
- package/python3.6.2/lib/python3.6/sqlite3/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/dbapi.py +0 -938
- package/python3.6.2/lib/python3.6/sqlite3/test/dump.py +0 -81
- package/python3.6.2/lib/python3.6/sqlite3/test/factory.py +0 -293
- package/python3.6.2/lib/python3.6/sqlite3/test/hooks.py +0 -264
- package/python3.6.2/lib/python3.6/sqlite3/test/regression.py +0 -410
- package/python3.6.2/lib/python3.6/sqlite3/test/transactions.py +0 -214
- package/python3.6.2/lib/python3.6/sqlite3/test/types.py +0 -421
- package/python3.6.2/lib/python3.6/sqlite3/test/userfunctions.py +0 -473
- package/python3.6.2/lib/python3.6/sre_compile.py +0 -580
- package/python3.6.2/lib/python3.6/sre_constants.py +0 -233
- package/python3.6.2/lib/python3.6/sre_parse.py +0 -973
- package/python3.6.2/lib/python3.6/ssl.py +0 -1228
- package/python3.6.2/lib/python3.6/stat.py +0 -178
- package/python3.6.2/lib/python3.6/statistics.py +0 -670
- package/python3.6.2/lib/python3.6/string.py +0 -309
- package/python3.6.2/lib/python3.6/stringprep.py +0 -272
- package/python3.6.2/lib/python3.6/struct.py +0 -15
- package/python3.6.2/lib/python3.6/subprocess.py +0 -1590
- package/python3.6.2/lib/python3.6/sunau.py +0 -525
- package/python3.6.2/lib/python3.6/symbol.py +0 -115
- package/python3.6.2/lib/python3.6/symtable.py +0 -238
- package/python3.6.2/lib/python3.6/sysconfig.py +0 -721
- package/python3.6.2/lib/python3.6/tabnanny.py +0 -332
- package/python3.6.2/lib/python3.6/tarfile.py +0 -2547
- package/python3.6.2/lib/python3.6/telnetlib.py +0 -675
- package/python3.6.2/lib/python3.6/tempfile.py +0 -811
- package/python3.6.2/lib/python3.6/test/Sine-1000Hz-300ms.aif +0 -0
- package/python3.6.2/lib/python3.6/test/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/test/__main__.py +0 -2
- package/python3.6.2/lib/python3.6/test/_test_multiprocessing.py +0 -4458
- package/python3.6.2/lib/python3.6/test/allsans.pem +0 -37
- package/python3.6.2/lib/python3.6/test/ann_module.py +0 -53
- package/python3.6.2/lib/python3.6/test/ann_module2.py +0 -36
- package/python3.6.2/lib/python3.6/test/ann_module3.py +0 -18
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-alaw.aifc +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm16.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm24.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm32.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-pcm8.wav +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-ulaw.aifc +0 -0
- package/python3.6.2/lib/python3.6/test/audiodata/pluck-ulaw.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiotest.au +0 -0
- package/python3.6.2/lib/python3.6/test/audiotests.py +0 -329
- package/python3.6.2/lib/python3.6/test/autotest.py +0 -5
- package/python3.6.2/lib/python3.6/test/bad_coding.py +0 -1
- package/python3.6.2/lib/python3.6/test/bad_coding2.py +0 -2
- package/python3.6.2/lib/python3.6/test/badcert.pem +0 -36
- package/python3.6.2/lib/python3.6/test/badkey.pem +0 -40
- package/python3.6.2/lib/python3.6/test/badsyntax_3131.py +0 -2
- package/python3.6.2/lib/python3.6/test/badsyntax_future10.py +0 -3
- package/python3.6.2/lib/python3.6/test/badsyntax_future3.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future4.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future5.py +0 -12
- package/python3.6.2/lib/python3.6/test/badsyntax_future6.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future7.py +0 -11
- package/python3.6.2/lib/python3.6/test/badsyntax_future8.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_future9.py +0 -10
- package/python3.6.2/lib/python3.6/test/badsyntax_pep3120.py +0 -1
- package/python3.6.2/lib/python3.6/test/bisect.py +0 -167
- package/python3.6.2/lib/python3.6/test/bytecode_helper.py +0 -41
- package/python3.6.2/lib/python3.6/test/capath/4e1295a3.0 +0 -14
- package/python3.6.2/lib/python3.6/test/capath/5ed36f99.0 +0 -41
- package/python3.6.2/lib/python3.6/test/capath/6e88d7b8.0 +0 -14
- package/python3.6.2/lib/python3.6/test/capath/99d0fa06.0 +0 -41
- package/python3.6.2/lib/python3.6/test/capath/b1930218.0 +0 -21
- package/python3.6.2/lib/python3.6/test/capath/ceff1710.0 +0 -21
- package/python3.6.2/lib/python3.6/test/cfgparser.1 +0 -3
- package/python3.6.2/lib/python3.6/test/cfgparser.2 +0 -537
- package/python3.6.2/lib/python3.6/test/cfgparser.3 +0 -69
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5-utf8.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs-utf8.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949-utf8.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213-utf8.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030-utf8.txt +0 -15
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030.txt +0 -15
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312-utf8.txt +0 -6
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312.txt +0 -6
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk-utf8.txt +0 -14
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk.txt +0 -14
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz-utf8.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz.txt +0 -2
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab-utf8.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab.txt +0 -9
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis-utf8.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis.txt +0 -7
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213-utf8.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213.txt +0 -8
- package/python3.6.2/lib/python3.6/test/cmath_testcases.txt +0 -2511
- package/python3.6.2/lib/python3.6/test/coding20731.py +0 -4
- package/python3.6.2/lib/python3.6/test/crashers/README +0 -20
- package/python3.6.2/lib/python3.6/test/crashers/bogus_code_obj.py +0 -19
- package/python3.6.2/lib/python3.6/test/crashers/gc_inspection.py +0 -32
- package/python3.6.2/lib/python3.6/test/crashers/infinite_loop_re.py +0 -16
- package/python3.6.2/lib/python3.6/test/crashers/mutation_inside_cyclegc.py +0 -31
- package/python3.6.2/lib/python3.6/test/crashers/recursive_call.py +0 -15
- package/python3.6.2/lib/python3.6/test/crashers/trace_at_recursion_limit.py +0 -27
- package/python3.6.2/lib/python3.6/test/crashers/underlying_dict.py +0 -20
- package/python3.6.2/lib/python3.6/test/curses_tests.py +0 -46
- package/python3.6.2/lib/python3.6/test/data/README +0 -2
- package/python3.6.2/lib/python3.6/test/datetimetester.py +0 -4929
- package/python3.6.2/lib/python3.6/test/decimaltestdata/abs.decTest +0 -161
- package/python3.6.2/lib/python3.6/test/decimaltestdata/add.decTest +0 -2716
- package/python3.6.2/lib/python3.6/test/decimaltestdata/and.decTest +0 -338
- package/python3.6.2/lib/python3.6/test/decimaltestdata/base.decTest +0 -1411
- package/python3.6.2/lib/python3.6/test/decimaltestdata/clamp.decTest +0 -211
- package/python3.6.2/lib/python3.6/test/decimaltestdata/class.decTest +0 -131
- package/python3.6.2/lib/python3.6/test/decimaltestdata/compare.decTest +0 -758
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotal.decTest +0 -798
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotmag.decTest +0 -790
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copy.decTest +0 -86
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copyabs.decTest +0 -86
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copynegate.decTest +0 -86
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copysign.decTest +0 -177
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAbs.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAdd.decTest +0 -1328
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAnd.decTest +0 -347
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddBase.decTest +0 -1104
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCanonical.decTest +0 -357
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddClass.decTest +0 -76
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompare.decTest +0 -744
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareSig.decTest +0 -647
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotal.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotalMag.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopy.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyAbs.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyNegate.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopySign.decTest +0 -175
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivide.decTest +0 -863
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivideInt.decTest +0 -449
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddEncode.decTest +0 -495
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddFMA.decTest +0 -1698
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddInvert.decTest +0 -202
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddLogB.decTest +0 -159
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMax.decTest +0 -322
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMaxMag.decTest +0 -304
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMin.decTest +0 -309
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinMag.decTest +0 -293
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMultiply.decTest +0 -553
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextMinus.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextPlus.decTest +0 -124
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextToward.decTest +0 -374
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddOr.decTest +0 -292
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddPlus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddQuantize.decTest +0 -833
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddReduce.decTest +0 -182
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainder.decTest +0 -600
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainderNear.decTest +0 -629
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRotate.decTest +0 -262
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSameQuantum.decTest +0 -389
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddScaleB.decTest +0 -243
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddShift.decTest +0 -262
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSubtract.decTest +0 -629
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddToIntegral.decTest +0 -257
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddXor.decTest +0 -337
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decDouble.decTest +0 -65
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decQuad.decTest +0 -65
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decSingle.decTest +0 -25
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divide.decTest +0 -854
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divideint.decTest +0 -486
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAbs.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAdd.decTest +0 -1215
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAnd.decTest +0 -420
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqBase.decTest +0 -1081
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCanonical.decTest +0 -372
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqClass.decTest +0 -77
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompare.decTest +0 -753
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareSig.decTest +0 -647
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotal.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotalMag.decTest +0 -706
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopy.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyAbs.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyNegate.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopySign.decTest +0 -175
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivide.decTest +0 -808
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivideInt.decTest +0 -453
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqEncode.decTest +0 -477
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqFMA.decTest +0 -1786
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqInvert.decTest +0 -245
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqLogB.decTest +0 -160
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMax.decTest +0 -322
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMaxMag.decTest +0 -304
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMin.decTest +0 -309
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinMag.decTest +0 -293
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMultiply.decTest +0 -589
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextMinus.decTest +0 -126
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextPlus.decTest +0 -124
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextToward.decTest +0 -375
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqOr.decTest +0 -401
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqPlus.decTest +0 -88
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqQuantize.decTest +0 -836
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqReduce.decTest +0 -183
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainder.decTest +0 -597
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainderNear.decTest +0 -631
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRotate.decTest +0 -298
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSameQuantum.decTest +0 -389
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqScaleB.decTest +0 -260
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqShift.decTest +0 -298
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSubtract.decTest +0 -635
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqToIntegral.decTest +0 -257
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqXor.decTest +0 -410
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsBase.decTest +0 -1062
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsEncode.decTest +0 -372
- package/python3.6.2/lib/python3.6/test/decimaltestdata/exp.decTest +0 -674
- package/python3.6.2/lib/python3.6/test/decimaltestdata/extra.decTest +0 -2830
- package/python3.6.2/lib/python3.6/test/decimaltestdata/fma.decTest +0 -3426
- package/python3.6.2/lib/python3.6/test/decimaltestdata/inexact.decTest +0 -215
- package/python3.6.2/lib/python3.6/test/decimaltestdata/invert.decTest +0 -176
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ln.decTest +0 -611
- package/python3.6.2/lib/python3.6/test/decimaltestdata/log10.decTest +0 -551
- package/python3.6.2/lib/python3.6/test/decimaltestdata/logb.decTest +0 -188
- package/python3.6.2/lib/python3.6/test/decimaltestdata/max.decTest +0 -424
- package/python3.6.2/lib/python3.6/test/decimaltestdata/maxmag.decTest +0 -404
- package/python3.6.2/lib/python3.6/test/decimaltestdata/min.decTest +0 -407
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minmag.decTest +0 -390
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minus.decTest +0 -182
- package/python3.6.2/lib/python3.6/test/decimaltestdata/multiply.decTest +0 -731
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextminus.decTest +0 -148
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextplus.decTest +0 -150
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nexttoward.decTest +0 -426
- package/python3.6.2/lib/python3.6/test/decimaltestdata/or.decTest +0 -334
- package/python3.6.2/lib/python3.6/test/decimaltestdata/plus.decTest +0 -195
- package/python3.6.2/lib/python3.6/test/decimaltestdata/power.decTest +0 -1624
- package/python3.6.2/lib/python3.6/test/decimaltestdata/powersqrt.decTest +0 -2970
- package/python3.6.2/lib/python3.6/test/decimaltestdata/quantize.decTest +0 -948
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randomBound32.decTest +0 -2443
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randoms.decTest +0 -4030
- package/python3.6.2/lib/python3.6/test/decimaltestdata/reduce.decTest +0 -234
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainder.decTest +0 -640
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainderNear.decTest +0 -572
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rescale.decTest +0 -764
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rotate.decTest +0 -247
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rounding.decTest +0 -1303
- package/python3.6.2/lib/python3.6/test/decimaltestdata/samequantum.decTest +0 -389
- package/python3.6.2/lib/python3.6/test/decimaltestdata/scaleb.decTest +0 -209
- package/python3.6.2/lib/python3.6/test/decimaltestdata/shift.decTest +0 -250
- package/python3.6.2/lib/python3.6/test/decimaltestdata/squareroot.decTest +0 -3834
- package/python3.6.2/lib/python3.6/test/decimaltestdata/subtract.decTest +0 -873
- package/python3.6.2/lib/python3.6/test/decimaltestdata/testall.decTest +0 -87
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegral.decTest +0 -241
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegralx.decTest +0 -255
- package/python3.6.2/lib/python3.6/test/decimaltestdata/xor.decTest +0 -335
- package/python3.6.2/lib/python3.6/test/dh1024.pem +0 -7
- package/python3.6.2/lib/python3.6/test/dis_module.py +0 -5
- package/python3.6.2/lib/python3.6/test/doctest_aliases.py +0 -13
- package/python3.6.2/lib/python3.6/test/double_const.py +0 -30
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.d +0 -5
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.stp +0 -5
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d +0 -31
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d.expected +0 -18
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.py +0 -30
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp +0 -41
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp.expected +0 -14
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d +0 -18
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d.expected +0 -8
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.py +0 -13
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp +0 -26
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp.expected +0 -8
- package/python3.6.2/lib/python3.6/test/dtracedata/instance.py +0 -24
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d +0 -7
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d.expected +0 -20
- package/python3.6.2/lib/python3.6/test/dtracedata/line.py +0 -17
- package/python3.6.2/lib/python3.6/test/eintrdata/eintr_tester.py +0 -493
- package/python3.6.2/lib/python3.6/test/empty.vbs +0 -1
- package/python3.6.2/lib/python3.6/test/encoded_modules/__init__.py +0 -23
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_iso_8859_1.py +0 -5
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_koi8_r.py +0 -3
- package/python3.6.2/lib/python3.6/test/exception_hierarchy.txt +0 -64
- package/python3.6.2/lib/python3.6/test/final_a.py +0 -19
- package/python3.6.2/lib/python3.6/test/final_b.py +0 -19
- package/python3.6.2/lib/python3.6/test/floating_points.txt +0 -1028
- package/python3.6.2/lib/python3.6/test/fork_wait.py +0 -91
- package/python3.6.2/lib/python3.6/test/formatfloat_testcases.txt +0 -355
- package/python3.6.2/lib/python3.6/test/future_test1.py +0 -11
- package/python3.6.2/lib/python3.6/test/future_test2.py +0 -10
- package/python3.6.2/lib/python3.6/test/gdb_sample.py +0 -12
- package/python3.6.2/lib/python3.6/test/ieee754.txt +0 -185
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.bmp +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.exr +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.gif +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.jpg +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.pbm +0 -3
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.pgm +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.png +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.ppm +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.ras +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.sgi +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.tiff +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.webp +0 -0
- package/python3.6.2/lib/python3.6/test/imghdrdata/python.xbm +0 -6
- package/python3.6.2/lib/python3.6/test/imp_dummy.py +0 -3
- package/python3.6.2/lib/python3.6/test/inspect_fodder.py +0 -76
- package/python3.6.2/lib/python3.6/test/inspect_fodder2.py +0 -139
- package/python3.6.2/lib/python3.6/test/keycert.passwd.pem +0 -33
- package/python3.6.2/lib/python3.6/test/keycert.pem +0 -31
- package/python3.6.2/lib/python3.6/test/keycert2.pem +0 -31
- package/python3.6.2/lib/python3.6/test/keycert3.pem +0 -73
- package/python3.6.2/lib/python3.6/test/keycert4.pem +0 -73
- package/python3.6.2/lib/python3.6/test/leakers/README.txt +0 -32
- package/python3.6.2/lib/python3.6/test/leakers/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/test/leakers/test_ctypes.py +0 -15
- package/python3.6.2/lib/python3.6/test/leakers/test_selftype.py +0 -13
- package/python3.6.2/lib/python3.6/test/libregrtest/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/libregrtest/cmdline.py +0 -387
- package/python3.6.2/lib/python3.6/test/libregrtest/main.py +0 -584
- package/python3.6.2/lib/python3.6/test/libregrtest/refleak.py +0 -294
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest.py +0 -254
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest_mp.py +0 -244
- package/python3.6.2/lib/python3.6/test/libregrtest/save_env.py +0 -284
- package/python3.6.2/lib/python3.6/test/libregrtest/setup.py +0 -140
- package/python3.6.2/lib/python3.6/test/list_tests.py +0 -618
- package/python3.6.2/lib/python3.6/test/lock_tests.py +0 -936
- package/python3.6.2/lib/python3.6/test/mailcap.txt +0 -39
- package/python3.6.2/lib/python3.6/test/make_ssl_certs.py +0 -216
- package/python3.6.2/lib/python3.6/test/mapping_tests.py +0 -657
- package/python3.6.2/lib/python3.6/test/math_testcases.txt +0 -633
- package/python3.6.2/lib/python3.6/test/memory_watchdog.py +0 -28
- package/python3.6.2/lib/python3.6/test/mime.types +0 -1445
- package/python3.6.2/lib/python3.6/test/mock_socket.py +0 -159
- package/python3.6.2/lib/python3.6/test/mod_generics_cache.py +0 -53
- package/python3.6.2/lib/python3.6/test/mp_fork_bomb.py +0 -18
- package/python3.6.2/lib/python3.6/test/mp_preload.py +0 -18
- package/python3.6.2/lib/python3.6/test/multibytecodec_support.py +0 -384
- package/python3.6.2/lib/python3.6/test/nokia.pem +0 -31
- package/python3.6.2/lib/python3.6/test/nullbytecert.pem +0 -90
- package/python3.6.2/lib/python3.6/test/nullcert.pem +0 -0
- package/python3.6.2/lib/python3.6/test/outstanding_bugs.py +0 -18
- package/python3.6.2/lib/python3.6/test/pickletester.py +0 -2922
- package/python3.6.2/lib/python3.6/test/profilee.py +0 -115
- package/python3.6.2/lib/python3.6/test/pstats.pck +0 -0
- package/python3.6.2/lib/python3.6/test/pycacert.pem +0 -78
- package/python3.6.2/lib/python3.6/test/pycakey.pem +0 -28
- package/python3.6.2/lib/python3.6/test/pyclbr_input.py +0 -33
- package/python3.6.2/lib/python3.6/test/pydoc_mod.py +0 -37
- package/python3.6.2/lib/python3.6/test/pydocfodder.py +0 -216
- package/python3.6.2/lib/python3.6/test/pystone.py +0 -277
- package/python3.6.2/lib/python3.6/test/pythoninfo.py +0 -486
- package/python3.6.2/lib/python3.6/test/randv2_32.pck +0 -633
- package/python3.6.2/lib/python3.6/test/randv2_64.pck +0 -633
- package/python3.6.2/lib/python3.6/test/randv3.pck +0 -633
- package/python3.6.2/lib/python3.6/test/re_tests.py +0 -670
- package/python3.6.2/lib/python3.6/test/regrtest.py +0 -50
- package/python3.6.2/lib/python3.6/test/relimport.py +0 -1
- package/python3.6.2/lib/python3.6/test/reperf.py +0 -23
- package/python3.6.2/lib/python3.6/test/revocation.crl +0 -11
- package/python3.6.2/lib/python3.6/test/sample_doctest.py +0 -76
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_docstrings.py +0 -12
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_doctests.py +0 -15
- package/python3.6.2/lib/python3.6/test/selfsigned_pythontestdotnet.pem +0 -16
- package/python3.6.2/lib/python3.6/test/seq_tests.py +0 -414
- package/python3.6.2/lib/python3.6/test/sgml_input.html +0 -212
- package/python3.6.2/lib/python3.6/test/signalinterproctester.py +0 -84
- package/python3.6.2/lib/python3.6/test/sndhdrdata/README +0 -5
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.8svx +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.aifc +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.aiff +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.au +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.hcom +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.sndt +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.voc +0 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/sndhdr.wav +0 -0
- package/python3.6.2/lib/python3.6/test/sortperf.py +0 -169
- package/python3.6.2/lib/python3.6/test/ssl_cert.pem +0 -15
- package/python3.6.2/lib/python3.6/test/ssl_key.passwd.pem +0 -18
- package/python3.6.2/lib/python3.6/test/ssl_key.pem +0 -16
- package/python3.6.2/lib/python3.6/test/ssl_servers.py +0 -209
- package/python3.6.2/lib/python3.6/test/ssltests.py +0 -37
- package/python3.6.2/lib/python3.6/test/string_tests.py +0 -1383
- package/python3.6.2/lib/python3.6/test/subprocessdata/fd_status.py +0 -34
- package/python3.6.2/lib/python3.6/test/subprocessdata/input_reader.py +0 -7
- package/python3.6.2/lib/python3.6/test/subprocessdata/qcat.py +0 -7
- package/python3.6.2/lib/python3.6/test/subprocessdata/qgrep.py +0 -10
- package/python3.6.2/lib/python3.6/test/subprocessdata/sigchild_ignore.py +0 -15
- package/python3.6.2/lib/python3.6/test/support/__init__.py +0 -2706
- package/python3.6.2/lib/python3.6/test/support/script_helper.py +0 -259
- package/python3.6.2/lib/python3.6/test/test___all__.py +0 -109
- package/python3.6.2/lib/python3.6/test/test___future__.py +0 -61
- package/python3.6.2/lib/python3.6/test/test__locale.py +0 -193
- package/python3.6.2/lib/python3.6/test/test__opcode.py +0 -20
- package/python3.6.2/lib/python3.6/test/test__osx_support.py +0 -276
- package/python3.6.2/lib/python3.6/test/test_abc.py +0 -420
- package/python3.6.2/lib/python3.6/test/test_abstract_numbers.py +0 -44
- package/python3.6.2/lib/python3.6/test/test_aifc.py +0 -399
- package/python3.6.2/lib/python3.6/test/test_argparse.py +0 -5006
- package/python3.6.2/lib/python3.6/test/test_array.py +0 -1388
- package/python3.6.2/lib/python3.6/test/test_asdl_parser.py +0 -122
- package/python3.6.2/lib/python3.6/test/test_ast.py +0 -1170
- package/python3.6.2/lib/python3.6/test/test_asyncgen.py +0 -1044
- package/python3.6.2/lib/python3.6/test/test_asynchat.py +0 -308
- package/python3.6.2/lib/python3.6/test/test_asyncio/__init__.py +0 -10
- package/python3.6.2/lib/python3.6/test/test_asyncio/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo.py +0 -8
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo2.py +0 -6
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo3.py +0 -11
- package/python3.6.2/lib/python3.6/test/test_asyncio/keycert3.pem +0 -73
- package/python3.6.2/lib/python3.6/test/test_asyncio/pycacert.pem +0 -78
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_cert.pem +0 -15
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_key.pem +0 -16
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_base_events.py +0 -1761
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_events.py +0 -2791
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_futures.py +0 -692
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_locks.py +0 -943
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_pep492.py +0 -232
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_proactor_events.py +0 -593
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_queues.py +0 -643
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_selector_events.py +0 -1833
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_sslproto.py +0 -134
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_streams.py +0 -868
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_subprocess.py +0 -532
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_tasks.py +0 -2598
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_transports.py +0 -91
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_unix_events.py +0 -1621
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_events.py +0 -164
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_utils.py +0 -182
- package/python3.6.2/lib/python3.6/test/test_asyncore.py +0 -847
- package/python3.6.2/lib/python3.6/test/test_atexit.py +0 -192
- package/python3.6.2/lib/python3.6/test/test_audioop.py +0 -565
- package/python3.6.2/lib/python3.6/test/test_augassign.py +0 -326
- package/python3.6.2/lib/python3.6/test/test_base64.py +0 -681
- package/python3.6.2/lib/python3.6/test/test_baseexception.py +0 -183
- package/python3.6.2/lib/python3.6/test/test_bigaddrspace.py +0 -101
- package/python3.6.2/lib/python3.6/test/test_bigmem.py +0 -1256
- package/python3.6.2/lib/python3.6/test/test_binascii.py +0 -373
- package/python3.6.2/lib/python3.6/test/test_binhex.py +0 -55
- package/python3.6.2/lib/python3.6/test/test_binop.py +0 -441
- package/python3.6.2/lib/python3.6/test/test_bisect.py +0 -328
- package/python3.6.2/lib/python3.6/test/test_bool.py +0 -368
- package/python3.6.2/lib/python3.6/test/test_buffer.py +0 -4396
- package/python3.6.2/lib/python3.6/test/test_bufio.py +0 -73
- package/python3.6.2/lib/python3.6/test/test_builtin.py +0 -1851
- package/python3.6.2/lib/python3.6/test/test_bytes.py +0 -1759
- package/python3.6.2/lib/python3.6/test/test_bz2.py +0 -1002
- package/python3.6.2/lib/python3.6/test/test_calendar.py +0 -848
- package/python3.6.2/lib/python3.6/test/test_call.py +0 -302
- package/python3.6.2/lib/python3.6/test/test_capi.py +0 -753
- package/python3.6.2/lib/python3.6/test/test_cgi.py +0 -539
- package/python3.6.2/lib/python3.6/test/test_cgitb.py +0 -67
- package/python3.6.2/lib/python3.6/test/test_charmapcodec.py +0 -53
- package/python3.6.2/lib/python3.6/test/test_class.py +0 -599
- package/python3.6.2/lib/python3.6/test/test_cmath.py +0 -643
- package/python3.6.2/lib/python3.6/test/test_cmd.py +0 -243
- package/python3.6.2/lib/python3.6/test/test_cmd_line.py +0 -494
- package/python3.6.2/lib/python3.6/test/test_cmd_line_script.py +0 -648
- package/python3.6.2/lib/python3.6/test/test_code.py +0 -367
- package/python3.6.2/lib/python3.6/test/test_code_module.py +0 -154
- package/python3.6.2/lib/python3.6/test/test_codeccallbacks.py +0 -1074
- package/python3.6.2/lib/python3.6/test/test_codecencodings_cn.py +0 -96
- package/python3.6.2/lib/python3.6/test/test_codecencodings_hk.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_codecencodings_iso2022.py +0 -41
- package/python3.6.2/lib/python3.6/test/test_codecencodings_jp.py +0 -126
- package/python3.6.2/lib/python3.6/test/test_codecencodings_kr.py +0 -69
- package/python3.6.2/lib/python3.6/test/test_codecencodings_tw.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_codecmaps_cn.py +0 -26
- package/python3.6.2/lib/python3.6/test/test_codecmaps_hk.py +0 -15
- package/python3.6.2/lib/python3.6/test/test_codecmaps_jp.py +0 -60
- package/python3.6.2/lib/python3.6/test/test_codecmaps_kr.py +0 -37
- package/python3.6.2/lib/python3.6/test/test_codecmaps_tw.py +0 -27
- package/python3.6.2/lib/python3.6/test/test_codecs.py +0 -3272
- package/python3.6.2/lib/python3.6/test/test_codeop.py +0 -299
- package/python3.6.2/lib/python3.6/test/test_collections.py +0 -1926
- package/python3.6.2/lib/python3.6/test/test_colorsys.py +0 -100
- package/python3.6.2/lib/python3.6/test/test_compare.py +0 -124
- package/python3.6.2/lib/python3.6/test/test_compile.py +0 -720
- package/python3.6.2/lib/python3.6/test/test_compileall.py +0 -547
- package/python3.6.2/lib/python3.6/test/test_complex.py +0 -688
- package/python3.6.2/lib/python3.6/test/test_concurrent_futures.py +0 -836
- package/python3.6.2/lib/python3.6/test/test_configparser.py +0 -2096
- package/python3.6.2/lib/python3.6/test/test_contains.py +0 -114
- package/python3.6.2/lib/python3.6/test/test_contextlib.py +0 -990
- package/python3.6.2/lib/python3.6/test/test_copy.py +0 -888
- package/python3.6.2/lib/python3.6/test/test_copyreg.py +0 -126
- package/python3.6.2/lib/python3.6/test/test_coroutines.py +0 -2151
- package/python3.6.2/lib/python3.6/test/test_cprofile.py +0 -98
- package/python3.6.2/lib/python3.6/test/test_crashers.py +0 -37
- package/python3.6.2/lib/python3.6/test/test_crypt.py +0 -45
- package/python3.6.2/lib/python3.6/test/test_csv.py +0 -1175
- package/python3.6.2/lib/python3.6/test/test_ctypes.py +0 -9
- package/python3.6.2/lib/python3.6/test/test_curses.py +0 -549
- package/python3.6.2/lib/python3.6/test/test_datetime.py +0 -57
- package/python3.6.2/lib/python3.6/test/test_dbm.py +0 -192
- package/python3.6.2/lib/python3.6/test/test_dbm_dumb.py +0 -286
- package/python3.6.2/lib/python3.6/test/test_dbm_gnu.py +0 -97
- package/python3.6.2/lib/python3.6/test/test_dbm_ndbm.py +0 -52
- package/python3.6.2/lib/python3.6/test/test_decimal.py +0 -5707
- package/python3.6.2/lib/python3.6/test/test_decorators.py +0 -304
- package/python3.6.2/lib/python3.6/test/test_defaultdict.py +0 -187
- package/python3.6.2/lib/python3.6/test/test_deque.py +0 -1059
- package/python3.6.2/lib/python3.6/test/test_descr.py +0 -5452
- package/python3.6.2/lib/python3.6/test/test_descrtut.py +0 -486
- package/python3.6.2/lib/python3.6/test/test_devpoll.py +0 -145
- package/python3.6.2/lib/python3.6/test/test_dict.py +0 -1217
- package/python3.6.2/lib/python3.6/test/test_dict_version.py +0 -186
- package/python3.6.2/lib/python3.6/test/test_dictcomps.py +0 -86
- package/python3.6.2/lib/python3.6/test/test_dictviews.py +0 -272
- package/python3.6.2/lib/python3.6/test/test_difflib.py +0 -478
- package/python3.6.2/lib/python3.6/test/test_difflib_expect.html +0 -526
- package/python3.6.2/lib/python3.6/test/test_dis.py +0 -960
- package/python3.6.2/lib/python3.6/test/test_distutils.py +0 -18
- package/python3.6.2/lib/python3.6/test/test_doctest.py +0 -2962
- package/python3.6.2/lib/python3.6/test/test_doctest.txt +0 -17
- package/python3.6.2/lib/python3.6/test/test_doctest2.py +0 -123
- package/python3.6.2/lib/python3.6/test/test_doctest2.txt +0 -14
- package/python3.6.2/lib/python3.6/test/test_doctest3.txt +0 -5
- package/python3.6.2/lib/python3.6/test/test_doctest4.txt +0 -11
- package/python3.6.2/lib/python3.6/test/test_docxmlrpc.py +0 -198
- package/python3.6.2/lib/python3.6/test/test_dtrace.py +0 -178
- package/python3.6.2/lib/python3.6/test/test_dummy_thread.py +0 -256
- package/python3.6.2/lib/python3.6/test/test_dummy_threading.py +0 -60
- package/python3.6.2/lib/python3.6/test/test_dynamic.py +0 -138
- package/python3.6.2/lib/python3.6/test/test_dynamicclassattribute.py +0 -300
- package/python3.6.2/lib/python3.6/test/test_eintr.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/__init__.py +0 -166
- package/python3.6.2/lib/python3.6/test/test_email/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_email/data/PyBanner048.gif +0 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/audiotest.au +0 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_01.txt +0 -19
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_02.txt +0 -136
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_03.txt +0 -16
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_04.txt +0 -37
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_05.txt +0 -28
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_06.txt +0 -33
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_07.txt +0 -83
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_08.txt +0 -24
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_09.txt +0 -24
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_10.txt +0 -39
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_11.txt +0 -7
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12.txt +0 -36
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12a.txt +0 -38
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_13.txt +0 -94
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_14.txt +0 -23
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_15.txt +0 -52
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_16.txt +0 -123
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_17.txt +0 -12
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_18.txt +0 -6
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_19.txt +0 -43
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_20.txt +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_21.txt +0 -20
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_22.txt +0 -46
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_23.txt +0 -8
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_24.txt +0 -10
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_25.txt +0 -117
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_26.txt +0 -46
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_27.txt +0 -15
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_28.txt +0 -25
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_29.txt +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_30.txt +0 -23
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_31.txt +0 -15
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_32.txt +0 -14
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_33.txt +0 -29
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_34.txt +0 -19
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_35.txt +0 -4
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_36.txt +0 -40
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_37.txt +0 -22
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_38.txt +0 -101
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_39.txt +0 -83
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_40.txt +0 -10
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_41.txt +0 -8
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_42.txt +0 -20
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_43.txt +0 -217
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_44.txt +0 -33
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_45.txt +0 -33
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_46.txt +0 -23
- package/python3.6.2/lib/python3.6/test/test_email/test__encoded_words.py +0 -192
- package/python3.6.2/lib/python3.6/test/test_email/test__header_value_parser.py +0 -2723
- package/python3.6.2/lib/python3.6/test/test_email/test_asian_codecs.py +0 -81
- package/python3.6.2/lib/python3.6/test/test_email/test_contentmanager.py +0 -796
- package/python3.6.2/lib/python3.6/test/test_email/test_defect_handling.py +0 -320
- package/python3.6.2/lib/python3.6/test/test_email/test_email.py +0 -5402
- package/python3.6.2/lib/python3.6/test/test_email/test_generator.py +0 -296
- package/python3.6.2/lib/python3.6/test/test_email/test_headerregistry.py +0 -1653
- package/python3.6.2/lib/python3.6/test/test_email/test_inversion.py +0 -70
- package/python3.6.2/lib/python3.6/test/test_email/test_message.py +0 -803
- package/python3.6.2/lib/python3.6/test/test_email/test_parser.py +0 -110
- package/python3.6.2/lib/python3.6/test/test_email/test_pickleable.py +0 -76
- package/python3.6.2/lib/python3.6/test/test_email/test_policy.py +0 -346
- package/python3.6.2/lib/python3.6/test/test_email/test_utils.py +0 -163
- package/python3.6.2/lib/python3.6/test/test_email/torture_test.py +0 -133
- package/python3.6.2/lib/python3.6/test/test_ensurepip.py +0 -310
- package/python3.6.2/lib/python3.6/test/test_enum.py +0 -2618
- package/python3.6.2/lib/python3.6/test/test_enumerate.py +0 -269
- package/python3.6.2/lib/python3.6/test/test_eof.py +0 -28
- package/python3.6.2/lib/python3.6/test/test_epoll.py +0 -255
- package/python3.6.2/lib/python3.6/test/test_errno.py +0 -35
- package/python3.6.2/lib/python3.6/test/test_exception_hierarchy.py +0 -204
- package/python3.6.2/lib/python3.6/test/test_exception_variations.py +0 -176
- package/python3.6.2/lib/python3.6/test/test_exceptions.py +0 -1288
- package/python3.6.2/lib/python3.6/test/test_extcall.py +0 -465
- package/python3.6.2/lib/python3.6/test/test_faulthandler.py +0 -817
- package/python3.6.2/lib/python3.6/test/test_fcntl.py +0 -152
- package/python3.6.2/lib/python3.6/test/test_file.py +0 -329
- package/python3.6.2/lib/python3.6/test/test_file_eintr.py +0 -252
- package/python3.6.2/lib/python3.6/test/test_filecmp.py +0 -217
- package/python3.6.2/lib/python3.6/test/test_fileinput.py +0 -1015
- package/python3.6.2/lib/python3.6/test/test_fileio.py +0 -595
- package/python3.6.2/lib/python3.6/test/test_finalization.py +0 -519
- package/python3.6.2/lib/python3.6/test/test_float.py +0 -1422
- package/python3.6.2/lib/python3.6/test/test_flufl.py +0 -22
- package/python3.6.2/lib/python3.6/test/test_fnmatch.py +0 -128
- package/python3.6.2/lib/python3.6/test/test_fork1.py +0 -112
- package/python3.6.2/lib/python3.6/test/test_format.py +0 -494
- package/python3.6.2/lib/python3.6/test/test_fractions.py +0 -635
- package/python3.6.2/lib/python3.6/test/test_frame.py +0 -165
- package/python3.6.2/lib/python3.6/test/test_fstring.py +0 -1038
- package/python3.6.2/lib/python3.6/test/test_ftplib.py +0 -1091
- package/python3.6.2/lib/python3.6/test/test_funcattrs.py +0 -377
- package/python3.6.2/lib/python3.6/test/test_functools.py +0 -2083
- package/python3.6.2/lib/python3.6/test/test_future.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_future3.py +0 -26
- package/python3.6.2/lib/python3.6/test/test_future4.py +0 -6
- package/python3.6.2/lib/python3.6/test/test_future5.py +0 -21
- package/python3.6.2/lib/python3.6/test/test_gc.py +0 -1031
- package/python3.6.2/lib/python3.6/test/test_gdb.py +0 -936
- package/python3.6.2/lib/python3.6/test/test_generator_stop.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_generators.py +0 -2232
- package/python3.6.2/lib/python3.6/test/test_genericpath.py +0 -537
- package/python3.6.2/lib/python3.6/test/test_genexps.py +0 -285
- package/python3.6.2/lib/python3.6/test/test_getargs2.py +0 -958
- package/python3.6.2/lib/python3.6/test/test_getopt.py +0 -184
- package/python3.6.2/lib/python3.6/test/test_getpass.py +0 -163
- package/python3.6.2/lib/python3.6/test/test_gettext.py +0 -770
- package/python3.6.2/lib/python3.6/test/test_glob.py +0 -317
- package/python3.6.2/lib/python3.6/test/test_global.py +0 -61
- package/python3.6.2/lib/python3.6/test/test_grammar.py +0 -1417
- package/python3.6.2/lib/python3.6/test/test_grp.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_gzip.py +0 -672
- package/python3.6.2/lib/python3.6/test/test_hash.py +0 -346
- package/python3.6.2/lib/python3.6/test/test_hashlib.py +0 -954
- package/python3.6.2/lib/python3.6/test/test_heapq.py +0 -427
- package/python3.6.2/lib/python3.6/test/test_hmac.py +0 -496
- package/python3.6.2/lib/python3.6/test/test_html.py +0 -103
- package/python3.6.2/lib/python3.6/test/test_htmlparser.py +0 -778
- package/python3.6.2/lib/python3.6/test/test_http_cookiejar.py +0 -1772
- package/python3.6.2/lib/python3.6/test/test_http_cookies.py +0 -472
- package/python3.6.2/lib/python3.6/test/test_httplib.py +0 -1903
- package/python3.6.2/lib/python3.6/test/test_httpservers.py +0 -1060
- package/python3.6.2/lib/python3.6/test/test_idle.py +0 -23
- package/python3.6.2/lib/python3.6/test/test_imaplib.py +0 -998
- package/python3.6.2/lib/python3.6/test/test_imghdr.py +0 -140
- package/python3.6.2/lib/python3.6/test/test_imp.py +0 -416
- package/python3.6.2/lib/python3.6/test/test_import/__init__.py +0 -1199
- package/python3.6.2/lib/python3.6/test/test_import/__main__.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic2.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/indirect.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding2.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpackage.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/subpackage2.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/util.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/util.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/package/__init__.py +0 -2
- package/python3.6.2/lib/python3.6/test/test_import/data/package/submodule.py +0 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/package2/submodule1.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_import/data/package2/submodule2.py +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/abc.py +0 -94
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_finder.py +0 -90
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_loader.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_case_sensitivity.py +0 -46
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_finder.py +0 -44
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_loader.py +0 -277
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_path_hook.py +0 -31
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_finder.py +0 -84
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_loader.py +0 -225
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___loader__.py +0 -75
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___package__.py +0 -163
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_api.py +0 -119
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_caching.py +0 -93
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_fromlist.py +0 -175
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_meta_path.py +0 -125
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_packages.py +0 -110
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_path.py +0 -257
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_relative_imports.py +0 -232
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion1/foo/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion2/foo/two.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +0 -1
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/__init__.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_importlib/source/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_case_sensitivity.py +0 -85
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_file_loader.py +0 -602
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_finder.py +0 -236
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_path_hook.py +0 -41
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_source_encoding.py +0 -175
- package/python3.6.2/lib/python3.6/test/test_importlib/test_abc.py +0 -953
- package/python3.6.2/lib/python3.6/test/test_importlib/test_api.py +0 -449
- package/python3.6.2/lib/python3.6/test/test_importlib/test_lazy.py +0 -145
- package/python3.6.2/lib/python3.6/test/test_importlib/test_locks.py +0 -175
- package/python3.6.2/lib/python3.6/test/test_importlib/test_namespace_pkgs.py +0 -321
- package/python3.6.2/lib/python3.6/test/test_importlib/test_spec.py +0 -819
- package/python3.6.2/lib/python3.6/test/test_importlib/test_util.py +0 -805
- package/python3.6.2/lib/python3.6/test/test_importlib/test_windows.py +0 -109
- package/python3.6.2/lib/python3.6/test/test_importlib/util.py +0 -388
- package/python3.6.2/lib/python3.6/test/test_index.py +0 -275
- package/python3.6.2/lib/python3.6/test/test_inspect.py +0 -3725
- package/python3.6.2/lib/python3.6/test/test_int.py +0 -518
- package/python3.6.2/lib/python3.6/test/test_int_literal.py +0 -143
- package/python3.6.2/lib/python3.6/test/test_io.py +0 -4054
- package/python3.6.2/lib/python3.6/test/test_ioctl.py +0 -91
- package/python3.6.2/lib/python3.6/test/test_ipaddress.py +0 -1972
- package/python3.6.2/lib/python3.6/test/test_isinstance.py +0 -280
- package/python3.6.2/lib/python3.6/test/test_iter.py +0 -1016
- package/python3.6.2/lib/python3.6/test/test_iterlen.py +0 -228
- package/python3.6.2/lib/python3.6/test/test_itertools.py +0 -2340
- package/python3.6.2/lib/python3.6/test/test_json/__init__.py +0 -56
- package/python3.6.2/lib/python3.6/test/test_json/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_json/test_decode.py +0 -97
- package/python3.6.2/lib/python3.6/test/test_json/test_default.py +0 -12
- package/python3.6.2/lib/python3.6/test/test_json/test_dump.py +0 -68
- package/python3.6.2/lib/python3.6/test/test_json/test_encode_basestring_ascii.py +0 -48
- package/python3.6.2/lib/python3.6/test/test_json/test_enum.py +0 -120
- package/python3.6.2/lib/python3.6/test/test_json/test_fail.py +0 -216
- package/python3.6.2/lib/python3.6/test/test_json/test_float.py +0 -33
- package/python3.6.2/lib/python3.6/test/test_json/test_indent.py +0 -67
- package/python3.6.2/lib/python3.6/test/test_json/test_pass1.py +0 -75
- package/python3.6.2/lib/python3.6/test/test_json/test_pass2.py +0 -18
- package/python3.6.2/lib/python3.6/test/test_json/test_pass3.py +0 -24
- package/python3.6.2/lib/python3.6/test/test_json/test_recursion.py +0 -100
- package/python3.6.2/lib/python3.6/test/test_json/test_scanstring.py +0 -141
- package/python3.6.2/lib/python3.6/test/test_json/test_separators.py +0 -50
- package/python3.6.2/lib/python3.6/test/test_json/test_speedups.py +0 -71
- package/python3.6.2/lib/python3.6/test/test_json/test_tool.py +0 -107
- package/python3.6.2/lib/python3.6/test/test_json/test_unicode.py +0 -98
- package/python3.6.2/lib/python3.6/test/test_keyword.py +0 -138
- package/python3.6.2/lib/python3.6/test/test_keywordonlyarg.py +0 -189
- package/python3.6.2/lib/python3.6/test/test_kqueue.py +0 -263
- package/python3.6.2/lib/python3.6/test/test_largefile.py +0 -180
- package/python3.6.2/lib/python3.6/test/test_lib2to3.py +0 -5
- package/python3.6.2/lib/python3.6/test/test_linecache.py +0 -242
- package/python3.6.2/lib/python3.6/test/test_list.py +0 -155
- package/python3.6.2/lib/python3.6/test/test_listcomps.py +0 -148
- package/python3.6.2/lib/python3.6/test/test_locale.py +0 -587
- package/python3.6.2/lib/python3.6/test/test_logging.py +0 -4442
- package/python3.6.2/lib/python3.6/test/test_long.py +0 -1322
- package/python3.6.2/lib/python3.6/test/test_longexp.py +0 -10
- package/python3.6.2/lib/python3.6/test/test_lzma.py +0 -1764
- package/python3.6.2/lib/python3.6/test/test_macpath.py +0 -149
- package/python3.6.2/lib/python3.6/test/test_macurl2path.py +0 -31
- package/python3.6.2/lib/python3.6/test/test_mailbox.py +0 -2288
- package/python3.6.2/lib/python3.6/test/test_mailcap.py +0 -239
- package/python3.6.2/lib/python3.6/test/test_marshal.py +0 -556
- package/python3.6.2/lib/python3.6/test/test_math.py +0 -1422
- package/python3.6.2/lib/python3.6/test/test_memoryio.py +0 -842
- package/python3.6.2/lib/python3.6/test/test_memoryview.py +0 -537
- package/python3.6.2/lib/python3.6/test/test_metaclass.py +0 -265
- package/python3.6.2/lib/python3.6/test/test_mimetypes.py +0 -111
- package/python3.6.2/lib/python3.6/test/test_minidom.py +0 -1574
- package/python3.6.2/lib/python3.6/test/test_mmap.py +0 -803
- package/python3.6.2/lib/python3.6/test/test_module.py +0 -244
- package/python3.6.2/lib/python3.6/test/test_modulefinder.py +0 -337
- package/python3.6.2/lib/python3.6/test/test_msilib.py +0 -99
- package/python3.6.2/lib/python3.6/test/test_multibytecodec.py +0 -270
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_fork.py +0 -13
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_forkserver.py +0 -12
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_main_handling.py +0 -290
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_spawn.py +0 -12
- package/python3.6.2/lib/python3.6/test/test_netrc.py +0 -133
- package/python3.6.2/lib/python3.6/test/test_nis.py +0 -39
- package/python3.6.2/lib/python3.6/test/test_nntplib.py +0 -1581
- package/python3.6.2/lib/python3.6/test/test_normalization.py +0 -108
- package/python3.6.2/lib/python3.6/test/test_ntpath.py +0 -539
- package/python3.6.2/lib/python3.6/test/test_numeric_tower.py +0 -202
- package/python3.6.2/lib/python3.6/test/test_opcodes.py +0 -135
- package/python3.6.2/lib/python3.6/test/test_openpty.py +0 -21
- package/python3.6.2/lib/python3.6/test/test_operator.py +0 -609
- package/python3.6.2/lib/python3.6/test/test_optparse.py +0 -1664
- package/python3.6.2/lib/python3.6/test/test_ordered_dict.py +0 -787
- package/python3.6.2/lib/python3.6/test/test_os.py +0 -3548
- package/python3.6.2/lib/python3.6/test/test_ossaudiodev.py +0 -202
- package/python3.6.2/lib/python3.6/test/test_osx_env.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_parser.py +0 -905
- package/python3.6.2/lib/python3.6/test/test_pathlib.py +0 -2252
- package/python3.6.2/lib/python3.6/test/test_pdb.py +0 -1124
- package/python3.6.2/lib/python3.6/test/test_peepholer.py +0 -325
- package/python3.6.2/lib/python3.6/test/test_pickle.py +0 -514
- package/python3.6.2/lib/python3.6/test/test_pickletools.py +0 -99
- package/python3.6.2/lib/python3.6/test/test_pipes.py +0 -203
- package/python3.6.2/lib/python3.6/test/test_pkg.py +0 -295
- package/python3.6.2/lib/python3.6/test/test_pkgimport.py +0 -80
- package/python3.6.2/lib/python3.6/test/test_pkgutil.py +0 -491
- package/python3.6.2/lib/python3.6/test/test_platform.py +0 -370
- package/python3.6.2/lib/python3.6/test/test_plistlib.py +0 -662
- package/python3.6.2/lib/python3.6/test/test_poll.py +0 -238
- package/python3.6.2/lib/python3.6/test/test_popen.py +0 -65
- package/python3.6.2/lib/python3.6/test/test_poplib.py +0 -520
- package/python3.6.2/lib/python3.6/test/test_posix.py +0 -1298
- package/python3.6.2/lib/python3.6/test/test_posixpath.py +0 -680
- package/python3.6.2/lib/python3.6/test/test_pow.py +0 -123
- package/python3.6.2/lib/python3.6/test/test_pprint.py +0 -1012
- package/python3.6.2/lib/python3.6/test/test_print.py +0 -193
- package/python3.6.2/lib/python3.6/test/test_profile.py +0 -187
- package/python3.6.2/lib/python3.6/test/test_property.py +0 -272
- package/python3.6.2/lib/python3.6/test/test_pstats.py +0 -38
- package/python3.6.2/lib/python3.6/test/test_pty.py +0 -316
- package/python3.6.2/lib/python3.6/test/test_pulldom.py +0 -342
- package/python3.6.2/lib/python3.6/test/test_pwd.py +0 -125
- package/python3.6.2/lib/python3.6/test/test_py_compile.py +0 -127
- package/python3.6.2/lib/python3.6/test/test_pyclbr.py +0 -176
- package/python3.6.2/lib/python3.6/test/test_pydoc.py +0 -1107
- package/python3.6.2/lib/python3.6/test/test_pyexpat.py +0 -733
- package/python3.6.2/lib/python3.6/test/test_queue.py +0 -362
- package/python3.6.2/lib/python3.6/test/test_quopri.py +0 -210
- package/python3.6.2/lib/python3.6/test/test_raise.py +0 -419
- package/python3.6.2/lib/python3.6/test/test_random.py +0 -939
- package/python3.6.2/lib/python3.6/test/test_range.py +0 -693
- package/python3.6.2/lib/python3.6/test/test_re.py +0 -2087
- package/python3.6.2/lib/python3.6/test/test_readline.py +0 -309
- package/python3.6.2/lib/python3.6/test/test_regrtest.py +0 -967
- package/python3.6.2/lib/python3.6/test/test_repl.py +0 -62
- package/python3.6.2/lib/python3.6/test/test_reprlib.py +0 -405
- package/python3.6.2/lib/python3.6/test/test_resource.py +0 -180
- package/python3.6.2/lib/python3.6/test/test_richcmp.py +0 -355
- package/python3.6.2/lib/python3.6/test/test_rlcompleter.py +0 -141
- package/python3.6.2/lib/python3.6/test/test_robotparser.py +0 -335
- package/python3.6.2/lib/python3.6/test/test_runpy.py +0 -749
- package/python3.6.2/lib/python3.6/test/test_sax.py +0 -1273
- package/python3.6.2/lib/python3.6/test/test_sched.py +0 -204
- package/python3.6.2/lib/python3.6/test/test_scope.py +0 -761
- package/python3.6.2/lib/python3.6/test/test_script_helper.py +0 -110
- package/python3.6.2/lib/python3.6/test/test_secrets.py +0 -124
- package/python3.6.2/lib/python3.6/test/test_select.py +0 -82
- package/python3.6.2/lib/python3.6/test/test_selectors.py +0 -526
- package/python3.6.2/lib/python3.6/test/test_set.py +0 -1903
- package/python3.6.2/lib/python3.6/test/test_setcomps.py +0 -151
- package/python3.6.2/lib/python3.6/test/test_shelve.py +0 -228
- package/python3.6.2/lib/python3.6/test/test_shlex.py +0 -318
- package/python3.6.2/lib/python3.6/test/test_shutil.py +0 -1925
- package/python3.6.2/lib/python3.6/test/test_signal.py +0 -1093
- package/python3.6.2/lib/python3.6/test/test_site.py +0 -595
- package/python3.6.2/lib/python3.6/test/test_slice.py +0 -255
- package/python3.6.2/lib/python3.6/test/test_smtpd.py +0 -1013
- package/python3.6.2/lib/python3.6/test/test_smtplib.py +0 -1292
- package/python3.6.2/lib/python3.6/test/test_smtpnet.py +0 -83
- package/python3.6.2/lib/python3.6/test/test_sndhdr.py +0 -37
- package/python3.6.2/lib/python3.6/test/test_socket.py +0 -5648
- package/python3.6.2/lib/python3.6/test/test_socketserver.py +0 -505
- package/python3.6.2/lib/python3.6/test/test_sort.py +0 -265
- package/python3.6.2/lib/python3.6/test/test_source_encoding.py +0 -225
- package/python3.6.2/lib/python3.6/test/test_spwd.py +0 -75
- package/python3.6.2/lib/python3.6/test/test_sqlite.py +0 -24
- package/python3.6.2/lib/python3.6/test/test_ssl.py +0 -3663
- package/python3.6.2/lib/python3.6/test/test_startfile.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_stat.py +0 -234
- package/python3.6.2/lib/python3.6/test/test_statistics.py +0 -1992
- package/python3.6.2/lib/python3.6/test/test_strftime.py +0 -206
- package/python3.6.2/lib/python3.6/test/test_string.py +0 -439
- package/python3.6.2/lib/python3.6/test/test_string_literals.py +0 -249
- package/python3.6.2/lib/python3.6/test/test_stringprep.py +0 -92
- package/python3.6.2/lib/python3.6/test/test_strptime.py +0 -673
- package/python3.6.2/lib/python3.6/test/test_strtod.py +0 -433
- package/python3.6.2/lib/python3.6/test/test_struct.py +0 -756
- package/python3.6.2/lib/python3.6/test/test_structmembers.py +0 -144
- package/python3.6.2/lib/python3.6/test/test_structseq.py +0 -126
- package/python3.6.2/lib/python3.6/test/test_subclassinit.py +0 -284
- package/python3.6.2/lib/python3.6/test/test_subprocess.py +0 -3005
- package/python3.6.2/lib/python3.6/test/test_sunau.py +0 -121
- package/python3.6.2/lib/python3.6/test/test_sundry.py +0 -57
- package/python3.6.2/lib/python3.6/test/test_super.py +0 -347
- package/python3.6.2/lib/python3.6/test/test_support.py +0 -459
- package/python3.6.2/lib/python3.6/test/test_symbol.py +0 -54
- package/python3.6.2/lib/python3.6/test/test_symtable.py +0 -193
- package/python3.6.2/lib/python3.6/test/test_syntax.py +0 -618
- package/python3.6.2/lib/python3.6/test/test_sys.py +0 -1270
- package/python3.6.2/lib/python3.6/test/test_sys_setprofile.py +0 -376
- package/python3.6.2/lib/python3.6/test/test_sys_settrace.py +0 -854
- package/python3.6.2/lib/python3.6/test/test_sysconfig.py +0 -445
- package/python3.6.2/lib/python3.6/test/test_syslog.py +0 -40
- package/python3.6.2/lib/python3.6/test/test_tarfile.py +0 -2635
- package/python3.6.2/lib/python3.6/test/test_tcl.py +0 -715
- package/python3.6.2/lib/python3.6/test/test_telnetlib.py +0 -401
- package/python3.6.2/lib/python3.6/test/test_tempfile.py +0 -1458
- package/python3.6.2/lib/python3.6/test/test_textwrap.py +0 -981
- package/python3.6.2/lib/python3.6/test/test_thread.py +0 -269
- package/python3.6.2/lib/python3.6/test/test_threaded_import.py +0 -254
- package/python3.6.2/lib/python3.6/test/test_threadedtempfile.py +0 -62
- package/python3.6.2/lib/python3.6/test/test_threading.py +0 -1170
- package/python3.6.2/lib/python3.6/test/test_threading_local.py +0 -220
- package/python3.6.2/lib/python3.6/test/test_threadsignals.py +0 -227
- package/python3.6.2/lib/python3.6/test/test_time.py +0 -1000
- package/python3.6.2/lib/python3.6/test/test_timeit.py +0 -381
- package/python3.6.2/lib/python3.6/test/test_timeout.py +0 -303
- package/python3.6.2/lib/python3.6/test/test_tix.py +0 -32
- package/python3.6.2/lib/python3.6/test/test_tk.py +0 -15
- package/python3.6.2/lib/python3.6/test/test_tokenize.py +0 -1590
- package/python3.6.2/lib/python3.6/test/test_tools/__init__.py +0 -24
- package/python3.6.2/lib/python3.6/test/test_tools/__main__.py +0 -4
- package/python3.6.2/lib/python3.6/test/test_tools/test_fixcid.py +0 -92
- package/python3.6.2/lib/python3.6/test/test_tools/test_gprof2html.py +0 -35
- package/python3.6.2/lib/python3.6/test/test_tools/test_i18n.py +0 -72
- package/python3.6.2/lib/python3.6/test/test_tools/test_md5sum.py +0 -76
- package/python3.6.2/lib/python3.6/test/test_tools/test_pdeps.py +0 -32
- package/python3.6.2/lib/python3.6/test/test_tools/test_pindent.py +0 -339
- package/python3.6.2/lib/python3.6/test/test_tools/test_reindent.py +0 -35
- package/python3.6.2/lib/python3.6/test/test_tools/test_sundry.py +0 -53
- package/python3.6.2/lib/python3.6/test/test_tools/test_unparse.py +0 -313
- package/python3.6.2/lib/python3.6/test/test_trace.py +0 -391
- package/python3.6.2/lib/python3.6/test/test_traceback.py +0 -1111
- package/python3.6.2/lib/python3.6/test/test_tracemalloc.py +0 -994
- package/python3.6.2/lib/python3.6/test/test_ttk_guionly.py +0 -34
- package/python3.6.2/lib/python3.6/test/test_ttk_textonly.py +0 -13
- package/python3.6.2/lib/python3.6/test/test_tuple.py +0 -221
- package/python3.6.2/lib/python3.6/test/test_turtle.py +0 -436
- package/python3.6.2/lib/python3.6/test/test_typechecks.py +0 -71
- package/python3.6.2/lib/python3.6/test/test_types.py +0 -1550
- package/python3.6.2/lib/python3.6/test/test_typing.py +0 -2577
- package/python3.6.2/lib/python3.6/test/test_ucn.py +0 -237
- package/python3.6.2/lib/python3.6/test/test_unary.py +0 -53
- package/python3.6.2/lib/python3.6/test/test_unicode.py +0 -2894
- package/python3.6.2/lib/python3.6/test/test_unicode_file.py +0 -140
- package/python3.6.2/lib/python3.6/test/test_unicode_file_functions.py +0 -195
- package/python3.6.2/lib/python3.6/test/test_unicode_identifiers.py +0 -31
- package/python3.6.2/lib/python3.6/test/test_unicodedata.py +0 -316
- package/python3.6.2/lib/python3.6/test/test_unittest.py +0 -16
- package/python3.6.2/lib/python3.6/test/test_univnewlines.py +0 -123
- package/python3.6.2/lib/python3.6/test/test_unpack.py +0 -151
- package/python3.6.2/lib/python3.6/test/test_unpack_ex.py +0 -365
- package/python3.6.2/lib/python3.6/test/test_urllib.py +0 -1572
- package/python3.6.2/lib/python3.6/test/test_urllib2.py +0 -1930
- package/python3.6.2/lib/python3.6/test/test_urllib2_localnet.py +0 -679
- package/python3.6.2/lib/python3.6/test/test_urllib2net.py +0 -329
- package/python3.6.2/lib/python3.6/test/test_urllib_response.py +0 -59
- package/python3.6.2/lib/python3.6/test/test_urllibnet.py +0 -218
- package/python3.6.2/lib/python3.6/test/test_urlparse.py +0 -1122
- package/python3.6.2/lib/python3.6/test/test_userdict.py +0 -220
- package/python3.6.2/lib/python3.6/test/test_userlist.py +0 -63
- package/python3.6.2/lib/python3.6/test/test_userstring.py +0 -44
- package/python3.6.2/lib/python3.6/test/test_utf8source.py +0 -43
- package/python3.6.2/lib/python3.6/test/test_uu.py +0 -260
- package/python3.6.2/lib/python3.6/test/test_uuid.py +0 -511
- package/python3.6.2/lib/python3.6/test/test_venv.py +0 -433
- package/python3.6.2/lib/python3.6/test/test_wait3.py +0 -38
- package/python3.6.2/lib/python3.6/test/test_wait4.py +0 -39
- package/python3.6.2/lib/python3.6/test/test_warnings/__init__.py +0 -1216
- package/python3.6.2/lib/python3.6/test/test_warnings/__main__.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_warnings/data/import_warning.py +0 -3
- package/python3.6.2/lib/python3.6/test/test_warnings/data/stacklevel.py +0 -9
- package/python3.6.2/lib/python3.6/test/test_wave.py +0 -113
- package/python3.6.2/lib/python3.6/test/test_weakref.py +0 -1952
- package/python3.6.2/lib/python3.6/test/test_weakset.py +0 -439
- package/python3.6.2/lib/python3.6/test/test_webbrowser.py +0 -217
- package/python3.6.2/lib/python3.6/test/test_winconsoleio.py +0 -191
- package/python3.6.2/lib/python3.6/test/test_winreg.py +0 -498
- package/python3.6.2/lib/python3.6/test/test_winsound.py +0 -150
- package/python3.6.2/lib/python3.6/test/test_with.py +0 -746
- package/python3.6.2/lib/python3.6/test/test_wsgiref.py +0 -785
- package/python3.6.2/lib/python3.6/test/test_xdrlib.py +0 -77
- package/python3.6.2/lib/python3.6/test/test_xml_dom_minicompat.py +0 -138
- package/python3.6.2/lib/python3.6/test/test_xml_etree.py +0 -3166
- package/python3.6.2/lib/python3.6/test/test_xml_etree_c.py +0 -188
- package/python3.6.2/lib/python3.6/test/test_xmlrpc.py +0 -1415
- package/python3.6.2/lib/python3.6/test/test_xmlrpc_net.py +0 -32
- package/python3.6.2/lib/python3.6/test/test_yield_from.py +0 -1052
- package/python3.6.2/lib/python3.6/test/test_zipapp.py +0 -349
- package/python3.6.2/lib/python3.6/test/test_zipfile.py +0 -2241
- package/python3.6.2/lib/python3.6/test/test_zipfile64.py +0 -155
- package/python3.6.2/lib/python3.6/test/test_zipimport.py +0 -759
- package/python3.6.2/lib/python3.6/test/test_zipimport_support.py +0 -244
- package/python3.6.2/lib/python3.6/test/test_zlib.py +0 -898
- package/python3.6.2/lib/python3.6/test/testcodec.py +0 -48
- package/python3.6.2/lib/python3.6/test/testtar.tar +0 -0
- package/python3.6.2/lib/python3.6/test/tf_inherit_check.py +0 -27
- package/python3.6.2/lib/python3.6/test/threaded_import_hangers.py +0 -45
- package/python3.6.2/lib/python3.6/test/time_hashlib.py +0 -88
- package/python3.6.2/lib/python3.6/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +0 -13
- package/python3.6.2/lib/python3.6/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +0 -11
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +0 -13
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +0 -12
- package/python3.6.2/lib/python3.6/test/tokenize_tests.txt +0 -189
- package/python3.6.2/lib/python3.6/test/tracedmodules/__init__.py +0 -4
- package/python3.6.2/lib/python3.6/test/tracedmodules/testmod.py +0 -9
- package/python3.6.2/lib/python3.6/test/win_console_handler.py +0 -49
- package/python3.6.2/lib/python3.6/test/wrongcert.pem +0 -32
- package/python3.6.2/lib/python3.6/test/xmltestdata/expat224_utf8_bug.xml +0 -2
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple-ns.xml +0 -7
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple.xml +0 -6
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml +0 -115
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml.out +0 -115
- package/python3.6.2/lib/python3.6/test/xmltests.py +0 -21
- package/python3.6.2/lib/python3.6/test/zip_cp437_header.zip +0 -0
- package/python3.6.2/lib/python3.6/test/zipdir.zip +0 -0
- package/python3.6.2/lib/python3.6/textwrap.py +0 -488
- package/python3.6.2/lib/python3.6/this.py +0 -28
- package/python3.6.2/lib/python3.6/threading.py +0 -1357
- package/python3.6.2/lib/python3.6/timeit.py +0 -362
- package/python3.6.2/lib/python3.6/tkinter/__init__.py +0 -4002
- package/python3.6.2/lib/python3.6/tkinter/__main__.py +0 -7
- package/python3.6.2/lib/python3.6/tkinter/colorchooser.py +0 -72
- package/python3.6.2/lib/python3.6/tkinter/commondialog.py +0 -55
- package/python3.6.2/lib/python3.6/tkinter/constants.py +0 -110
- package/python3.6.2/lib/python3.6/tkinter/dialog.py +0 -46
- package/python3.6.2/lib/python3.6/tkinter/dnd.py +0 -321
- package/python3.6.2/lib/python3.6/tkinter/filedialog.py +0 -479
- package/python3.6.2/lib/python3.6/tkinter/font.py +0 -232
- package/python3.6.2/lib/python3.6/tkinter/messagebox.py +0 -134
- package/python3.6.2/lib/python3.6/tkinter/scrolledtext.py +0 -54
- package/python3.6.2/lib/python3.6/tkinter/simpledialog.py +0 -423
- package/python3.6.2/lib/python3.6/tkinter/test/README +0 -14
- package/python3.6.2/lib/python3.6/tkinter/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/runtktests.py +0 -69
- package/python3.6.2/lib/python3.6/tkinter/test/support.py +0 -105
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_font.py +0 -96
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_geometry_managers.py +0 -906
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_images.py +0 -327
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_loadtk.py +0 -46
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_misc.py +0 -55
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_text.py +0 -47
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_variables.py +0 -310
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_widgets.py +0 -1204
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_extensions.py +0 -323
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_functions.py +0 -461
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_style.py +0 -92
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_widgets.py +0 -1707
- package/python3.6.2/lib/python3.6/tkinter/test/widget_tests.py +0 -548
- package/python3.6.2/lib/python3.6/tkinter/tix.py +0 -1946
- package/python3.6.2/lib/python3.6/tkinter/ttk.py +0 -1655
- package/python3.6.2/lib/python3.6/token.py +0 -143
- package/python3.6.2/lib/python3.6/tokenize.py +0 -793
- package/python3.6.2/lib/python3.6/trace.py +0 -742
- package/python3.6.2/lib/python3.6/traceback.py +0 -600
- package/python3.6.2/lib/python3.6/tracemalloc.py +0 -524
- package/python3.6.2/lib/python3.6/tty.py +0 -36
- package/python3.6.2/lib/python3.6/turtle.py +0 -4139
- package/python3.6.2/lib/python3.6/turtledemo/__init__.py +0 -14
- package/python3.6.2/lib/python3.6/turtledemo/__main__.py +0 -386
- package/python3.6.2/lib/python3.6/turtledemo/bytedesign.py +0 -161
- package/python3.6.2/lib/python3.6/turtledemo/chaos.py +0 -59
- package/python3.6.2/lib/python3.6/turtledemo/clock.py +0 -132
- package/python3.6.2/lib/python3.6/turtledemo/colormixer.py +0 -58
- package/python3.6.2/lib/python3.6/turtledemo/forest.py +0 -108
- package/python3.6.2/lib/python3.6/turtledemo/fractalcurves.py +0 -138
- package/python3.6.2/lib/python3.6/turtledemo/lindenmayer.py +0 -119
- package/python3.6.2/lib/python3.6/turtledemo/minimal_hanoi.py +0 -79
- package/python3.6.2/lib/python3.6/turtledemo/nim.py +0 -226
- package/python3.6.2/lib/python3.6/turtledemo/paint.py +0 -54
- package/python3.6.2/lib/python3.6/turtledemo/peace.py +0 -61
- package/python3.6.2/lib/python3.6/turtledemo/penrose.py +0 -181
- package/python3.6.2/lib/python3.6/turtledemo/planet_and_moon.py +0 -111
- package/python3.6.2/lib/python3.6/turtledemo/round_dance.py +0 -86
- package/python3.6.2/lib/python3.6/turtledemo/sorting_animate.py +0 -204
- package/python3.6.2/lib/python3.6/turtledemo/tree.py +0 -63
- package/python3.6.2/lib/python3.6/turtledemo/turtle.cfg +0 -10
- package/python3.6.2/lib/python3.6/turtledemo/two_canvases.py +0 -54
- package/python3.6.2/lib/python3.6/turtledemo/wikipedia.py +0 -65
- package/python3.6.2/lib/python3.6/turtledemo/yinyang.py +0 -49
- package/python3.6.2/lib/python3.6/types.py +0 -266
- package/python3.6.2/lib/python3.6/typing.py +0 -2403
- package/python3.6.2/lib/python3.6/unittest/__init__.py +0 -78
- package/python3.6.2/lib/python3.6/unittest/__main__.py +0 -18
- package/python3.6.2/lib/python3.6/unittest/case.py +0 -1429
- package/python3.6.2/lib/python3.6/unittest/loader.py +0 -508
- package/python3.6.2/lib/python3.6/unittest/main.py +0 -260
- package/python3.6.2/lib/python3.6/unittest/mock.py +0 -2407
- package/python3.6.2/lib/python3.6/unittest/result.py +0 -216
- package/python3.6.2/lib/python3.6/unittest/runner.py +0 -221
- package/python3.6.2/lib/python3.6/unittest/signals.py +0 -71
- package/python3.6.2/lib/python3.6/unittest/suite.py +0 -321
- package/python3.6.2/lib/python3.6/unittest/test/__init__.py +0 -22
- package/python3.6.2/lib/python3.6/unittest/test/__main__.py +0 -18
- package/python3.6.2/lib/python3.6/unittest/test/_test_warnings.py +0 -73
- package/python3.6.2/lib/python3.6/unittest/test/dummy.py +0 -1
- package/python3.6.2/lib/python3.6/unittest/test/support.py +0 -138
- package/python3.6.2/lib/python3.6/unittest/test/test_assertions.py +0 -411
- package/python3.6.2/lib/python3.6/unittest/test/test_break.py +0 -291
- package/python3.6.2/lib/python3.6/unittest/test/test_case.py +0 -1833
- package/python3.6.2/lib/python3.6/unittest/test/test_discovery.py +0 -872
- package/python3.6.2/lib/python3.6/unittest/test/test_functiontestcase.py +0 -148
- package/python3.6.2/lib/python3.6/unittest/test/test_loader.py +0 -1529
- package/python3.6.2/lib/python3.6/unittest/test/test_program.py +0 -414
- package/python3.6.2/lib/python3.6/unittest/test/test_result.py +0 -695
- package/python3.6.2/lib/python3.6/unittest/test/test_runner.py +0 -353
- package/python3.6.2/lib/python3.6/unittest/test/test_setups.py +0 -507
- package/python3.6.2/lib/python3.6/unittest/test/test_skipping.py +0 -260
- package/python3.6.2/lib/python3.6/unittest/test/test_suite.py +0 -447
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__init__.py +0 -17
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__main__.py +0 -18
- package/python3.6.2/lib/python3.6/unittest/test/testmock/support.py +0 -21
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testcallable.py +0 -151
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testhelpers.py +0 -946
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmagicmethods.py +0 -468
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmock.py +0 -1569
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testpatch.py +0 -1853
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testsentinel.py +0 -28
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testwith.py +0 -301
- package/python3.6.2/lib/python3.6/unittest/util.py +0 -177
- package/python3.6.2/lib/python3.6/urllib/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/urllib/error.py +0 -77
- package/python3.6.2/lib/python3.6/urllib/parse.py +0 -1021
- package/python3.6.2/lib/python3.6/urllib/request.py +0 -2739
- package/python3.6.2/lib/python3.6/urllib/response.py +0 -80
- package/python3.6.2/lib/python3.6/urllib/robotparser.py +0 -250
- package/python3.6.2/lib/python3.6/uu.py +0 -199
- package/python3.6.2/lib/python3.6/uuid.py +0 -629
- package/python3.6.2/lib/python3.6/venv/__init__.py +0 -425
- package/python3.6.2/lib/python3.6/venv/__main__.py +0 -10
- package/python3.6.2/lib/python3.6/venv/scripts/nt/Activate.ps1 +0 -51
- package/python3.6.2/lib/python3.6/venv/scripts/nt/activate.bat +0 -32
- package/python3.6.2/lib/python3.6/venv/scripts/nt/deactivate.bat +0 -21
- package/python3.6.2/lib/python3.6/warnings.py +0 -526
- package/python3.6.2/lib/python3.6/wave.py +0 -505
- package/python3.6.2/lib/python3.6/weakref.py +0 -632
- package/python3.6.2/lib/python3.6/webbrowser.py +0 -664
- package/python3.6.2/lib/python3.6/wsgiref/__init__.py +0 -23
- package/python3.6.2/lib/python3.6/wsgiref/handlers.py +0 -557
- package/python3.6.2/lib/python3.6/wsgiref/headers.py +0 -184
- package/python3.6.2/lib/python3.6/wsgiref/simple_server.py +0 -164
- package/python3.6.2/lib/python3.6/wsgiref/util.py +0 -165
- package/python3.6.2/lib/python3.6/wsgiref/validate.py +0 -443
- package/python3.6.2/lib/python3.6/xdrlib.py +0 -241
- package/python3.6.2/lib/python3.6/xml/__init__.py +0 -20
- package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.py +0 -27
- package/python3.6.2/lib/python3.6/xml/dom/__init__.py +0 -140
- package/python3.6.2/lib/python3.6/xml/dom/domreg.py +0 -97
- package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.py +0 -965
- package/python3.6.2/lib/python3.6/xml/dom/minicompat.py +0 -109
- package/python3.6.2/lib/python3.6/xml/dom/minidom.py +0 -1981
- package/python3.6.2/lib/python3.6/xml/dom/pulldom.py +0 -342
- package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.py +0 -410
- package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.py +0 -143
- package/python3.6.2/lib/python3.6/xml/etree/ElementPath.py +0 -314
- package/python3.6.2/lib/python3.6/xml/etree/ElementTree.py +0 -1656
- package/python3.6.2/lib/python3.6/xml/etree/__init__.py +0 -33
- package/python3.6.2/lib/python3.6/xml/etree/cElementTree.py +0 -3
- package/python3.6.2/lib/python3.6/xml/parsers/__init__.py +0 -8
- package/python3.6.2/lib/python3.6/xml/parsers/expat.py +0 -8
- package/python3.6.2/lib/python3.6/xml/sax/__init__.py +0 -107
- package/python3.6.2/lib/python3.6/xml/sax/_exceptions.py +0 -131
- package/python3.6.2/lib/python3.6/xml/sax/expatreader.py +0 -446
- package/python3.6.2/lib/python3.6/xml/sax/handler.py +0 -342
- package/python3.6.2/lib/python3.6/xml/sax/saxutils.py +0 -368
- package/python3.6.2/lib/python3.6/xml/sax/xmlreader.py +0 -380
- package/python3.6.2/lib/python3.6/xmlrpc/__init__.py +0 -1
- package/python3.6.2/lib/python3.6/xmlrpc/client.py +0 -1518
- package/python3.6.2/lib/python3.6/xmlrpc/server.py +0 -1002
- package/python3.6.2/lib/python3.6/zipapp.py +0 -201
- package/python3.6.2/lib/python3.6/zipfile.py +0 -2036
|
@@ -1,2407 +0,0 @@
|
|
|
1
|
-
# mock.py
|
|
2
|
-
# Test tools for mocking and patching.
|
|
3
|
-
# Maintained by Michael Foord
|
|
4
|
-
# Backport for other versions of Python available from
|
|
5
|
-
# http://pypi.python.org/pypi/mock
|
|
6
|
-
|
|
7
|
-
__all__ = (
|
|
8
|
-
'Mock',
|
|
9
|
-
'MagicMock',
|
|
10
|
-
'patch',
|
|
11
|
-
'sentinel',
|
|
12
|
-
'DEFAULT',
|
|
13
|
-
'ANY',
|
|
14
|
-
'call',
|
|
15
|
-
'create_autospec',
|
|
16
|
-
'FILTER_DIR',
|
|
17
|
-
'NonCallableMock',
|
|
18
|
-
'NonCallableMagicMock',
|
|
19
|
-
'mock_open',
|
|
20
|
-
'PropertyMock',
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
__version__ = '1.0'
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
import inspect
|
|
28
|
-
import pprint
|
|
29
|
-
import sys
|
|
30
|
-
import builtins
|
|
31
|
-
from types import ModuleType
|
|
32
|
-
from functools import wraps, partial
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
_builtins = {name for name in dir(builtins) if not name.startswith('_')}
|
|
36
|
-
|
|
37
|
-
BaseExceptions = (BaseException,)
|
|
38
|
-
if 'java' in sys.platform:
|
|
39
|
-
# jython
|
|
40
|
-
import java
|
|
41
|
-
BaseExceptions = (BaseException, java.lang.Throwable)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
FILTER_DIR = True
|
|
45
|
-
|
|
46
|
-
# Workaround for issue #12370
|
|
47
|
-
# Without this, the __class__ properties wouldn't be set correctly
|
|
48
|
-
_safe_super = super
|
|
49
|
-
|
|
50
|
-
def _is_instance_mock(obj):
|
|
51
|
-
# can't use isinstance on Mock objects because they override __class__
|
|
52
|
-
# The base class for all mocks is NonCallableMock
|
|
53
|
-
return issubclass(type(obj), NonCallableMock)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
def _is_exception(obj):
|
|
57
|
-
return (
|
|
58
|
-
isinstance(obj, BaseExceptions) or
|
|
59
|
-
isinstance(obj, type) and issubclass(obj, BaseExceptions)
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
def _get_signature_object(func, as_instance, eat_self):
|
|
64
|
-
"""
|
|
65
|
-
Given an arbitrary, possibly callable object, try to create a suitable
|
|
66
|
-
signature object.
|
|
67
|
-
Return a (reduced func, signature) tuple, or None.
|
|
68
|
-
"""
|
|
69
|
-
if isinstance(func, type) and not as_instance:
|
|
70
|
-
# If it's a type and should be modelled as a type, use __init__.
|
|
71
|
-
try:
|
|
72
|
-
func = func.__init__
|
|
73
|
-
except AttributeError:
|
|
74
|
-
return None
|
|
75
|
-
# Skip the `self` argument in __init__
|
|
76
|
-
eat_self = True
|
|
77
|
-
elif not isinstance(func, FunctionTypes):
|
|
78
|
-
# If we really want to model an instance of the passed type,
|
|
79
|
-
# __call__ should be looked up, not __init__.
|
|
80
|
-
try:
|
|
81
|
-
func = func.__call__
|
|
82
|
-
except AttributeError:
|
|
83
|
-
return None
|
|
84
|
-
if eat_self:
|
|
85
|
-
sig_func = partial(func, None)
|
|
86
|
-
else:
|
|
87
|
-
sig_func = func
|
|
88
|
-
try:
|
|
89
|
-
return func, inspect.signature(sig_func)
|
|
90
|
-
except ValueError:
|
|
91
|
-
# Certain callable types are not supported by inspect.signature()
|
|
92
|
-
return None
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
def _check_signature(func, mock, skipfirst, instance=False):
|
|
96
|
-
sig = _get_signature_object(func, instance, skipfirst)
|
|
97
|
-
if sig is None:
|
|
98
|
-
return
|
|
99
|
-
func, sig = sig
|
|
100
|
-
def checksig(_mock_self, *args, **kwargs):
|
|
101
|
-
sig.bind(*args, **kwargs)
|
|
102
|
-
_copy_func_details(func, checksig)
|
|
103
|
-
type(mock)._mock_check_sig = checksig
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
def _copy_func_details(func, funcopy):
|
|
107
|
-
funcopy.__name__ = func.__name__
|
|
108
|
-
funcopy.__doc__ = func.__doc__
|
|
109
|
-
try:
|
|
110
|
-
funcopy.__text_signature__ = func.__text_signature__
|
|
111
|
-
except AttributeError:
|
|
112
|
-
pass
|
|
113
|
-
# we explicitly don't copy func.__dict__ into this copy as it would
|
|
114
|
-
# expose original attributes that should be mocked
|
|
115
|
-
try:
|
|
116
|
-
funcopy.__module__ = func.__module__
|
|
117
|
-
except AttributeError:
|
|
118
|
-
pass
|
|
119
|
-
try:
|
|
120
|
-
funcopy.__defaults__ = func.__defaults__
|
|
121
|
-
except AttributeError:
|
|
122
|
-
pass
|
|
123
|
-
try:
|
|
124
|
-
funcopy.__kwdefaults__ = func.__kwdefaults__
|
|
125
|
-
except AttributeError:
|
|
126
|
-
pass
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
def _callable(obj):
|
|
130
|
-
if isinstance(obj, type):
|
|
131
|
-
return True
|
|
132
|
-
if getattr(obj, '__call__', None) is not None:
|
|
133
|
-
return True
|
|
134
|
-
return False
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
def _is_list(obj):
|
|
138
|
-
# checks for list or tuples
|
|
139
|
-
# XXXX badly named!
|
|
140
|
-
return type(obj) in (list, tuple)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
def _instance_callable(obj):
|
|
144
|
-
"""Given an object, return True if the object is callable.
|
|
145
|
-
For classes, return True if instances would be callable."""
|
|
146
|
-
if not isinstance(obj, type):
|
|
147
|
-
# already an instance
|
|
148
|
-
return getattr(obj, '__call__', None) is not None
|
|
149
|
-
|
|
150
|
-
# *could* be broken by a class overriding __mro__ or __dict__ via
|
|
151
|
-
# a metaclass
|
|
152
|
-
for base in (obj,) + obj.__mro__:
|
|
153
|
-
if base.__dict__.get('__call__') is not None:
|
|
154
|
-
return True
|
|
155
|
-
return False
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
def _set_signature(mock, original, instance=False):
|
|
159
|
-
# creates a function with signature (*args, **kwargs) that delegates to a
|
|
160
|
-
# mock. It still does signature checking by calling a lambda with the same
|
|
161
|
-
# signature as the original.
|
|
162
|
-
if not _callable(original):
|
|
163
|
-
return
|
|
164
|
-
|
|
165
|
-
skipfirst = isinstance(original, type)
|
|
166
|
-
result = _get_signature_object(original, instance, skipfirst)
|
|
167
|
-
if result is None:
|
|
168
|
-
return mock
|
|
169
|
-
func, sig = result
|
|
170
|
-
def checksig(*args, **kwargs):
|
|
171
|
-
sig.bind(*args, **kwargs)
|
|
172
|
-
_copy_func_details(func, checksig)
|
|
173
|
-
|
|
174
|
-
name = original.__name__
|
|
175
|
-
if not name.isidentifier():
|
|
176
|
-
name = 'funcopy'
|
|
177
|
-
context = {'_checksig_': checksig, 'mock': mock}
|
|
178
|
-
src = """def %s(*args, **kwargs):
|
|
179
|
-
_checksig_(*args, **kwargs)
|
|
180
|
-
return mock(*args, **kwargs)""" % name
|
|
181
|
-
exec (src, context)
|
|
182
|
-
funcopy = context[name]
|
|
183
|
-
_setup_func(funcopy, mock)
|
|
184
|
-
return funcopy
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
def _setup_func(funcopy, mock):
|
|
188
|
-
funcopy.mock = mock
|
|
189
|
-
|
|
190
|
-
# can't use isinstance with mocks
|
|
191
|
-
if not _is_instance_mock(mock):
|
|
192
|
-
return
|
|
193
|
-
|
|
194
|
-
def assert_called_with(*args, **kwargs):
|
|
195
|
-
return mock.assert_called_with(*args, **kwargs)
|
|
196
|
-
def assert_called(*args, **kwargs):
|
|
197
|
-
return mock.assert_called(*args, **kwargs)
|
|
198
|
-
def assert_not_called(*args, **kwargs):
|
|
199
|
-
return mock.assert_not_called(*args, **kwargs)
|
|
200
|
-
def assert_called_once(*args, **kwargs):
|
|
201
|
-
return mock.assert_called_once(*args, **kwargs)
|
|
202
|
-
def assert_called_once_with(*args, **kwargs):
|
|
203
|
-
return mock.assert_called_once_with(*args, **kwargs)
|
|
204
|
-
def assert_has_calls(*args, **kwargs):
|
|
205
|
-
return mock.assert_has_calls(*args, **kwargs)
|
|
206
|
-
def assert_any_call(*args, **kwargs):
|
|
207
|
-
return mock.assert_any_call(*args, **kwargs)
|
|
208
|
-
def reset_mock():
|
|
209
|
-
funcopy.method_calls = _CallList()
|
|
210
|
-
funcopy.mock_calls = _CallList()
|
|
211
|
-
mock.reset_mock()
|
|
212
|
-
ret = funcopy.return_value
|
|
213
|
-
if _is_instance_mock(ret) and not ret is mock:
|
|
214
|
-
ret.reset_mock()
|
|
215
|
-
|
|
216
|
-
funcopy.called = False
|
|
217
|
-
funcopy.call_count = 0
|
|
218
|
-
funcopy.call_args = None
|
|
219
|
-
funcopy.call_args_list = _CallList()
|
|
220
|
-
funcopy.method_calls = _CallList()
|
|
221
|
-
funcopy.mock_calls = _CallList()
|
|
222
|
-
|
|
223
|
-
funcopy.return_value = mock.return_value
|
|
224
|
-
funcopy.side_effect = mock.side_effect
|
|
225
|
-
funcopy._mock_children = mock._mock_children
|
|
226
|
-
|
|
227
|
-
funcopy.assert_called_with = assert_called_with
|
|
228
|
-
funcopy.assert_called_once_with = assert_called_once_with
|
|
229
|
-
funcopy.assert_has_calls = assert_has_calls
|
|
230
|
-
funcopy.assert_any_call = assert_any_call
|
|
231
|
-
funcopy.reset_mock = reset_mock
|
|
232
|
-
funcopy.assert_called = assert_called
|
|
233
|
-
funcopy.assert_not_called = assert_not_called
|
|
234
|
-
funcopy.assert_called_once = assert_called_once
|
|
235
|
-
|
|
236
|
-
mock._mock_delegate = funcopy
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
def _is_magic(name):
|
|
240
|
-
return '__%s__' % name[2:-2] == name
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
class _SentinelObject(object):
|
|
244
|
-
"A unique, named, sentinel object."
|
|
245
|
-
def __init__(self, name):
|
|
246
|
-
self.name = name
|
|
247
|
-
|
|
248
|
-
def __repr__(self):
|
|
249
|
-
return 'sentinel.%s' % self.name
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
class _Sentinel(object):
|
|
253
|
-
"""Access attributes to return a named object, usable as a sentinel."""
|
|
254
|
-
def __init__(self):
|
|
255
|
-
self._sentinels = {}
|
|
256
|
-
|
|
257
|
-
def __getattr__(self, name):
|
|
258
|
-
if name == '__bases__':
|
|
259
|
-
# Without this help(unittest.mock) raises an exception
|
|
260
|
-
raise AttributeError
|
|
261
|
-
return self._sentinels.setdefault(name, _SentinelObject(name))
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
sentinel = _Sentinel()
|
|
265
|
-
|
|
266
|
-
DEFAULT = sentinel.DEFAULT
|
|
267
|
-
_missing = sentinel.MISSING
|
|
268
|
-
_deleted = sentinel.DELETED
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
def _copy(value):
|
|
272
|
-
if type(value) in (dict, list, tuple, set):
|
|
273
|
-
return type(value)(value)
|
|
274
|
-
return value
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
_allowed_names = {
|
|
278
|
-
'return_value', '_mock_return_value', 'side_effect',
|
|
279
|
-
'_mock_side_effect', '_mock_parent', '_mock_new_parent',
|
|
280
|
-
'_mock_name', '_mock_new_name'
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
def _delegating_property(name):
|
|
285
|
-
_allowed_names.add(name)
|
|
286
|
-
_the_name = '_mock_' + name
|
|
287
|
-
def _get(self, name=name, _the_name=_the_name):
|
|
288
|
-
sig = self._mock_delegate
|
|
289
|
-
if sig is None:
|
|
290
|
-
return getattr(self, _the_name)
|
|
291
|
-
return getattr(sig, name)
|
|
292
|
-
def _set(self, value, name=name, _the_name=_the_name):
|
|
293
|
-
sig = self._mock_delegate
|
|
294
|
-
if sig is None:
|
|
295
|
-
self.__dict__[_the_name] = value
|
|
296
|
-
else:
|
|
297
|
-
setattr(sig, name, value)
|
|
298
|
-
|
|
299
|
-
return property(_get, _set)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
class _CallList(list):
|
|
304
|
-
|
|
305
|
-
def __contains__(self, value):
|
|
306
|
-
if not isinstance(value, list):
|
|
307
|
-
return list.__contains__(self, value)
|
|
308
|
-
len_value = len(value)
|
|
309
|
-
len_self = len(self)
|
|
310
|
-
if len_value > len_self:
|
|
311
|
-
return False
|
|
312
|
-
|
|
313
|
-
for i in range(0, len_self - len_value + 1):
|
|
314
|
-
sub_list = self[i:i+len_value]
|
|
315
|
-
if sub_list == value:
|
|
316
|
-
return True
|
|
317
|
-
return False
|
|
318
|
-
|
|
319
|
-
def __repr__(self):
|
|
320
|
-
return pprint.pformat(list(self))
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
def _check_and_set_parent(parent, value, name, new_name):
|
|
324
|
-
if not _is_instance_mock(value):
|
|
325
|
-
return False
|
|
326
|
-
if ((value._mock_name or value._mock_new_name) or
|
|
327
|
-
(value._mock_parent is not None) or
|
|
328
|
-
(value._mock_new_parent is not None)):
|
|
329
|
-
return False
|
|
330
|
-
|
|
331
|
-
_parent = parent
|
|
332
|
-
while _parent is not None:
|
|
333
|
-
# setting a mock (value) as a child or return value of itself
|
|
334
|
-
# should not modify the mock
|
|
335
|
-
if _parent is value:
|
|
336
|
-
return False
|
|
337
|
-
_parent = _parent._mock_new_parent
|
|
338
|
-
|
|
339
|
-
if new_name:
|
|
340
|
-
value._mock_new_parent = parent
|
|
341
|
-
value._mock_new_name = new_name
|
|
342
|
-
if name:
|
|
343
|
-
value._mock_parent = parent
|
|
344
|
-
value._mock_name = name
|
|
345
|
-
return True
|
|
346
|
-
|
|
347
|
-
# Internal class to identify if we wrapped an iterator object or not.
|
|
348
|
-
class _MockIter(object):
|
|
349
|
-
def __init__(self, obj):
|
|
350
|
-
self.obj = iter(obj)
|
|
351
|
-
def __iter__(self):
|
|
352
|
-
return self
|
|
353
|
-
def __next__(self):
|
|
354
|
-
return next(self.obj)
|
|
355
|
-
|
|
356
|
-
class Base(object):
|
|
357
|
-
_mock_return_value = DEFAULT
|
|
358
|
-
_mock_side_effect = None
|
|
359
|
-
def __init__(self, *args, **kwargs):
|
|
360
|
-
pass
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
class NonCallableMock(Base):
|
|
365
|
-
"""A non-callable version of `Mock`"""
|
|
366
|
-
|
|
367
|
-
def __new__(cls, *args, **kw):
|
|
368
|
-
# every instance has its own class
|
|
369
|
-
# so we can create magic methods on the
|
|
370
|
-
# class without stomping on other mocks
|
|
371
|
-
new = type(cls.__name__, (cls,), {'__doc__': cls.__doc__})
|
|
372
|
-
instance = object.__new__(new)
|
|
373
|
-
return instance
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
def __init__(
|
|
377
|
-
self, spec=None, wraps=None, name=None, spec_set=None,
|
|
378
|
-
parent=None, _spec_state=None, _new_name='', _new_parent=None,
|
|
379
|
-
_spec_as_instance=False, _eat_self=None, unsafe=False, **kwargs
|
|
380
|
-
):
|
|
381
|
-
if _new_parent is None:
|
|
382
|
-
_new_parent = parent
|
|
383
|
-
|
|
384
|
-
__dict__ = self.__dict__
|
|
385
|
-
__dict__['_mock_parent'] = parent
|
|
386
|
-
__dict__['_mock_name'] = name
|
|
387
|
-
__dict__['_mock_new_name'] = _new_name
|
|
388
|
-
__dict__['_mock_new_parent'] = _new_parent
|
|
389
|
-
|
|
390
|
-
if spec_set is not None:
|
|
391
|
-
spec = spec_set
|
|
392
|
-
spec_set = True
|
|
393
|
-
if _eat_self is None:
|
|
394
|
-
_eat_self = parent is not None
|
|
395
|
-
|
|
396
|
-
self._mock_add_spec(spec, spec_set, _spec_as_instance, _eat_self)
|
|
397
|
-
|
|
398
|
-
__dict__['_mock_children'] = {}
|
|
399
|
-
__dict__['_mock_wraps'] = wraps
|
|
400
|
-
__dict__['_mock_delegate'] = None
|
|
401
|
-
|
|
402
|
-
__dict__['_mock_called'] = False
|
|
403
|
-
__dict__['_mock_call_args'] = None
|
|
404
|
-
__dict__['_mock_call_count'] = 0
|
|
405
|
-
__dict__['_mock_call_args_list'] = _CallList()
|
|
406
|
-
__dict__['_mock_mock_calls'] = _CallList()
|
|
407
|
-
|
|
408
|
-
__dict__['method_calls'] = _CallList()
|
|
409
|
-
__dict__['_mock_unsafe'] = unsafe
|
|
410
|
-
|
|
411
|
-
if kwargs:
|
|
412
|
-
self.configure_mock(**kwargs)
|
|
413
|
-
|
|
414
|
-
_safe_super(NonCallableMock, self).__init__(
|
|
415
|
-
spec, wraps, name, spec_set, parent,
|
|
416
|
-
_spec_state
|
|
417
|
-
)
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
def attach_mock(self, mock, attribute):
|
|
421
|
-
"""
|
|
422
|
-
Attach a mock as an attribute of this one, replacing its name and
|
|
423
|
-
parent. Calls to the attached mock will be recorded in the
|
|
424
|
-
`method_calls` and `mock_calls` attributes of this one."""
|
|
425
|
-
mock._mock_parent = None
|
|
426
|
-
mock._mock_new_parent = None
|
|
427
|
-
mock._mock_name = ''
|
|
428
|
-
mock._mock_new_name = None
|
|
429
|
-
|
|
430
|
-
setattr(self, attribute, mock)
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
def mock_add_spec(self, spec, spec_set=False):
|
|
434
|
-
"""Add a spec to a mock. `spec` can either be an object or a
|
|
435
|
-
list of strings. Only attributes on the `spec` can be fetched as
|
|
436
|
-
attributes from the mock.
|
|
437
|
-
|
|
438
|
-
If `spec_set` is True then only attributes on the spec can be set."""
|
|
439
|
-
self._mock_add_spec(spec, spec_set)
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
def _mock_add_spec(self, spec, spec_set, _spec_as_instance=False,
|
|
443
|
-
_eat_self=False):
|
|
444
|
-
_spec_class = None
|
|
445
|
-
_spec_signature = None
|
|
446
|
-
|
|
447
|
-
if spec is not None and not _is_list(spec):
|
|
448
|
-
if isinstance(spec, type):
|
|
449
|
-
_spec_class = spec
|
|
450
|
-
else:
|
|
451
|
-
_spec_class = _get_class(spec)
|
|
452
|
-
res = _get_signature_object(spec,
|
|
453
|
-
_spec_as_instance, _eat_self)
|
|
454
|
-
_spec_signature = res and res[1]
|
|
455
|
-
|
|
456
|
-
spec = dir(spec)
|
|
457
|
-
|
|
458
|
-
__dict__ = self.__dict__
|
|
459
|
-
__dict__['_spec_class'] = _spec_class
|
|
460
|
-
__dict__['_spec_set'] = spec_set
|
|
461
|
-
__dict__['_spec_signature'] = _spec_signature
|
|
462
|
-
__dict__['_mock_methods'] = spec
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
def __get_return_value(self):
|
|
466
|
-
ret = self._mock_return_value
|
|
467
|
-
if self._mock_delegate is not None:
|
|
468
|
-
ret = self._mock_delegate.return_value
|
|
469
|
-
|
|
470
|
-
if ret is DEFAULT:
|
|
471
|
-
ret = self._get_child_mock(
|
|
472
|
-
_new_parent=self, _new_name='()'
|
|
473
|
-
)
|
|
474
|
-
self.return_value = ret
|
|
475
|
-
return ret
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
def __set_return_value(self, value):
|
|
479
|
-
if self._mock_delegate is not None:
|
|
480
|
-
self._mock_delegate.return_value = value
|
|
481
|
-
else:
|
|
482
|
-
self._mock_return_value = value
|
|
483
|
-
_check_and_set_parent(self, value, None, '()')
|
|
484
|
-
|
|
485
|
-
__return_value_doc = "The value to be returned when the mock is called."
|
|
486
|
-
return_value = property(__get_return_value, __set_return_value,
|
|
487
|
-
__return_value_doc)
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
@property
|
|
491
|
-
def __class__(self):
|
|
492
|
-
if self._spec_class is None:
|
|
493
|
-
return type(self)
|
|
494
|
-
return self._spec_class
|
|
495
|
-
|
|
496
|
-
called = _delegating_property('called')
|
|
497
|
-
call_count = _delegating_property('call_count')
|
|
498
|
-
call_args = _delegating_property('call_args')
|
|
499
|
-
call_args_list = _delegating_property('call_args_list')
|
|
500
|
-
mock_calls = _delegating_property('mock_calls')
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
def __get_side_effect(self):
|
|
504
|
-
delegated = self._mock_delegate
|
|
505
|
-
if delegated is None:
|
|
506
|
-
return self._mock_side_effect
|
|
507
|
-
sf = delegated.side_effect
|
|
508
|
-
if (sf is not None and not callable(sf)
|
|
509
|
-
and not isinstance(sf, _MockIter) and not _is_exception(sf)):
|
|
510
|
-
sf = _MockIter(sf)
|
|
511
|
-
delegated.side_effect = sf
|
|
512
|
-
return sf
|
|
513
|
-
|
|
514
|
-
def __set_side_effect(self, value):
|
|
515
|
-
value = _try_iter(value)
|
|
516
|
-
delegated = self._mock_delegate
|
|
517
|
-
if delegated is None:
|
|
518
|
-
self._mock_side_effect = value
|
|
519
|
-
else:
|
|
520
|
-
delegated.side_effect = value
|
|
521
|
-
|
|
522
|
-
side_effect = property(__get_side_effect, __set_side_effect)
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
def reset_mock(self, visited=None,*, return_value=False, side_effect=False):
|
|
526
|
-
"Restore the mock object to its initial state."
|
|
527
|
-
if visited is None:
|
|
528
|
-
visited = []
|
|
529
|
-
if id(self) in visited:
|
|
530
|
-
return
|
|
531
|
-
visited.append(id(self))
|
|
532
|
-
|
|
533
|
-
self.called = False
|
|
534
|
-
self.call_args = None
|
|
535
|
-
self.call_count = 0
|
|
536
|
-
self.mock_calls = _CallList()
|
|
537
|
-
self.call_args_list = _CallList()
|
|
538
|
-
self.method_calls = _CallList()
|
|
539
|
-
|
|
540
|
-
if return_value:
|
|
541
|
-
self._mock_return_value = DEFAULT
|
|
542
|
-
if side_effect:
|
|
543
|
-
self._mock_side_effect = None
|
|
544
|
-
|
|
545
|
-
for child in self._mock_children.values():
|
|
546
|
-
if isinstance(child, _SpecState):
|
|
547
|
-
continue
|
|
548
|
-
child.reset_mock(visited)
|
|
549
|
-
|
|
550
|
-
ret = self._mock_return_value
|
|
551
|
-
if _is_instance_mock(ret) and ret is not self:
|
|
552
|
-
ret.reset_mock(visited)
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
def configure_mock(self, **kwargs):
|
|
556
|
-
"""Set attributes on the mock through keyword arguments.
|
|
557
|
-
|
|
558
|
-
Attributes plus return values and side effects can be set on child
|
|
559
|
-
mocks using standard dot notation and unpacking a dictionary in the
|
|
560
|
-
method call:
|
|
561
|
-
|
|
562
|
-
>>> attrs = {'method.return_value': 3, 'other.side_effect': KeyError}
|
|
563
|
-
>>> mock.configure_mock(**attrs)"""
|
|
564
|
-
for arg, val in sorted(kwargs.items(),
|
|
565
|
-
# we sort on the number of dots so that
|
|
566
|
-
# attributes are set before we set attributes on
|
|
567
|
-
# attributes
|
|
568
|
-
key=lambda entry: entry[0].count('.')):
|
|
569
|
-
args = arg.split('.')
|
|
570
|
-
final = args.pop()
|
|
571
|
-
obj = self
|
|
572
|
-
for entry in args:
|
|
573
|
-
obj = getattr(obj, entry)
|
|
574
|
-
setattr(obj, final, val)
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
def __getattr__(self, name):
|
|
578
|
-
if name in {'_mock_methods', '_mock_unsafe'}:
|
|
579
|
-
raise AttributeError(name)
|
|
580
|
-
elif self._mock_methods is not None:
|
|
581
|
-
if name not in self._mock_methods or name in _all_magics:
|
|
582
|
-
raise AttributeError("Mock object has no attribute %r" % name)
|
|
583
|
-
elif _is_magic(name):
|
|
584
|
-
raise AttributeError(name)
|
|
585
|
-
if not self._mock_unsafe:
|
|
586
|
-
if name.startswith(('assert', 'assret')):
|
|
587
|
-
raise AttributeError(name)
|
|
588
|
-
|
|
589
|
-
result = self._mock_children.get(name)
|
|
590
|
-
if result is _deleted:
|
|
591
|
-
raise AttributeError(name)
|
|
592
|
-
elif result is None:
|
|
593
|
-
wraps = None
|
|
594
|
-
if self._mock_wraps is not None:
|
|
595
|
-
# XXXX should we get the attribute without triggering code
|
|
596
|
-
# execution?
|
|
597
|
-
wraps = getattr(self._mock_wraps, name)
|
|
598
|
-
|
|
599
|
-
result = self._get_child_mock(
|
|
600
|
-
parent=self, name=name, wraps=wraps, _new_name=name,
|
|
601
|
-
_new_parent=self
|
|
602
|
-
)
|
|
603
|
-
self._mock_children[name] = result
|
|
604
|
-
|
|
605
|
-
elif isinstance(result, _SpecState):
|
|
606
|
-
result = create_autospec(
|
|
607
|
-
result.spec, result.spec_set, result.instance,
|
|
608
|
-
result.parent, result.name
|
|
609
|
-
)
|
|
610
|
-
self._mock_children[name] = result
|
|
611
|
-
|
|
612
|
-
return result
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
def __repr__(self):
|
|
616
|
-
_name_list = [self._mock_new_name]
|
|
617
|
-
_parent = self._mock_new_parent
|
|
618
|
-
last = self
|
|
619
|
-
|
|
620
|
-
dot = '.'
|
|
621
|
-
if _name_list == ['()']:
|
|
622
|
-
dot = ''
|
|
623
|
-
seen = set()
|
|
624
|
-
while _parent is not None:
|
|
625
|
-
last = _parent
|
|
626
|
-
|
|
627
|
-
_name_list.append(_parent._mock_new_name + dot)
|
|
628
|
-
dot = '.'
|
|
629
|
-
if _parent._mock_new_name == '()':
|
|
630
|
-
dot = ''
|
|
631
|
-
|
|
632
|
-
_parent = _parent._mock_new_parent
|
|
633
|
-
|
|
634
|
-
# use ids here so as not to call __hash__ on the mocks
|
|
635
|
-
if id(_parent) in seen:
|
|
636
|
-
break
|
|
637
|
-
seen.add(id(_parent))
|
|
638
|
-
|
|
639
|
-
_name_list = list(reversed(_name_list))
|
|
640
|
-
_first = last._mock_name or 'mock'
|
|
641
|
-
if len(_name_list) > 1:
|
|
642
|
-
if _name_list[1] not in ('()', '().'):
|
|
643
|
-
_first += '.'
|
|
644
|
-
_name_list[0] = _first
|
|
645
|
-
name = ''.join(_name_list)
|
|
646
|
-
|
|
647
|
-
name_string = ''
|
|
648
|
-
if name not in ('mock', 'mock.'):
|
|
649
|
-
name_string = ' name=%r' % name
|
|
650
|
-
|
|
651
|
-
spec_string = ''
|
|
652
|
-
if self._spec_class is not None:
|
|
653
|
-
spec_string = ' spec=%r'
|
|
654
|
-
if self._spec_set:
|
|
655
|
-
spec_string = ' spec_set=%r'
|
|
656
|
-
spec_string = spec_string % self._spec_class.__name__
|
|
657
|
-
return "<%s%s%s id='%s'>" % (
|
|
658
|
-
type(self).__name__,
|
|
659
|
-
name_string,
|
|
660
|
-
spec_string,
|
|
661
|
-
id(self)
|
|
662
|
-
)
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
def __dir__(self):
|
|
666
|
-
"""Filter the output of `dir(mock)` to only useful members."""
|
|
667
|
-
if not FILTER_DIR:
|
|
668
|
-
return object.__dir__(self)
|
|
669
|
-
|
|
670
|
-
extras = self._mock_methods or []
|
|
671
|
-
from_type = dir(type(self))
|
|
672
|
-
from_dict = list(self.__dict__)
|
|
673
|
-
|
|
674
|
-
from_type = [e for e in from_type if not e.startswith('_')]
|
|
675
|
-
from_dict = [e for e in from_dict if not e.startswith('_') or
|
|
676
|
-
_is_magic(e)]
|
|
677
|
-
return sorted(set(extras + from_type + from_dict +
|
|
678
|
-
list(self._mock_children)))
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
def __setattr__(self, name, value):
|
|
682
|
-
if name in _allowed_names:
|
|
683
|
-
# property setters go through here
|
|
684
|
-
return object.__setattr__(self, name, value)
|
|
685
|
-
elif (self._spec_set and self._mock_methods is not None and
|
|
686
|
-
name not in self._mock_methods and
|
|
687
|
-
name not in self.__dict__):
|
|
688
|
-
raise AttributeError("Mock object has no attribute '%s'" % name)
|
|
689
|
-
elif name in _unsupported_magics:
|
|
690
|
-
msg = 'Attempting to set unsupported magic method %r.' % name
|
|
691
|
-
raise AttributeError(msg)
|
|
692
|
-
elif name in _all_magics:
|
|
693
|
-
if self._mock_methods is not None and name not in self._mock_methods:
|
|
694
|
-
raise AttributeError("Mock object has no attribute '%s'" % name)
|
|
695
|
-
|
|
696
|
-
if not _is_instance_mock(value):
|
|
697
|
-
setattr(type(self), name, _get_method(name, value))
|
|
698
|
-
original = value
|
|
699
|
-
value = lambda *args, **kw: original(self, *args, **kw)
|
|
700
|
-
else:
|
|
701
|
-
# only set _new_name and not name so that mock_calls is tracked
|
|
702
|
-
# but not method calls
|
|
703
|
-
_check_and_set_parent(self, value, None, name)
|
|
704
|
-
setattr(type(self), name, value)
|
|
705
|
-
self._mock_children[name] = value
|
|
706
|
-
elif name == '__class__':
|
|
707
|
-
self._spec_class = value
|
|
708
|
-
return
|
|
709
|
-
else:
|
|
710
|
-
if _check_and_set_parent(self, value, name, name):
|
|
711
|
-
self._mock_children[name] = value
|
|
712
|
-
return object.__setattr__(self, name, value)
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
def __delattr__(self, name):
|
|
716
|
-
if name in _all_magics and name in type(self).__dict__:
|
|
717
|
-
delattr(type(self), name)
|
|
718
|
-
if name not in self.__dict__:
|
|
719
|
-
# for magic methods that are still MagicProxy objects and
|
|
720
|
-
# not set on the instance itself
|
|
721
|
-
return
|
|
722
|
-
|
|
723
|
-
if name in self.__dict__:
|
|
724
|
-
object.__delattr__(self, name)
|
|
725
|
-
|
|
726
|
-
obj = self._mock_children.get(name, _missing)
|
|
727
|
-
if obj is _deleted:
|
|
728
|
-
raise AttributeError(name)
|
|
729
|
-
if obj is not _missing:
|
|
730
|
-
del self._mock_children[name]
|
|
731
|
-
self._mock_children[name] = _deleted
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
def _format_mock_call_signature(self, args, kwargs):
|
|
735
|
-
name = self._mock_name or 'mock'
|
|
736
|
-
return _format_call_signature(name, args, kwargs)
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
def _format_mock_failure_message(self, args, kwargs):
|
|
740
|
-
message = 'Expected call: %s\nActual call: %s'
|
|
741
|
-
expected_string = self._format_mock_call_signature(args, kwargs)
|
|
742
|
-
call_args = self.call_args
|
|
743
|
-
if len(call_args) == 3:
|
|
744
|
-
call_args = call_args[1:]
|
|
745
|
-
actual_string = self._format_mock_call_signature(*call_args)
|
|
746
|
-
return message % (expected_string, actual_string)
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
def _call_matcher(self, _call):
|
|
750
|
-
"""
|
|
751
|
-
Given a call (or simply an (args, kwargs) tuple), return a
|
|
752
|
-
comparison key suitable for matching with other calls.
|
|
753
|
-
This is a best effort method which relies on the spec's signature,
|
|
754
|
-
if available, or falls back on the arguments themselves.
|
|
755
|
-
"""
|
|
756
|
-
sig = self._spec_signature
|
|
757
|
-
if sig is not None:
|
|
758
|
-
if len(_call) == 2:
|
|
759
|
-
name = ''
|
|
760
|
-
args, kwargs = _call
|
|
761
|
-
else:
|
|
762
|
-
name, args, kwargs = _call
|
|
763
|
-
try:
|
|
764
|
-
return name, sig.bind(*args, **kwargs)
|
|
765
|
-
except TypeError as e:
|
|
766
|
-
return e.with_traceback(None)
|
|
767
|
-
else:
|
|
768
|
-
return _call
|
|
769
|
-
|
|
770
|
-
def assert_not_called(_mock_self):
|
|
771
|
-
"""assert that the mock was never called.
|
|
772
|
-
"""
|
|
773
|
-
self = _mock_self
|
|
774
|
-
if self.call_count != 0:
|
|
775
|
-
msg = ("Expected '%s' to not have been called. Called %s times." %
|
|
776
|
-
(self._mock_name or 'mock', self.call_count))
|
|
777
|
-
raise AssertionError(msg)
|
|
778
|
-
|
|
779
|
-
def assert_called(_mock_self):
|
|
780
|
-
"""assert that the mock was called at least once
|
|
781
|
-
"""
|
|
782
|
-
self = _mock_self
|
|
783
|
-
if self.call_count == 0:
|
|
784
|
-
msg = ("Expected '%s' to have been called." %
|
|
785
|
-
self._mock_name or 'mock')
|
|
786
|
-
raise AssertionError(msg)
|
|
787
|
-
|
|
788
|
-
def assert_called_once(_mock_self):
|
|
789
|
-
"""assert that the mock was called only once.
|
|
790
|
-
"""
|
|
791
|
-
self = _mock_self
|
|
792
|
-
if not self.call_count == 1:
|
|
793
|
-
msg = ("Expected '%s' to have been called once. Called %s times." %
|
|
794
|
-
(self._mock_name or 'mock', self.call_count))
|
|
795
|
-
raise AssertionError(msg)
|
|
796
|
-
|
|
797
|
-
def assert_called_with(_mock_self, *args, **kwargs):
|
|
798
|
-
"""assert that the mock was called with the specified arguments.
|
|
799
|
-
|
|
800
|
-
Raises an AssertionError if the args and keyword args passed in are
|
|
801
|
-
different to the last call to the mock."""
|
|
802
|
-
self = _mock_self
|
|
803
|
-
if self.call_args is None:
|
|
804
|
-
expected = self._format_mock_call_signature(args, kwargs)
|
|
805
|
-
raise AssertionError('Expected call: %s\nNot called' % (expected,))
|
|
806
|
-
|
|
807
|
-
def _error_message():
|
|
808
|
-
msg = self._format_mock_failure_message(args, kwargs)
|
|
809
|
-
return msg
|
|
810
|
-
expected = self._call_matcher((args, kwargs))
|
|
811
|
-
actual = self._call_matcher(self.call_args)
|
|
812
|
-
if expected != actual:
|
|
813
|
-
cause = expected if isinstance(expected, Exception) else None
|
|
814
|
-
raise AssertionError(_error_message()) from cause
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
def assert_called_once_with(_mock_self, *args, **kwargs):
|
|
818
|
-
"""assert that the mock was called exactly once and that that call was
|
|
819
|
-
with the specified arguments."""
|
|
820
|
-
self = _mock_self
|
|
821
|
-
if not self.call_count == 1:
|
|
822
|
-
msg = ("Expected '%s' to be called once. Called %s times." %
|
|
823
|
-
(self._mock_name or 'mock', self.call_count))
|
|
824
|
-
raise AssertionError(msg)
|
|
825
|
-
return self.assert_called_with(*args, **kwargs)
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
def assert_has_calls(self, calls, any_order=False):
|
|
829
|
-
"""assert the mock has been called with the specified calls.
|
|
830
|
-
The `mock_calls` list is checked for the calls.
|
|
831
|
-
|
|
832
|
-
If `any_order` is False (the default) then the calls must be
|
|
833
|
-
sequential. There can be extra calls before or after the
|
|
834
|
-
specified calls.
|
|
835
|
-
|
|
836
|
-
If `any_order` is True then the calls can be in any order, but
|
|
837
|
-
they must all appear in `mock_calls`."""
|
|
838
|
-
expected = [self._call_matcher(c) for c in calls]
|
|
839
|
-
cause = expected if isinstance(expected, Exception) else None
|
|
840
|
-
all_calls = _CallList(self._call_matcher(c) for c in self.mock_calls)
|
|
841
|
-
if not any_order:
|
|
842
|
-
if expected not in all_calls:
|
|
843
|
-
raise AssertionError(
|
|
844
|
-
'Calls not found.\nExpected: %r\n'
|
|
845
|
-
'Actual: %r' % (_CallList(calls), self.mock_calls)
|
|
846
|
-
) from cause
|
|
847
|
-
return
|
|
848
|
-
|
|
849
|
-
all_calls = list(all_calls)
|
|
850
|
-
|
|
851
|
-
not_found = []
|
|
852
|
-
for kall in expected:
|
|
853
|
-
try:
|
|
854
|
-
all_calls.remove(kall)
|
|
855
|
-
except ValueError:
|
|
856
|
-
not_found.append(kall)
|
|
857
|
-
if not_found:
|
|
858
|
-
raise AssertionError(
|
|
859
|
-
'%r not all found in call list' % (tuple(not_found),)
|
|
860
|
-
) from cause
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
def assert_any_call(self, *args, **kwargs):
|
|
864
|
-
"""assert the mock has been called with the specified arguments.
|
|
865
|
-
|
|
866
|
-
The assert passes if the mock has *ever* been called, unlike
|
|
867
|
-
`assert_called_with` and `assert_called_once_with` that only pass if
|
|
868
|
-
the call is the most recent one."""
|
|
869
|
-
expected = self._call_matcher((args, kwargs))
|
|
870
|
-
actual = [self._call_matcher(c) for c in self.call_args_list]
|
|
871
|
-
if expected not in actual:
|
|
872
|
-
cause = expected if isinstance(expected, Exception) else None
|
|
873
|
-
expected_string = self._format_mock_call_signature(args, kwargs)
|
|
874
|
-
raise AssertionError(
|
|
875
|
-
'%s call not found' % expected_string
|
|
876
|
-
) from cause
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
def _get_child_mock(self, **kw):
|
|
880
|
-
"""Create the child mocks for attributes and return value.
|
|
881
|
-
By default child mocks will be the same type as the parent.
|
|
882
|
-
Subclasses of Mock may want to override this to customize the way
|
|
883
|
-
child mocks are made.
|
|
884
|
-
|
|
885
|
-
For non-callable mocks the callable variant will be used (rather than
|
|
886
|
-
any custom subclass)."""
|
|
887
|
-
_type = type(self)
|
|
888
|
-
if not issubclass(_type, CallableMixin):
|
|
889
|
-
if issubclass(_type, NonCallableMagicMock):
|
|
890
|
-
klass = MagicMock
|
|
891
|
-
elif issubclass(_type, NonCallableMock) :
|
|
892
|
-
klass = Mock
|
|
893
|
-
else:
|
|
894
|
-
klass = _type.__mro__[1]
|
|
895
|
-
return klass(**kw)
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
def _try_iter(obj):
|
|
900
|
-
if obj is None:
|
|
901
|
-
return obj
|
|
902
|
-
if _is_exception(obj):
|
|
903
|
-
return obj
|
|
904
|
-
if _callable(obj):
|
|
905
|
-
return obj
|
|
906
|
-
try:
|
|
907
|
-
return iter(obj)
|
|
908
|
-
except TypeError:
|
|
909
|
-
# XXXX backwards compatibility
|
|
910
|
-
# but this will blow up on first call - so maybe we should fail early?
|
|
911
|
-
return obj
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
class CallableMixin(Base):
|
|
916
|
-
|
|
917
|
-
def __init__(self, spec=None, side_effect=None, return_value=DEFAULT,
|
|
918
|
-
wraps=None, name=None, spec_set=None, parent=None,
|
|
919
|
-
_spec_state=None, _new_name='', _new_parent=None, **kwargs):
|
|
920
|
-
self.__dict__['_mock_return_value'] = return_value
|
|
921
|
-
|
|
922
|
-
_safe_super(CallableMixin, self).__init__(
|
|
923
|
-
spec, wraps, name, spec_set, parent,
|
|
924
|
-
_spec_state, _new_name, _new_parent, **kwargs
|
|
925
|
-
)
|
|
926
|
-
|
|
927
|
-
self.side_effect = side_effect
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
def _mock_check_sig(self, *args, **kwargs):
|
|
931
|
-
# stub method that can be replaced with one with a specific signature
|
|
932
|
-
pass
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
def __call__(_mock_self, *args, **kwargs):
|
|
936
|
-
# can't use self in-case a function / method we are mocking uses self
|
|
937
|
-
# in the signature
|
|
938
|
-
_mock_self._mock_check_sig(*args, **kwargs)
|
|
939
|
-
return _mock_self._mock_call(*args, **kwargs)
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
def _mock_call(_mock_self, *args, **kwargs):
|
|
943
|
-
self = _mock_self
|
|
944
|
-
self.called = True
|
|
945
|
-
self.call_count += 1
|
|
946
|
-
_new_name = self._mock_new_name
|
|
947
|
-
_new_parent = self._mock_new_parent
|
|
948
|
-
|
|
949
|
-
_call = _Call((args, kwargs), two=True)
|
|
950
|
-
self.call_args = _call
|
|
951
|
-
self.call_args_list.append(_call)
|
|
952
|
-
self.mock_calls.append(_Call(('', args, kwargs)))
|
|
953
|
-
|
|
954
|
-
seen = set()
|
|
955
|
-
skip_next_dot = _new_name == '()'
|
|
956
|
-
do_method_calls = self._mock_parent is not None
|
|
957
|
-
name = self._mock_name
|
|
958
|
-
while _new_parent is not None:
|
|
959
|
-
this_mock_call = _Call((_new_name, args, kwargs))
|
|
960
|
-
if _new_parent._mock_new_name:
|
|
961
|
-
dot = '.'
|
|
962
|
-
if skip_next_dot:
|
|
963
|
-
dot = ''
|
|
964
|
-
|
|
965
|
-
skip_next_dot = False
|
|
966
|
-
if _new_parent._mock_new_name == '()':
|
|
967
|
-
skip_next_dot = True
|
|
968
|
-
|
|
969
|
-
_new_name = _new_parent._mock_new_name + dot + _new_name
|
|
970
|
-
|
|
971
|
-
if do_method_calls:
|
|
972
|
-
if _new_name == name:
|
|
973
|
-
this_method_call = this_mock_call
|
|
974
|
-
else:
|
|
975
|
-
this_method_call = _Call((name, args, kwargs))
|
|
976
|
-
_new_parent.method_calls.append(this_method_call)
|
|
977
|
-
|
|
978
|
-
do_method_calls = _new_parent._mock_parent is not None
|
|
979
|
-
if do_method_calls:
|
|
980
|
-
name = _new_parent._mock_name + '.' + name
|
|
981
|
-
|
|
982
|
-
_new_parent.mock_calls.append(this_mock_call)
|
|
983
|
-
_new_parent = _new_parent._mock_new_parent
|
|
984
|
-
|
|
985
|
-
# use ids here so as not to call __hash__ on the mocks
|
|
986
|
-
_new_parent_id = id(_new_parent)
|
|
987
|
-
if _new_parent_id in seen:
|
|
988
|
-
break
|
|
989
|
-
seen.add(_new_parent_id)
|
|
990
|
-
|
|
991
|
-
ret_val = DEFAULT
|
|
992
|
-
effect = self.side_effect
|
|
993
|
-
if effect is not None:
|
|
994
|
-
if _is_exception(effect):
|
|
995
|
-
raise effect
|
|
996
|
-
|
|
997
|
-
if not _callable(effect):
|
|
998
|
-
result = next(effect)
|
|
999
|
-
if _is_exception(result):
|
|
1000
|
-
raise result
|
|
1001
|
-
if result is DEFAULT:
|
|
1002
|
-
result = self.return_value
|
|
1003
|
-
return result
|
|
1004
|
-
|
|
1005
|
-
ret_val = effect(*args, **kwargs)
|
|
1006
|
-
|
|
1007
|
-
if (self._mock_wraps is not None and
|
|
1008
|
-
self._mock_return_value is DEFAULT):
|
|
1009
|
-
return self._mock_wraps(*args, **kwargs)
|
|
1010
|
-
if ret_val is DEFAULT:
|
|
1011
|
-
ret_val = self.return_value
|
|
1012
|
-
return ret_val
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
class Mock(CallableMixin, NonCallableMock):
|
|
1017
|
-
"""
|
|
1018
|
-
Create a new `Mock` object. `Mock` takes several optional arguments
|
|
1019
|
-
that specify the behaviour of the Mock object:
|
|
1020
|
-
|
|
1021
|
-
* `spec`: This can be either a list of strings or an existing object (a
|
|
1022
|
-
class or instance) that acts as the specification for the mock object. If
|
|
1023
|
-
you pass in an object then a list of strings is formed by calling dir on
|
|
1024
|
-
the object (excluding unsupported magic attributes and methods). Accessing
|
|
1025
|
-
any attribute not in this list will raise an `AttributeError`.
|
|
1026
|
-
|
|
1027
|
-
If `spec` is an object (rather than a list of strings) then
|
|
1028
|
-
`mock.__class__` returns the class of the spec object. This allows mocks
|
|
1029
|
-
to pass `isinstance` tests.
|
|
1030
|
-
|
|
1031
|
-
* `spec_set`: A stricter variant of `spec`. If used, attempting to *set*
|
|
1032
|
-
or get an attribute on the mock that isn't on the object passed as
|
|
1033
|
-
`spec_set` will raise an `AttributeError`.
|
|
1034
|
-
|
|
1035
|
-
* `side_effect`: A function to be called whenever the Mock is called. See
|
|
1036
|
-
the `side_effect` attribute. Useful for raising exceptions or
|
|
1037
|
-
dynamically changing return values. The function is called with the same
|
|
1038
|
-
arguments as the mock, and unless it returns `DEFAULT`, the return
|
|
1039
|
-
value of this function is used as the return value.
|
|
1040
|
-
|
|
1041
|
-
If `side_effect` is an iterable then each call to the mock will return
|
|
1042
|
-
the next value from the iterable. If any of the members of the iterable
|
|
1043
|
-
are exceptions they will be raised instead of returned.
|
|
1044
|
-
|
|
1045
|
-
* `return_value`: The value returned when the mock is called. By default
|
|
1046
|
-
this is a new Mock (created on first access). See the
|
|
1047
|
-
`return_value` attribute.
|
|
1048
|
-
|
|
1049
|
-
* `wraps`: Item for the mock object to wrap. If `wraps` is not None then
|
|
1050
|
-
calling the Mock will pass the call through to the wrapped object
|
|
1051
|
-
(returning the real result). Attribute access on the mock will return a
|
|
1052
|
-
Mock object that wraps the corresponding attribute of the wrapped object
|
|
1053
|
-
(so attempting to access an attribute that doesn't exist will raise an
|
|
1054
|
-
`AttributeError`).
|
|
1055
|
-
|
|
1056
|
-
If the mock has an explicit `return_value` set then calls are not passed
|
|
1057
|
-
to the wrapped object and the `return_value` is returned instead.
|
|
1058
|
-
|
|
1059
|
-
* `name`: If the mock has a name then it will be used in the repr of the
|
|
1060
|
-
mock. This can be useful for debugging. The name is propagated to child
|
|
1061
|
-
mocks.
|
|
1062
|
-
|
|
1063
|
-
Mocks can also be called with arbitrary keyword arguments. These will be
|
|
1064
|
-
used to set attributes on the mock after it is created.
|
|
1065
|
-
"""
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
def _dot_lookup(thing, comp, import_path):
|
|
1070
|
-
try:
|
|
1071
|
-
return getattr(thing, comp)
|
|
1072
|
-
except AttributeError:
|
|
1073
|
-
__import__(import_path)
|
|
1074
|
-
return getattr(thing, comp)
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
def _importer(target):
|
|
1078
|
-
components = target.split('.')
|
|
1079
|
-
import_path = components.pop(0)
|
|
1080
|
-
thing = __import__(import_path)
|
|
1081
|
-
|
|
1082
|
-
for comp in components:
|
|
1083
|
-
import_path += ".%s" % comp
|
|
1084
|
-
thing = _dot_lookup(thing, comp, import_path)
|
|
1085
|
-
return thing
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
def _is_started(patcher):
|
|
1089
|
-
# XXXX horrible
|
|
1090
|
-
return hasattr(patcher, 'is_local')
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
class _patch(object):
|
|
1094
|
-
|
|
1095
|
-
attribute_name = None
|
|
1096
|
-
_active_patches = []
|
|
1097
|
-
|
|
1098
|
-
def __init__(
|
|
1099
|
-
self, getter, attribute, new, spec, create,
|
|
1100
|
-
spec_set, autospec, new_callable, kwargs
|
|
1101
|
-
):
|
|
1102
|
-
if new_callable is not None:
|
|
1103
|
-
if new is not DEFAULT:
|
|
1104
|
-
raise ValueError(
|
|
1105
|
-
"Cannot use 'new' and 'new_callable' together"
|
|
1106
|
-
)
|
|
1107
|
-
if autospec is not None:
|
|
1108
|
-
raise ValueError(
|
|
1109
|
-
"Cannot use 'autospec' and 'new_callable' together"
|
|
1110
|
-
)
|
|
1111
|
-
|
|
1112
|
-
self.getter = getter
|
|
1113
|
-
self.attribute = attribute
|
|
1114
|
-
self.new = new
|
|
1115
|
-
self.new_callable = new_callable
|
|
1116
|
-
self.spec = spec
|
|
1117
|
-
self.create = create
|
|
1118
|
-
self.has_local = False
|
|
1119
|
-
self.spec_set = spec_set
|
|
1120
|
-
self.autospec = autospec
|
|
1121
|
-
self.kwargs = kwargs
|
|
1122
|
-
self.additional_patchers = []
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
def copy(self):
|
|
1126
|
-
patcher = _patch(
|
|
1127
|
-
self.getter, self.attribute, self.new, self.spec,
|
|
1128
|
-
self.create, self.spec_set,
|
|
1129
|
-
self.autospec, self.new_callable, self.kwargs
|
|
1130
|
-
)
|
|
1131
|
-
patcher.attribute_name = self.attribute_name
|
|
1132
|
-
patcher.additional_patchers = [
|
|
1133
|
-
p.copy() for p in self.additional_patchers
|
|
1134
|
-
]
|
|
1135
|
-
return patcher
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
def __call__(self, func):
|
|
1139
|
-
if isinstance(func, type):
|
|
1140
|
-
return self.decorate_class(func)
|
|
1141
|
-
return self.decorate_callable(func)
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
def decorate_class(self, klass):
|
|
1145
|
-
for attr in dir(klass):
|
|
1146
|
-
if not attr.startswith(patch.TEST_PREFIX):
|
|
1147
|
-
continue
|
|
1148
|
-
|
|
1149
|
-
attr_value = getattr(klass, attr)
|
|
1150
|
-
if not hasattr(attr_value, "__call__"):
|
|
1151
|
-
continue
|
|
1152
|
-
|
|
1153
|
-
patcher = self.copy()
|
|
1154
|
-
setattr(klass, attr, patcher(attr_value))
|
|
1155
|
-
return klass
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
def decorate_callable(self, func):
|
|
1159
|
-
if hasattr(func, 'patchings'):
|
|
1160
|
-
func.patchings.append(self)
|
|
1161
|
-
return func
|
|
1162
|
-
|
|
1163
|
-
@wraps(func)
|
|
1164
|
-
def patched(*args, **keywargs):
|
|
1165
|
-
extra_args = []
|
|
1166
|
-
entered_patchers = []
|
|
1167
|
-
|
|
1168
|
-
exc_info = tuple()
|
|
1169
|
-
try:
|
|
1170
|
-
for patching in patched.patchings:
|
|
1171
|
-
arg = patching.__enter__()
|
|
1172
|
-
entered_patchers.append(patching)
|
|
1173
|
-
if patching.attribute_name is not None:
|
|
1174
|
-
keywargs.update(arg)
|
|
1175
|
-
elif patching.new is DEFAULT:
|
|
1176
|
-
extra_args.append(arg)
|
|
1177
|
-
|
|
1178
|
-
args += tuple(extra_args)
|
|
1179
|
-
return func(*args, **keywargs)
|
|
1180
|
-
except:
|
|
1181
|
-
if (patching not in entered_patchers and
|
|
1182
|
-
_is_started(patching)):
|
|
1183
|
-
# the patcher may have been started, but an exception
|
|
1184
|
-
# raised whilst entering one of its additional_patchers
|
|
1185
|
-
entered_patchers.append(patching)
|
|
1186
|
-
# Pass the exception to __exit__
|
|
1187
|
-
exc_info = sys.exc_info()
|
|
1188
|
-
# re-raise the exception
|
|
1189
|
-
raise
|
|
1190
|
-
finally:
|
|
1191
|
-
for patching in reversed(entered_patchers):
|
|
1192
|
-
patching.__exit__(*exc_info)
|
|
1193
|
-
|
|
1194
|
-
patched.patchings = [self]
|
|
1195
|
-
return patched
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
def get_original(self):
|
|
1199
|
-
target = self.getter()
|
|
1200
|
-
name = self.attribute
|
|
1201
|
-
|
|
1202
|
-
original = DEFAULT
|
|
1203
|
-
local = False
|
|
1204
|
-
|
|
1205
|
-
try:
|
|
1206
|
-
original = target.__dict__[name]
|
|
1207
|
-
except (AttributeError, KeyError):
|
|
1208
|
-
original = getattr(target, name, DEFAULT)
|
|
1209
|
-
else:
|
|
1210
|
-
local = True
|
|
1211
|
-
|
|
1212
|
-
if name in _builtins and isinstance(target, ModuleType):
|
|
1213
|
-
self.create = True
|
|
1214
|
-
|
|
1215
|
-
if not self.create and original is DEFAULT:
|
|
1216
|
-
raise AttributeError(
|
|
1217
|
-
"%s does not have the attribute %r" % (target, name)
|
|
1218
|
-
)
|
|
1219
|
-
return original, local
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
def __enter__(self):
|
|
1223
|
-
"""Perform the patch."""
|
|
1224
|
-
new, spec, spec_set = self.new, self.spec, self.spec_set
|
|
1225
|
-
autospec, kwargs = self.autospec, self.kwargs
|
|
1226
|
-
new_callable = self.new_callable
|
|
1227
|
-
self.target = self.getter()
|
|
1228
|
-
|
|
1229
|
-
# normalise False to None
|
|
1230
|
-
if spec is False:
|
|
1231
|
-
spec = None
|
|
1232
|
-
if spec_set is False:
|
|
1233
|
-
spec_set = None
|
|
1234
|
-
if autospec is False:
|
|
1235
|
-
autospec = None
|
|
1236
|
-
|
|
1237
|
-
if spec is not None and autospec is not None:
|
|
1238
|
-
raise TypeError("Can't specify spec and autospec")
|
|
1239
|
-
if ((spec is not None or autospec is not None) and
|
|
1240
|
-
spec_set not in (True, None)):
|
|
1241
|
-
raise TypeError("Can't provide explicit spec_set *and* spec or autospec")
|
|
1242
|
-
|
|
1243
|
-
original, local = self.get_original()
|
|
1244
|
-
|
|
1245
|
-
if new is DEFAULT and autospec is None:
|
|
1246
|
-
inherit = False
|
|
1247
|
-
if spec is True:
|
|
1248
|
-
# set spec to the object we are replacing
|
|
1249
|
-
spec = original
|
|
1250
|
-
if spec_set is True:
|
|
1251
|
-
spec_set = original
|
|
1252
|
-
spec = None
|
|
1253
|
-
elif spec is not None:
|
|
1254
|
-
if spec_set is True:
|
|
1255
|
-
spec_set = spec
|
|
1256
|
-
spec = None
|
|
1257
|
-
elif spec_set is True:
|
|
1258
|
-
spec_set = original
|
|
1259
|
-
|
|
1260
|
-
if spec is not None or spec_set is not None:
|
|
1261
|
-
if original is DEFAULT:
|
|
1262
|
-
raise TypeError("Can't use 'spec' with create=True")
|
|
1263
|
-
if isinstance(original, type):
|
|
1264
|
-
# If we're patching out a class and there is a spec
|
|
1265
|
-
inherit = True
|
|
1266
|
-
|
|
1267
|
-
Klass = MagicMock
|
|
1268
|
-
_kwargs = {}
|
|
1269
|
-
if new_callable is not None:
|
|
1270
|
-
Klass = new_callable
|
|
1271
|
-
elif spec is not None or spec_set is not None:
|
|
1272
|
-
this_spec = spec
|
|
1273
|
-
if spec_set is not None:
|
|
1274
|
-
this_spec = spec_set
|
|
1275
|
-
if _is_list(this_spec):
|
|
1276
|
-
not_callable = '__call__' not in this_spec
|
|
1277
|
-
else:
|
|
1278
|
-
not_callable = not callable(this_spec)
|
|
1279
|
-
if not_callable:
|
|
1280
|
-
Klass = NonCallableMagicMock
|
|
1281
|
-
|
|
1282
|
-
if spec is not None:
|
|
1283
|
-
_kwargs['spec'] = spec
|
|
1284
|
-
if spec_set is not None:
|
|
1285
|
-
_kwargs['spec_set'] = spec_set
|
|
1286
|
-
|
|
1287
|
-
# add a name to mocks
|
|
1288
|
-
if (isinstance(Klass, type) and
|
|
1289
|
-
issubclass(Klass, NonCallableMock) and self.attribute):
|
|
1290
|
-
_kwargs['name'] = self.attribute
|
|
1291
|
-
|
|
1292
|
-
_kwargs.update(kwargs)
|
|
1293
|
-
new = Klass(**_kwargs)
|
|
1294
|
-
|
|
1295
|
-
if inherit and _is_instance_mock(new):
|
|
1296
|
-
# we can only tell if the instance should be callable if the
|
|
1297
|
-
# spec is not a list
|
|
1298
|
-
this_spec = spec
|
|
1299
|
-
if spec_set is not None:
|
|
1300
|
-
this_spec = spec_set
|
|
1301
|
-
if (not _is_list(this_spec) and not
|
|
1302
|
-
_instance_callable(this_spec)):
|
|
1303
|
-
Klass = NonCallableMagicMock
|
|
1304
|
-
|
|
1305
|
-
_kwargs.pop('name')
|
|
1306
|
-
new.return_value = Klass(_new_parent=new, _new_name='()',
|
|
1307
|
-
**_kwargs)
|
|
1308
|
-
elif autospec is not None:
|
|
1309
|
-
# spec is ignored, new *must* be default, spec_set is treated
|
|
1310
|
-
# as a boolean. Should we check spec is not None and that spec_set
|
|
1311
|
-
# is a bool?
|
|
1312
|
-
if new is not DEFAULT:
|
|
1313
|
-
raise TypeError(
|
|
1314
|
-
"autospec creates the mock for you. Can't specify "
|
|
1315
|
-
"autospec and new."
|
|
1316
|
-
)
|
|
1317
|
-
if original is DEFAULT:
|
|
1318
|
-
raise TypeError("Can't use 'autospec' with create=True")
|
|
1319
|
-
spec_set = bool(spec_set)
|
|
1320
|
-
if autospec is True:
|
|
1321
|
-
autospec = original
|
|
1322
|
-
|
|
1323
|
-
new = create_autospec(autospec, spec_set=spec_set,
|
|
1324
|
-
_name=self.attribute, **kwargs)
|
|
1325
|
-
elif kwargs:
|
|
1326
|
-
# can't set keyword args when we aren't creating the mock
|
|
1327
|
-
# XXXX If new is a Mock we could call new.configure_mock(**kwargs)
|
|
1328
|
-
raise TypeError("Can't pass kwargs to a mock we aren't creating")
|
|
1329
|
-
|
|
1330
|
-
new_attr = new
|
|
1331
|
-
|
|
1332
|
-
self.temp_original = original
|
|
1333
|
-
self.is_local = local
|
|
1334
|
-
setattr(self.target, self.attribute, new_attr)
|
|
1335
|
-
if self.attribute_name is not None:
|
|
1336
|
-
extra_args = {}
|
|
1337
|
-
if self.new is DEFAULT:
|
|
1338
|
-
extra_args[self.attribute_name] = new
|
|
1339
|
-
for patching in self.additional_patchers:
|
|
1340
|
-
arg = patching.__enter__()
|
|
1341
|
-
if patching.new is DEFAULT:
|
|
1342
|
-
extra_args.update(arg)
|
|
1343
|
-
return extra_args
|
|
1344
|
-
|
|
1345
|
-
return new
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
def __exit__(self, *exc_info):
|
|
1349
|
-
"""Undo the patch."""
|
|
1350
|
-
if not _is_started(self):
|
|
1351
|
-
raise RuntimeError('stop called on unstarted patcher')
|
|
1352
|
-
|
|
1353
|
-
if self.is_local and self.temp_original is not DEFAULT:
|
|
1354
|
-
setattr(self.target, self.attribute, self.temp_original)
|
|
1355
|
-
else:
|
|
1356
|
-
delattr(self.target, self.attribute)
|
|
1357
|
-
if not self.create and (not hasattr(self.target, self.attribute) or
|
|
1358
|
-
self.attribute in ('__doc__', '__module__',
|
|
1359
|
-
'__defaults__', '__annotations__',
|
|
1360
|
-
'__kwdefaults__')):
|
|
1361
|
-
# needed for proxy objects like django settings
|
|
1362
|
-
setattr(self.target, self.attribute, self.temp_original)
|
|
1363
|
-
|
|
1364
|
-
del self.temp_original
|
|
1365
|
-
del self.is_local
|
|
1366
|
-
del self.target
|
|
1367
|
-
for patcher in reversed(self.additional_patchers):
|
|
1368
|
-
if _is_started(patcher):
|
|
1369
|
-
patcher.__exit__(*exc_info)
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
def start(self):
|
|
1373
|
-
"""Activate a patch, returning any created mock."""
|
|
1374
|
-
result = self.__enter__()
|
|
1375
|
-
self._active_patches.append(self)
|
|
1376
|
-
return result
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
def stop(self):
|
|
1380
|
-
"""Stop an active patch."""
|
|
1381
|
-
try:
|
|
1382
|
-
self._active_patches.remove(self)
|
|
1383
|
-
except ValueError:
|
|
1384
|
-
# If the patch hasn't been started this will fail
|
|
1385
|
-
pass
|
|
1386
|
-
|
|
1387
|
-
return self.__exit__()
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
def _get_target(target):
|
|
1392
|
-
try:
|
|
1393
|
-
target, attribute = target.rsplit('.', 1)
|
|
1394
|
-
except (TypeError, ValueError):
|
|
1395
|
-
raise TypeError("Need a valid target to patch. You supplied: %r" %
|
|
1396
|
-
(target,))
|
|
1397
|
-
getter = lambda: _importer(target)
|
|
1398
|
-
return getter, attribute
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
def _patch_object(
|
|
1402
|
-
target, attribute, new=DEFAULT, spec=None,
|
|
1403
|
-
create=False, spec_set=None, autospec=None,
|
|
1404
|
-
new_callable=None, **kwargs
|
|
1405
|
-
):
|
|
1406
|
-
"""
|
|
1407
|
-
patch the named member (`attribute`) on an object (`target`) with a mock
|
|
1408
|
-
object.
|
|
1409
|
-
|
|
1410
|
-
`patch.object` can be used as a decorator, class decorator or a context
|
|
1411
|
-
manager. Arguments `new`, `spec`, `create`, `spec_set`,
|
|
1412
|
-
`autospec` and `new_callable` have the same meaning as for `patch`. Like
|
|
1413
|
-
`patch`, `patch.object` takes arbitrary keyword arguments for configuring
|
|
1414
|
-
the mock object it creates.
|
|
1415
|
-
|
|
1416
|
-
When used as a class decorator `patch.object` honours `patch.TEST_PREFIX`
|
|
1417
|
-
for choosing which methods to wrap.
|
|
1418
|
-
"""
|
|
1419
|
-
getter = lambda: target
|
|
1420
|
-
return _patch(
|
|
1421
|
-
getter, attribute, new, spec, create,
|
|
1422
|
-
spec_set, autospec, new_callable, kwargs
|
|
1423
|
-
)
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
def _patch_multiple(target, spec=None, create=False, spec_set=None,
|
|
1427
|
-
autospec=None, new_callable=None, **kwargs):
|
|
1428
|
-
"""Perform multiple patches in a single call. It takes the object to be
|
|
1429
|
-
patched (either as an object or a string to fetch the object by importing)
|
|
1430
|
-
and keyword arguments for the patches::
|
|
1431
|
-
|
|
1432
|
-
with patch.multiple(settings, FIRST_PATCH='one', SECOND_PATCH='two'):
|
|
1433
|
-
...
|
|
1434
|
-
|
|
1435
|
-
Use `DEFAULT` as the value if you want `patch.multiple` to create
|
|
1436
|
-
mocks for you. In this case the created mocks are passed into a decorated
|
|
1437
|
-
function by keyword, and a dictionary is returned when `patch.multiple` is
|
|
1438
|
-
used as a context manager.
|
|
1439
|
-
|
|
1440
|
-
`patch.multiple` can be used as a decorator, class decorator or a context
|
|
1441
|
-
manager. The arguments `spec`, `spec_set`, `create`,
|
|
1442
|
-
`autospec` and `new_callable` have the same meaning as for `patch`. These
|
|
1443
|
-
arguments will be applied to *all* patches done by `patch.multiple`.
|
|
1444
|
-
|
|
1445
|
-
When used as a class decorator `patch.multiple` honours `patch.TEST_PREFIX`
|
|
1446
|
-
for choosing which methods to wrap.
|
|
1447
|
-
"""
|
|
1448
|
-
if type(target) is str:
|
|
1449
|
-
getter = lambda: _importer(target)
|
|
1450
|
-
else:
|
|
1451
|
-
getter = lambda: target
|
|
1452
|
-
|
|
1453
|
-
if not kwargs:
|
|
1454
|
-
raise ValueError(
|
|
1455
|
-
'Must supply at least one keyword argument with patch.multiple'
|
|
1456
|
-
)
|
|
1457
|
-
# need to wrap in a list for python 3, where items is a view
|
|
1458
|
-
items = list(kwargs.items())
|
|
1459
|
-
attribute, new = items[0]
|
|
1460
|
-
patcher = _patch(
|
|
1461
|
-
getter, attribute, new, spec, create, spec_set,
|
|
1462
|
-
autospec, new_callable, {}
|
|
1463
|
-
)
|
|
1464
|
-
patcher.attribute_name = attribute
|
|
1465
|
-
for attribute, new in items[1:]:
|
|
1466
|
-
this_patcher = _patch(
|
|
1467
|
-
getter, attribute, new, spec, create, spec_set,
|
|
1468
|
-
autospec, new_callable, {}
|
|
1469
|
-
)
|
|
1470
|
-
this_patcher.attribute_name = attribute
|
|
1471
|
-
patcher.additional_patchers.append(this_patcher)
|
|
1472
|
-
return patcher
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
def patch(
|
|
1476
|
-
target, new=DEFAULT, spec=None, create=False,
|
|
1477
|
-
spec_set=None, autospec=None, new_callable=None, **kwargs
|
|
1478
|
-
):
|
|
1479
|
-
"""
|
|
1480
|
-
`patch` acts as a function decorator, class decorator or a context
|
|
1481
|
-
manager. Inside the body of the function or with statement, the `target`
|
|
1482
|
-
is patched with a `new` object. When the function/with statement exits
|
|
1483
|
-
the patch is undone.
|
|
1484
|
-
|
|
1485
|
-
If `new` is omitted, then the target is replaced with a
|
|
1486
|
-
`MagicMock`. If `patch` is used as a decorator and `new` is
|
|
1487
|
-
omitted, the created mock is passed in as an extra argument to the
|
|
1488
|
-
decorated function. If `patch` is used as a context manager the created
|
|
1489
|
-
mock is returned by the context manager.
|
|
1490
|
-
|
|
1491
|
-
`target` should be a string in the form `'package.module.ClassName'`. The
|
|
1492
|
-
`target` is imported and the specified object replaced with the `new`
|
|
1493
|
-
object, so the `target` must be importable from the environment you are
|
|
1494
|
-
calling `patch` from. The target is imported when the decorated function
|
|
1495
|
-
is executed, not at decoration time.
|
|
1496
|
-
|
|
1497
|
-
The `spec` and `spec_set` keyword arguments are passed to the `MagicMock`
|
|
1498
|
-
if patch is creating one for you.
|
|
1499
|
-
|
|
1500
|
-
In addition you can pass `spec=True` or `spec_set=True`, which causes
|
|
1501
|
-
patch to pass in the object being mocked as the spec/spec_set object.
|
|
1502
|
-
|
|
1503
|
-
`new_callable` allows you to specify a different class, or callable object,
|
|
1504
|
-
that will be called to create the `new` object. By default `MagicMock` is
|
|
1505
|
-
used.
|
|
1506
|
-
|
|
1507
|
-
A more powerful form of `spec` is `autospec`. If you set `autospec=True`
|
|
1508
|
-
then the mock will be created with a spec from the object being replaced.
|
|
1509
|
-
All attributes of the mock will also have the spec of the corresponding
|
|
1510
|
-
attribute of the object being replaced. Methods and functions being
|
|
1511
|
-
mocked will have their arguments checked and will raise a `TypeError` if
|
|
1512
|
-
they are called with the wrong signature. For mocks replacing a class,
|
|
1513
|
-
their return value (the 'instance') will have the same spec as the class.
|
|
1514
|
-
|
|
1515
|
-
Instead of `autospec=True` you can pass `autospec=some_object` to use an
|
|
1516
|
-
arbitrary object as the spec instead of the one being replaced.
|
|
1517
|
-
|
|
1518
|
-
By default `patch` will fail to replace attributes that don't exist. If
|
|
1519
|
-
you pass in `create=True`, and the attribute doesn't exist, patch will
|
|
1520
|
-
create the attribute for you when the patched function is called, and
|
|
1521
|
-
delete it again afterwards. This is useful for writing tests against
|
|
1522
|
-
attributes that your production code creates at runtime. It is off by
|
|
1523
|
-
default because it can be dangerous. With it switched on you can write
|
|
1524
|
-
passing tests against APIs that don't actually exist!
|
|
1525
|
-
|
|
1526
|
-
Patch can be used as a `TestCase` class decorator. It works by
|
|
1527
|
-
decorating each test method in the class. This reduces the boilerplate
|
|
1528
|
-
code when your test methods share a common patchings set. `patch` finds
|
|
1529
|
-
tests by looking for method names that start with `patch.TEST_PREFIX`.
|
|
1530
|
-
By default this is `test`, which matches the way `unittest` finds tests.
|
|
1531
|
-
You can specify an alternative prefix by setting `patch.TEST_PREFIX`.
|
|
1532
|
-
|
|
1533
|
-
Patch can be used as a context manager, with the with statement. Here the
|
|
1534
|
-
patching applies to the indented block after the with statement. If you
|
|
1535
|
-
use "as" then the patched object will be bound to the name after the
|
|
1536
|
-
"as"; very useful if `patch` is creating a mock object for you.
|
|
1537
|
-
|
|
1538
|
-
`patch` takes arbitrary keyword arguments. These will be passed to
|
|
1539
|
-
the `Mock` (or `new_callable`) on construction.
|
|
1540
|
-
|
|
1541
|
-
`patch.dict(...)`, `patch.multiple(...)` and `patch.object(...)` are
|
|
1542
|
-
available for alternate use-cases.
|
|
1543
|
-
"""
|
|
1544
|
-
getter, attribute = _get_target(target)
|
|
1545
|
-
return _patch(
|
|
1546
|
-
getter, attribute, new, spec, create,
|
|
1547
|
-
spec_set, autospec, new_callable, kwargs
|
|
1548
|
-
)
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
class _patch_dict(object):
|
|
1552
|
-
"""
|
|
1553
|
-
Patch a dictionary, or dictionary like object, and restore the dictionary
|
|
1554
|
-
to its original state after the test.
|
|
1555
|
-
|
|
1556
|
-
`in_dict` can be a dictionary or a mapping like container. If it is a
|
|
1557
|
-
mapping then it must at least support getting, setting and deleting items
|
|
1558
|
-
plus iterating over keys.
|
|
1559
|
-
|
|
1560
|
-
`in_dict` can also be a string specifying the name of the dictionary, which
|
|
1561
|
-
will then be fetched by importing it.
|
|
1562
|
-
|
|
1563
|
-
`values` can be a dictionary of values to set in the dictionary. `values`
|
|
1564
|
-
can also be an iterable of `(key, value)` pairs.
|
|
1565
|
-
|
|
1566
|
-
If `clear` is True then the dictionary will be cleared before the new
|
|
1567
|
-
values are set.
|
|
1568
|
-
|
|
1569
|
-
`patch.dict` can also be called with arbitrary keyword arguments to set
|
|
1570
|
-
values in the dictionary::
|
|
1571
|
-
|
|
1572
|
-
with patch.dict('sys.modules', mymodule=Mock(), other_module=Mock()):
|
|
1573
|
-
...
|
|
1574
|
-
|
|
1575
|
-
`patch.dict` can be used as a context manager, decorator or class
|
|
1576
|
-
decorator. When used as a class decorator `patch.dict` honours
|
|
1577
|
-
`patch.TEST_PREFIX` for choosing which methods to wrap.
|
|
1578
|
-
"""
|
|
1579
|
-
|
|
1580
|
-
def __init__(self, in_dict, values=(), clear=False, **kwargs):
|
|
1581
|
-
if isinstance(in_dict, str):
|
|
1582
|
-
in_dict = _importer(in_dict)
|
|
1583
|
-
self.in_dict = in_dict
|
|
1584
|
-
# support any argument supported by dict(...) constructor
|
|
1585
|
-
self.values = dict(values)
|
|
1586
|
-
self.values.update(kwargs)
|
|
1587
|
-
self.clear = clear
|
|
1588
|
-
self._original = None
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
def __call__(self, f):
|
|
1592
|
-
if isinstance(f, type):
|
|
1593
|
-
return self.decorate_class(f)
|
|
1594
|
-
@wraps(f)
|
|
1595
|
-
def _inner(*args, **kw):
|
|
1596
|
-
self._patch_dict()
|
|
1597
|
-
try:
|
|
1598
|
-
return f(*args, **kw)
|
|
1599
|
-
finally:
|
|
1600
|
-
self._unpatch_dict()
|
|
1601
|
-
|
|
1602
|
-
return _inner
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
def decorate_class(self, klass):
|
|
1606
|
-
for attr in dir(klass):
|
|
1607
|
-
attr_value = getattr(klass, attr)
|
|
1608
|
-
if (attr.startswith(patch.TEST_PREFIX) and
|
|
1609
|
-
hasattr(attr_value, "__call__")):
|
|
1610
|
-
decorator = _patch_dict(self.in_dict, self.values, self.clear)
|
|
1611
|
-
decorated = decorator(attr_value)
|
|
1612
|
-
setattr(klass, attr, decorated)
|
|
1613
|
-
return klass
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
def __enter__(self):
|
|
1617
|
-
"""Patch the dict."""
|
|
1618
|
-
self._patch_dict()
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
def _patch_dict(self):
|
|
1622
|
-
values = self.values
|
|
1623
|
-
in_dict = self.in_dict
|
|
1624
|
-
clear = self.clear
|
|
1625
|
-
|
|
1626
|
-
try:
|
|
1627
|
-
original = in_dict.copy()
|
|
1628
|
-
except AttributeError:
|
|
1629
|
-
# dict like object with no copy method
|
|
1630
|
-
# must support iteration over keys
|
|
1631
|
-
original = {}
|
|
1632
|
-
for key in in_dict:
|
|
1633
|
-
original[key] = in_dict[key]
|
|
1634
|
-
self._original = original
|
|
1635
|
-
|
|
1636
|
-
if clear:
|
|
1637
|
-
_clear_dict(in_dict)
|
|
1638
|
-
|
|
1639
|
-
try:
|
|
1640
|
-
in_dict.update(values)
|
|
1641
|
-
except AttributeError:
|
|
1642
|
-
# dict like object with no update method
|
|
1643
|
-
for key in values:
|
|
1644
|
-
in_dict[key] = values[key]
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
def _unpatch_dict(self):
|
|
1648
|
-
in_dict = self.in_dict
|
|
1649
|
-
original = self._original
|
|
1650
|
-
|
|
1651
|
-
_clear_dict(in_dict)
|
|
1652
|
-
|
|
1653
|
-
try:
|
|
1654
|
-
in_dict.update(original)
|
|
1655
|
-
except AttributeError:
|
|
1656
|
-
for key in original:
|
|
1657
|
-
in_dict[key] = original[key]
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
def __exit__(self, *args):
|
|
1661
|
-
"""Unpatch the dict."""
|
|
1662
|
-
self._unpatch_dict()
|
|
1663
|
-
return False
|
|
1664
|
-
|
|
1665
|
-
start = __enter__
|
|
1666
|
-
stop = __exit__
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
def _clear_dict(in_dict):
|
|
1670
|
-
try:
|
|
1671
|
-
in_dict.clear()
|
|
1672
|
-
except AttributeError:
|
|
1673
|
-
keys = list(in_dict)
|
|
1674
|
-
for key in keys:
|
|
1675
|
-
del in_dict[key]
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
def _patch_stopall():
|
|
1679
|
-
"""Stop all active patches. LIFO to unroll nested patches."""
|
|
1680
|
-
for patch in reversed(_patch._active_patches):
|
|
1681
|
-
patch.stop()
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
patch.object = _patch_object
|
|
1685
|
-
patch.dict = _patch_dict
|
|
1686
|
-
patch.multiple = _patch_multiple
|
|
1687
|
-
patch.stopall = _patch_stopall
|
|
1688
|
-
patch.TEST_PREFIX = 'test'
|
|
1689
|
-
|
|
1690
|
-
magic_methods = (
|
|
1691
|
-
"lt le gt ge eq ne "
|
|
1692
|
-
"getitem setitem delitem "
|
|
1693
|
-
"len contains iter "
|
|
1694
|
-
"hash str sizeof "
|
|
1695
|
-
"enter exit "
|
|
1696
|
-
# we added divmod and rdivmod here instead of numerics
|
|
1697
|
-
# because there is no idivmod
|
|
1698
|
-
"divmod rdivmod neg pos abs invert "
|
|
1699
|
-
"complex int float index "
|
|
1700
|
-
"trunc floor ceil "
|
|
1701
|
-
"bool next "
|
|
1702
|
-
)
|
|
1703
|
-
|
|
1704
|
-
numerics = (
|
|
1705
|
-
"add sub mul matmul div floordiv mod lshift rshift and xor or pow truediv"
|
|
1706
|
-
)
|
|
1707
|
-
inplace = ' '.join('i%s' % n for n in numerics.split())
|
|
1708
|
-
right = ' '.join('r%s' % n for n in numerics.split())
|
|
1709
|
-
|
|
1710
|
-
# not including __prepare__, __instancecheck__, __subclasscheck__
|
|
1711
|
-
# (as they are metaclass methods)
|
|
1712
|
-
# __del__ is not supported at all as it causes problems if it exists
|
|
1713
|
-
|
|
1714
|
-
_non_defaults = {
|
|
1715
|
-
'__get__', '__set__', '__delete__', '__reversed__', '__missing__',
|
|
1716
|
-
'__reduce__', '__reduce_ex__', '__getinitargs__', '__getnewargs__',
|
|
1717
|
-
'__getstate__', '__setstate__', '__getformat__', '__setformat__',
|
|
1718
|
-
'__repr__', '__dir__', '__subclasses__', '__format__',
|
|
1719
|
-
'__getnewargs_ex__',
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
def _get_method(name, func):
|
|
1724
|
-
"Turns a callable object (like a mock) into a real function"
|
|
1725
|
-
def method(self, *args, **kw):
|
|
1726
|
-
return func(self, *args, **kw)
|
|
1727
|
-
method.__name__ = name
|
|
1728
|
-
return method
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
_magics = {
|
|
1732
|
-
'__%s__' % method for method in
|
|
1733
|
-
' '.join([magic_methods, numerics, inplace, right]).split()
|
|
1734
|
-
}
|
|
1735
|
-
|
|
1736
|
-
_all_magics = _magics | _non_defaults
|
|
1737
|
-
|
|
1738
|
-
_unsupported_magics = {
|
|
1739
|
-
'__getattr__', '__setattr__',
|
|
1740
|
-
'__init__', '__new__', '__prepare__'
|
|
1741
|
-
'__instancecheck__', '__subclasscheck__',
|
|
1742
|
-
'__del__'
|
|
1743
|
-
}
|
|
1744
|
-
|
|
1745
|
-
_calculate_return_value = {
|
|
1746
|
-
'__hash__': lambda self: object.__hash__(self),
|
|
1747
|
-
'__str__': lambda self: object.__str__(self),
|
|
1748
|
-
'__sizeof__': lambda self: object.__sizeof__(self),
|
|
1749
|
-
}
|
|
1750
|
-
|
|
1751
|
-
_return_values = {
|
|
1752
|
-
'__lt__': NotImplemented,
|
|
1753
|
-
'__gt__': NotImplemented,
|
|
1754
|
-
'__le__': NotImplemented,
|
|
1755
|
-
'__ge__': NotImplemented,
|
|
1756
|
-
'__int__': 1,
|
|
1757
|
-
'__contains__': False,
|
|
1758
|
-
'__len__': 0,
|
|
1759
|
-
'__exit__': False,
|
|
1760
|
-
'__complex__': 1j,
|
|
1761
|
-
'__float__': 1.0,
|
|
1762
|
-
'__bool__': True,
|
|
1763
|
-
'__index__': 1,
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
def _get_eq(self):
|
|
1768
|
-
def __eq__(other):
|
|
1769
|
-
ret_val = self.__eq__._mock_return_value
|
|
1770
|
-
if ret_val is not DEFAULT:
|
|
1771
|
-
return ret_val
|
|
1772
|
-
if self is other:
|
|
1773
|
-
return True
|
|
1774
|
-
return NotImplemented
|
|
1775
|
-
return __eq__
|
|
1776
|
-
|
|
1777
|
-
def _get_ne(self):
|
|
1778
|
-
def __ne__(other):
|
|
1779
|
-
if self.__ne__._mock_return_value is not DEFAULT:
|
|
1780
|
-
return DEFAULT
|
|
1781
|
-
if self is other:
|
|
1782
|
-
return False
|
|
1783
|
-
return NotImplemented
|
|
1784
|
-
return __ne__
|
|
1785
|
-
|
|
1786
|
-
def _get_iter(self):
|
|
1787
|
-
def __iter__():
|
|
1788
|
-
ret_val = self.__iter__._mock_return_value
|
|
1789
|
-
if ret_val is DEFAULT:
|
|
1790
|
-
return iter([])
|
|
1791
|
-
# if ret_val was already an iterator, then calling iter on it should
|
|
1792
|
-
# return the iterator unchanged
|
|
1793
|
-
return iter(ret_val)
|
|
1794
|
-
return __iter__
|
|
1795
|
-
|
|
1796
|
-
_side_effect_methods = {
|
|
1797
|
-
'__eq__': _get_eq,
|
|
1798
|
-
'__ne__': _get_ne,
|
|
1799
|
-
'__iter__': _get_iter,
|
|
1800
|
-
}
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
def _set_return_value(mock, method, name):
|
|
1805
|
-
fixed = _return_values.get(name, DEFAULT)
|
|
1806
|
-
if fixed is not DEFAULT:
|
|
1807
|
-
method.return_value = fixed
|
|
1808
|
-
return
|
|
1809
|
-
|
|
1810
|
-
return_calulator = _calculate_return_value.get(name)
|
|
1811
|
-
if return_calulator is not None:
|
|
1812
|
-
try:
|
|
1813
|
-
return_value = return_calulator(mock)
|
|
1814
|
-
except AttributeError:
|
|
1815
|
-
# XXXX why do we return AttributeError here?
|
|
1816
|
-
# set it as a side_effect instead?
|
|
1817
|
-
return_value = AttributeError(name)
|
|
1818
|
-
method.return_value = return_value
|
|
1819
|
-
return
|
|
1820
|
-
|
|
1821
|
-
side_effector = _side_effect_methods.get(name)
|
|
1822
|
-
if side_effector is not None:
|
|
1823
|
-
method.side_effect = side_effector(mock)
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
class MagicMixin(object):
|
|
1828
|
-
def __init__(self, *args, **kw):
|
|
1829
|
-
self._mock_set_magics() # make magic work for kwargs in init
|
|
1830
|
-
_safe_super(MagicMixin, self).__init__(*args, **kw)
|
|
1831
|
-
self._mock_set_magics() # fix magic broken by upper level init
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
def _mock_set_magics(self):
|
|
1835
|
-
these_magics = _magics
|
|
1836
|
-
|
|
1837
|
-
if getattr(self, "_mock_methods", None) is not None:
|
|
1838
|
-
these_magics = _magics.intersection(self._mock_methods)
|
|
1839
|
-
|
|
1840
|
-
remove_magics = set()
|
|
1841
|
-
remove_magics = _magics - these_magics
|
|
1842
|
-
|
|
1843
|
-
for entry in remove_magics:
|
|
1844
|
-
if entry in type(self).__dict__:
|
|
1845
|
-
# remove unneeded magic methods
|
|
1846
|
-
delattr(self, entry)
|
|
1847
|
-
|
|
1848
|
-
# don't overwrite existing attributes if called a second time
|
|
1849
|
-
these_magics = these_magics - set(type(self).__dict__)
|
|
1850
|
-
|
|
1851
|
-
_type = type(self)
|
|
1852
|
-
for entry in these_magics:
|
|
1853
|
-
setattr(_type, entry, MagicProxy(entry, self))
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
class NonCallableMagicMock(MagicMixin, NonCallableMock):
|
|
1858
|
-
"""A version of `MagicMock` that isn't callable."""
|
|
1859
|
-
def mock_add_spec(self, spec, spec_set=False):
|
|
1860
|
-
"""Add a spec to a mock. `spec` can either be an object or a
|
|
1861
|
-
list of strings. Only attributes on the `spec` can be fetched as
|
|
1862
|
-
attributes from the mock.
|
|
1863
|
-
|
|
1864
|
-
If `spec_set` is True then only attributes on the spec can be set."""
|
|
1865
|
-
self._mock_add_spec(spec, spec_set)
|
|
1866
|
-
self._mock_set_magics()
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
class MagicMock(MagicMixin, Mock):
|
|
1871
|
-
"""
|
|
1872
|
-
MagicMock is a subclass of Mock with default implementations
|
|
1873
|
-
of most of the magic methods. You can use MagicMock without having to
|
|
1874
|
-
configure the magic methods yourself.
|
|
1875
|
-
|
|
1876
|
-
If you use the `spec` or `spec_set` arguments then *only* magic
|
|
1877
|
-
methods that exist in the spec will be created.
|
|
1878
|
-
|
|
1879
|
-
Attributes and the return value of a `MagicMock` will also be `MagicMocks`.
|
|
1880
|
-
"""
|
|
1881
|
-
def mock_add_spec(self, spec, spec_set=False):
|
|
1882
|
-
"""Add a spec to a mock. `spec` can either be an object or a
|
|
1883
|
-
list of strings. Only attributes on the `spec` can be fetched as
|
|
1884
|
-
attributes from the mock.
|
|
1885
|
-
|
|
1886
|
-
If `spec_set` is True then only attributes on the spec can be set."""
|
|
1887
|
-
self._mock_add_spec(spec, spec_set)
|
|
1888
|
-
self._mock_set_magics()
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
class MagicProxy(object):
|
|
1893
|
-
def __init__(self, name, parent):
|
|
1894
|
-
self.name = name
|
|
1895
|
-
self.parent = parent
|
|
1896
|
-
|
|
1897
|
-
def __call__(self, *args, **kwargs):
|
|
1898
|
-
m = self.create_mock()
|
|
1899
|
-
return m(*args, **kwargs)
|
|
1900
|
-
|
|
1901
|
-
def create_mock(self):
|
|
1902
|
-
entry = self.name
|
|
1903
|
-
parent = self.parent
|
|
1904
|
-
m = parent._get_child_mock(name=entry, _new_name=entry,
|
|
1905
|
-
_new_parent=parent)
|
|
1906
|
-
setattr(parent, entry, m)
|
|
1907
|
-
_set_return_value(parent, m, entry)
|
|
1908
|
-
return m
|
|
1909
|
-
|
|
1910
|
-
def __get__(self, obj, _type=None):
|
|
1911
|
-
return self.create_mock()
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
class _ANY(object):
|
|
1916
|
-
"A helper object that compares equal to everything."
|
|
1917
|
-
|
|
1918
|
-
def __eq__(self, other):
|
|
1919
|
-
return True
|
|
1920
|
-
|
|
1921
|
-
def __ne__(self, other):
|
|
1922
|
-
return False
|
|
1923
|
-
|
|
1924
|
-
def __repr__(self):
|
|
1925
|
-
return '<ANY>'
|
|
1926
|
-
|
|
1927
|
-
ANY = _ANY()
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
def _format_call_signature(name, args, kwargs):
|
|
1932
|
-
message = '%s(%%s)' % name
|
|
1933
|
-
formatted_args = ''
|
|
1934
|
-
args_string = ', '.join([repr(arg) for arg in args])
|
|
1935
|
-
kwargs_string = ', '.join([
|
|
1936
|
-
'%s=%r' % (key, value) for key, value in sorted(kwargs.items())
|
|
1937
|
-
])
|
|
1938
|
-
if args_string:
|
|
1939
|
-
formatted_args = args_string
|
|
1940
|
-
if kwargs_string:
|
|
1941
|
-
if formatted_args:
|
|
1942
|
-
formatted_args += ', '
|
|
1943
|
-
formatted_args += kwargs_string
|
|
1944
|
-
|
|
1945
|
-
return message % formatted_args
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
class _Call(tuple):
|
|
1950
|
-
"""
|
|
1951
|
-
A tuple for holding the results of a call to a mock, either in the form
|
|
1952
|
-
`(args, kwargs)` or `(name, args, kwargs)`.
|
|
1953
|
-
|
|
1954
|
-
If args or kwargs are empty then a call tuple will compare equal to
|
|
1955
|
-
a tuple without those values. This makes comparisons less verbose::
|
|
1956
|
-
|
|
1957
|
-
_Call(('name', (), {})) == ('name',)
|
|
1958
|
-
_Call(('name', (1,), {})) == ('name', (1,))
|
|
1959
|
-
_Call(((), {'a': 'b'})) == ({'a': 'b'},)
|
|
1960
|
-
|
|
1961
|
-
The `_Call` object provides a useful shortcut for comparing with call::
|
|
1962
|
-
|
|
1963
|
-
_Call(((1, 2), {'a': 3})) == call(1, 2, a=3)
|
|
1964
|
-
_Call(('foo', (1, 2), {'a': 3})) == call.foo(1, 2, a=3)
|
|
1965
|
-
|
|
1966
|
-
If the _Call has no name then it will match any name.
|
|
1967
|
-
"""
|
|
1968
|
-
def __new__(cls, value=(), name='', parent=None, two=False,
|
|
1969
|
-
from_kall=True):
|
|
1970
|
-
args = ()
|
|
1971
|
-
kwargs = {}
|
|
1972
|
-
_len = len(value)
|
|
1973
|
-
if _len == 3:
|
|
1974
|
-
name, args, kwargs = value
|
|
1975
|
-
elif _len == 2:
|
|
1976
|
-
first, second = value
|
|
1977
|
-
if isinstance(first, str):
|
|
1978
|
-
name = first
|
|
1979
|
-
if isinstance(second, tuple):
|
|
1980
|
-
args = second
|
|
1981
|
-
else:
|
|
1982
|
-
kwargs = second
|
|
1983
|
-
else:
|
|
1984
|
-
args, kwargs = first, second
|
|
1985
|
-
elif _len == 1:
|
|
1986
|
-
value, = value
|
|
1987
|
-
if isinstance(value, str):
|
|
1988
|
-
name = value
|
|
1989
|
-
elif isinstance(value, tuple):
|
|
1990
|
-
args = value
|
|
1991
|
-
else:
|
|
1992
|
-
kwargs = value
|
|
1993
|
-
|
|
1994
|
-
if two:
|
|
1995
|
-
return tuple.__new__(cls, (args, kwargs))
|
|
1996
|
-
|
|
1997
|
-
return tuple.__new__(cls, (name, args, kwargs))
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
def __init__(self, value=(), name=None, parent=None, two=False,
|
|
2001
|
-
from_kall=True):
|
|
2002
|
-
self.name = name
|
|
2003
|
-
self.parent = parent
|
|
2004
|
-
self.from_kall = from_kall
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
def __eq__(self, other):
|
|
2008
|
-
if other is ANY:
|
|
2009
|
-
return True
|
|
2010
|
-
try:
|
|
2011
|
-
len_other = len(other)
|
|
2012
|
-
except TypeError:
|
|
2013
|
-
return False
|
|
2014
|
-
|
|
2015
|
-
self_name = ''
|
|
2016
|
-
if len(self) == 2:
|
|
2017
|
-
self_args, self_kwargs = self
|
|
2018
|
-
else:
|
|
2019
|
-
self_name, self_args, self_kwargs = self
|
|
2020
|
-
|
|
2021
|
-
other_name = ''
|
|
2022
|
-
if len_other == 0:
|
|
2023
|
-
other_args, other_kwargs = (), {}
|
|
2024
|
-
elif len_other == 3:
|
|
2025
|
-
other_name, other_args, other_kwargs = other
|
|
2026
|
-
elif len_other == 1:
|
|
2027
|
-
value, = other
|
|
2028
|
-
if isinstance(value, tuple):
|
|
2029
|
-
other_args = value
|
|
2030
|
-
other_kwargs = {}
|
|
2031
|
-
elif isinstance(value, str):
|
|
2032
|
-
other_name = value
|
|
2033
|
-
other_args, other_kwargs = (), {}
|
|
2034
|
-
else:
|
|
2035
|
-
other_args = ()
|
|
2036
|
-
other_kwargs = value
|
|
2037
|
-
elif len_other == 2:
|
|
2038
|
-
# could be (name, args) or (name, kwargs) or (args, kwargs)
|
|
2039
|
-
first, second = other
|
|
2040
|
-
if isinstance(first, str):
|
|
2041
|
-
other_name = first
|
|
2042
|
-
if isinstance(second, tuple):
|
|
2043
|
-
other_args, other_kwargs = second, {}
|
|
2044
|
-
else:
|
|
2045
|
-
other_args, other_kwargs = (), second
|
|
2046
|
-
else:
|
|
2047
|
-
other_args, other_kwargs = first, second
|
|
2048
|
-
else:
|
|
2049
|
-
return False
|
|
2050
|
-
|
|
2051
|
-
if self_name and other_name != self_name:
|
|
2052
|
-
return False
|
|
2053
|
-
|
|
2054
|
-
# this order is important for ANY to work!
|
|
2055
|
-
return (other_args, other_kwargs) == (self_args, self_kwargs)
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
__ne__ = object.__ne__
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
def __call__(self, *args, **kwargs):
|
|
2062
|
-
if self.name is None:
|
|
2063
|
-
return _Call(('', args, kwargs), name='()')
|
|
2064
|
-
|
|
2065
|
-
name = self.name + '()'
|
|
2066
|
-
return _Call((self.name, args, kwargs), name=name, parent=self)
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
def __getattr__(self, attr):
|
|
2070
|
-
if self.name is None:
|
|
2071
|
-
return _Call(name=attr, from_kall=False)
|
|
2072
|
-
name = '%s.%s' % (self.name, attr)
|
|
2073
|
-
return _Call(name=name, parent=self, from_kall=False)
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
def count(self, *args, **kwargs):
|
|
2077
|
-
return self.__getattr__('count')(*args, **kwargs)
|
|
2078
|
-
|
|
2079
|
-
def index(self, *args, **kwargs):
|
|
2080
|
-
return self.__getattr__('index')(*args, **kwargs)
|
|
2081
|
-
|
|
2082
|
-
def __repr__(self):
|
|
2083
|
-
if not self.from_kall:
|
|
2084
|
-
name = self.name or 'call'
|
|
2085
|
-
if name.startswith('()'):
|
|
2086
|
-
name = 'call%s' % name
|
|
2087
|
-
return name
|
|
2088
|
-
|
|
2089
|
-
if len(self) == 2:
|
|
2090
|
-
name = 'call'
|
|
2091
|
-
args, kwargs = self
|
|
2092
|
-
else:
|
|
2093
|
-
name, args, kwargs = self
|
|
2094
|
-
if not name:
|
|
2095
|
-
name = 'call'
|
|
2096
|
-
elif not name.startswith('()'):
|
|
2097
|
-
name = 'call.%s' % name
|
|
2098
|
-
else:
|
|
2099
|
-
name = 'call%s' % name
|
|
2100
|
-
return _format_call_signature(name, args, kwargs)
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
def call_list(self):
|
|
2104
|
-
"""For a call object that represents multiple calls, `call_list`
|
|
2105
|
-
returns a list of all the intermediate calls as well as the
|
|
2106
|
-
final call."""
|
|
2107
|
-
vals = []
|
|
2108
|
-
thing = self
|
|
2109
|
-
while thing is not None:
|
|
2110
|
-
if thing.from_kall:
|
|
2111
|
-
vals.append(thing)
|
|
2112
|
-
thing = thing.parent
|
|
2113
|
-
return _CallList(reversed(vals))
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
call = _Call(from_kall=False)
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
def create_autospec(spec, spec_set=False, instance=False, _parent=None,
|
|
2121
|
-
_name=None, **kwargs):
|
|
2122
|
-
"""Create a mock object using another object as a spec. Attributes on the
|
|
2123
|
-
mock will use the corresponding attribute on the `spec` object as their
|
|
2124
|
-
spec.
|
|
2125
|
-
|
|
2126
|
-
Functions or methods being mocked will have their arguments checked
|
|
2127
|
-
to check that they are called with the correct signature.
|
|
2128
|
-
|
|
2129
|
-
If `spec_set` is True then attempting to set attributes that don't exist
|
|
2130
|
-
on the spec object will raise an `AttributeError`.
|
|
2131
|
-
|
|
2132
|
-
If a class is used as a spec then the return value of the mock (the
|
|
2133
|
-
instance of the class) will have the same spec. You can use a class as the
|
|
2134
|
-
spec for an instance object by passing `instance=True`. The returned mock
|
|
2135
|
-
will only be callable if instances of the mock are callable.
|
|
2136
|
-
|
|
2137
|
-
`create_autospec` also takes arbitrary keyword arguments that are passed to
|
|
2138
|
-
the constructor of the created mock."""
|
|
2139
|
-
if _is_list(spec):
|
|
2140
|
-
# can't pass a list instance to the mock constructor as it will be
|
|
2141
|
-
# interpreted as a list of strings
|
|
2142
|
-
spec = type(spec)
|
|
2143
|
-
|
|
2144
|
-
is_type = isinstance(spec, type)
|
|
2145
|
-
|
|
2146
|
-
_kwargs = {'spec': spec}
|
|
2147
|
-
if spec_set:
|
|
2148
|
-
_kwargs = {'spec_set': spec}
|
|
2149
|
-
elif spec is None:
|
|
2150
|
-
# None we mock with a normal mock without a spec
|
|
2151
|
-
_kwargs = {}
|
|
2152
|
-
if _kwargs and instance:
|
|
2153
|
-
_kwargs['_spec_as_instance'] = True
|
|
2154
|
-
|
|
2155
|
-
_kwargs.update(kwargs)
|
|
2156
|
-
|
|
2157
|
-
Klass = MagicMock
|
|
2158
|
-
if inspect.isdatadescriptor(spec):
|
|
2159
|
-
# descriptors don't have a spec
|
|
2160
|
-
# because we don't know what type they return
|
|
2161
|
-
_kwargs = {}
|
|
2162
|
-
elif not _callable(spec):
|
|
2163
|
-
Klass = NonCallableMagicMock
|
|
2164
|
-
elif is_type and instance and not _instance_callable(spec):
|
|
2165
|
-
Klass = NonCallableMagicMock
|
|
2166
|
-
|
|
2167
|
-
_name = _kwargs.pop('name', _name)
|
|
2168
|
-
|
|
2169
|
-
_new_name = _name
|
|
2170
|
-
if _parent is None:
|
|
2171
|
-
# for a top level object no _new_name should be set
|
|
2172
|
-
_new_name = ''
|
|
2173
|
-
|
|
2174
|
-
mock = Klass(parent=_parent, _new_parent=_parent, _new_name=_new_name,
|
|
2175
|
-
name=_name, **_kwargs)
|
|
2176
|
-
|
|
2177
|
-
if isinstance(spec, FunctionTypes):
|
|
2178
|
-
# should only happen at the top level because we don't
|
|
2179
|
-
# recurse for functions
|
|
2180
|
-
mock = _set_signature(mock, spec)
|
|
2181
|
-
else:
|
|
2182
|
-
_check_signature(spec, mock, is_type, instance)
|
|
2183
|
-
|
|
2184
|
-
if _parent is not None and not instance:
|
|
2185
|
-
_parent._mock_children[_name] = mock
|
|
2186
|
-
|
|
2187
|
-
if is_type and not instance and 'return_value' not in kwargs:
|
|
2188
|
-
mock.return_value = create_autospec(spec, spec_set, instance=True,
|
|
2189
|
-
_name='()', _parent=mock)
|
|
2190
|
-
|
|
2191
|
-
for entry in dir(spec):
|
|
2192
|
-
if _is_magic(entry):
|
|
2193
|
-
# MagicMock already does the useful magic methods for us
|
|
2194
|
-
continue
|
|
2195
|
-
|
|
2196
|
-
# XXXX do we need a better way of getting attributes without
|
|
2197
|
-
# triggering code execution (?) Probably not - we need the actual
|
|
2198
|
-
# object to mock it so we would rather trigger a property than mock
|
|
2199
|
-
# the property descriptor. Likewise we want to mock out dynamically
|
|
2200
|
-
# provided attributes.
|
|
2201
|
-
# XXXX what about attributes that raise exceptions other than
|
|
2202
|
-
# AttributeError on being fetched?
|
|
2203
|
-
# we could be resilient against it, or catch and propagate the
|
|
2204
|
-
# exception when the attribute is fetched from the mock
|
|
2205
|
-
try:
|
|
2206
|
-
original = getattr(spec, entry)
|
|
2207
|
-
except AttributeError:
|
|
2208
|
-
continue
|
|
2209
|
-
|
|
2210
|
-
kwargs = {'spec': original}
|
|
2211
|
-
if spec_set:
|
|
2212
|
-
kwargs = {'spec_set': original}
|
|
2213
|
-
|
|
2214
|
-
if not isinstance(original, FunctionTypes):
|
|
2215
|
-
new = _SpecState(original, spec_set, mock, entry, instance)
|
|
2216
|
-
mock._mock_children[entry] = new
|
|
2217
|
-
else:
|
|
2218
|
-
parent = mock
|
|
2219
|
-
if isinstance(spec, FunctionTypes):
|
|
2220
|
-
parent = mock.mock
|
|
2221
|
-
|
|
2222
|
-
skipfirst = _must_skip(spec, entry, is_type)
|
|
2223
|
-
kwargs['_eat_self'] = skipfirst
|
|
2224
|
-
new = MagicMock(parent=parent, name=entry, _new_name=entry,
|
|
2225
|
-
_new_parent=parent,
|
|
2226
|
-
**kwargs)
|
|
2227
|
-
mock._mock_children[entry] = new
|
|
2228
|
-
_check_signature(original, new, skipfirst=skipfirst)
|
|
2229
|
-
|
|
2230
|
-
# so functions created with _set_signature become instance attributes,
|
|
2231
|
-
# *plus* their underlying mock exists in _mock_children of the parent
|
|
2232
|
-
# mock. Adding to _mock_children may be unnecessary where we are also
|
|
2233
|
-
# setting as an instance attribute?
|
|
2234
|
-
if isinstance(new, FunctionTypes):
|
|
2235
|
-
setattr(mock, entry, new)
|
|
2236
|
-
|
|
2237
|
-
return mock
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
def _must_skip(spec, entry, is_type):
|
|
2241
|
-
"""
|
|
2242
|
-
Return whether we should skip the first argument on spec's `entry`
|
|
2243
|
-
attribute.
|
|
2244
|
-
"""
|
|
2245
|
-
if not isinstance(spec, type):
|
|
2246
|
-
if entry in getattr(spec, '__dict__', {}):
|
|
2247
|
-
# instance attribute - shouldn't skip
|
|
2248
|
-
return False
|
|
2249
|
-
spec = spec.__class__
|
|
2250
|
-
|
|
2251
|
-
for klass in spec.__mro__:
|
|
2252
|
-
result = klass.__dict__.get(entry, DEFAULT)
|
|
2253
|
-
if result is DEFAULT:
|
|
2254
|
-
continue
|
|
2255
|
-
if isinstance(result, (staticmethod, classmethod)):
|
|
2256
|
-
return False
|
|
2257
|
-
elif isinstance(getattr(result, '__get__', None), MethodWrapperTypes):
|
|
2258
|
-
# Normal method => skip if looked up on type
|
|
2259
|
-
# (if looked up on instance, self is already skipped)
|
|
2260
|
-
return is_type
|
|
2261
|
-
else:
|
|
2262
|
-
return False
|
|
2263
|
-
|
|
2264
|
-
# shouldn't get here unless function is a dynamically provided attribute
|
|
2265
|
-
# XXXX untested behaviour
|
|
2266
|
-
return is_type
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
def _get_class(obj):
|
|
2270
|
-
try:
|
|
2271
|
-
return obj.__class__
|
|
2272
|
-
except AttributeError:
|
|
2273
|
-
# it is possible for objects to have no __class__
|
|
2274
|
-
return type(obj)
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
class _SpecState(object):
|
|
2278
|
-
|
|
2279
|
-
def __init__(self, spec, spec_set=False, parent=None,
|
|
2280
|
-
name=None, ids=None, instance=False):
|
|
2281
|
-
self.spec = spec
|
|
2282
|
-
self.ids = ids
|
|
2283
|
-
self.spec_set = spec_set
|
|
2284
|
-
self.parent = parent
|
|
2285
|
-
self.instance = instance
|
|
2286
|
-
self.name = name
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
FunctionTypes = (
|
|
2290
|
-
# python function
|
|
2291
|
-
type(create_autospec),
|
|
2292
|
-
# instance method
|
|
2293
|
-
type(ANY.__eq__),
|
|
2294
|
-
)
|
|
2295
|
-
|
|
2296
|
-
MethodWrapperTypes = (
|
|
2297
|
-
type(ANY.__eq__.__get__),
|
|
2298
|
-
)
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
file_spec = None
|
|
2302
|
-
|
|
2303
|
-
def _iterate_read_data(read_data):
|
|
2304
|
-
# Helper for mock_open:
|
|
2305
|
-
# Retrieve lines from read_data via a generator so that separate calls to
|
|
2306
|
-
# readline, read, and readlines are properly interleaved
|
|
2307
|
-
sep = b'\n' if isinstance(read_data, bytes) else '\n'
|
|
2308
|
-
data_as_list = [l + sep for l in read_data.split(sep)]
|
|
2309
|
-
|
|
2310
|
-
if data_as_list[-1] == sep:
|
|
2311
|
-
# If the last line ended in a newline, the list comprehension will have an
|
|
2312
|
-
# extra entry that's just a newline. Remove this.
|
|
2313
|
-
data_as_list = data_as_list[:-1]
|
|
2314
|
-
else:
|
|
2315
|
-
# If there wasn't an extra newline by itself, then the file being
|
|
2316
|
-
# emulated doesn't have a newline to end the last line remove the
|
|
2317
|
-
# newline that our naive format() added
|
|
2318
|
-
data_as_list[-1] = data_as_list[-1][:-1]
|
|
2319
|
-
|
|
2320
|
-
for line in data_as_list:
|
|
2321
|
-
yield line
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
def mock_open(mock=None, read_data=''):
|
|
2325
|
-
"""
|
|
2326
|
-
A helper function to create a mock to replace the use of `open`. It works
|
|
2327
|
-
for `open` called directly or used as a context manager.
|
|
2328
|
-
|
|
2329
|
-
The `mock` argument is the mock object to configure. If `None` (the
|
|
2330
|
-
default) then a `MagicMock` will be created for you, with the API limited
|
|
2331
|
-
to methods or attributes available on standard file handles.
|
|
2332
|
-
|
|
2333
|
-
`read_data` is a string for the `read` methoddline`, and `readlines` of the
|
|
2334
|
-
file handle to return. This is an empty string by default.
|
|
2335
|
-
"""
|
|
2336
|
-
def _readlines_side_effect(*args, **kwargs):
|
|
2337
|
-
if handle.readlines.return_value is not None:
|
|
2338
|
-
return handle.readlines.return_value
|
|
2339
|
-
return list(_state[0])
|
|
2340
|
-
|
|
2341
|
-
def _read_side_effect(*args, **kwargs):
|
|
2342
|
-
if handle.read.return_value is not None:
|
|
2343
|
-
return handle.read.return_value
|
|
2344
|
-
return type(read_data)().join(_state[0])
|
|
2345
|
-
|
|
2346
|
-
def _readline_side_effect():
|
|
2347
|
-
if handle.readline.return_value is not None:
|
|
2348
|
-
while True:
|
|
2349
|
-
yield handle.readline.return_value
|
|
2350
|
-
for line in _state[0]:
|
|
2351
|
-
yield line
|
|
2352
|
-
while True:
|
|
2353
|
-
yield type(read_data)()
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
global file_spec
|
|
2357
|
-
if file_spec is None:
|
|
2358
|
-
import _io
|
|
2359
|
-
file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
|
|
2360
|
-
|
|
2361
|
-
if mock is None:
|
|
2362
|
-
mock = MagicMock(name='open', spec=open)
|
|
2363
|
-
|
|
2364
|
-
handle = MagicMock(spec=file_spec)
|
|
2365
|
-
handle.__enter__.return_value = handle
|
|
2366
|
-
|
|
2367
|
-
_state = [_iterate_read_data(read_data), None]
|
|
2368
|
-
|
|
2369
|
-
handle.write.return_value = None
|
|
2370
|
-
handle.read.return_value = None
|
|
2371
|
-
handle.readline.return_value = None
|
|
2372
|
-
handle.readlines.return_value = None
|
|
2373
|
-
|
|
2374
|
-
handle.read.side_effect = _read_side_effect
|
|
2375
|
-
_state[1] = _readline_side_effect()
|
|
2376
|
-
handle.readline.side_effect = _state[1]
|
|
2377
|
-
handle.readlines.side_effect = _readlines_side_effect
|
|
2378
|
-
|
|
2379
|
-
def reset_data(*args, **kwargs):
|
|
2380
|
-
_state[0] = _iterate_read_data(read_data)
|
|
2381
|
-
if handle.readline.side_effect == _state[1]:
|
|
2382
|
-
# Only reset the side effect if the user hasn't overridden it.
|
|
2383
|
-
_state[1] = _readline_side_effect()
|
|
2384
|
-
handle.readline.side_effect = _state[1]
|
|
2385
|
-
return DEFAULT
|
|
2386
|
-
|
|
2387
|
-
mock.side_effect = reset_data
|
|
2388
|
-
mock.return_value = handle
|
|
2389
|
-
return mock
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
class PropertyMock(Mock):
|
|
2393
|
-
"""
|
|
2394
|
-
A mock intended to be used as a property, or other descriptor, on a class.
|
|
2395
|
-
`PropertyMock` provides `__get__` and `__set__` methods so you can specify
|
|
2396
|
-
a return value when it is fetched.
|
|
2397
|
-
|
|
2398
|
-
Fetching a `PropertyMock` instance from an object calls the mock, with
|
|
2399
|
-
no args. Setting it calls the mock with the value being set.
|
|
2400
|
-
"""
|
|
2401
|
-
def _get_child_mock(self, **kwargs):
|
|
2402
|
-
return MagicMock(**kwargs)
|
|
2403
|
-
|
|
2404
|
-
def __get__(self, obj, obj_type):
|
|
2405
|
-
return self()
|
|
2406
|
-
def __set__(self, obj, val):
|
|
2407
|
-
self(val)
|