com.googler.python 1.1.4 → 1.1.5
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 +1 -1
- package/python3.6.2/lib/libcrypto.so.1.0.0 +0 -0
- package/python3.6.2/lib/libformw.so.5 +0 -0
- package/python3.6.2/lib/libformw.so.5.9 +0 -0
- package/python3.6.2/lib/libhistory.so.6 +0 -0
- package/python3.6.2/lib/libhistory.so.6.3 +0 -0
- package/python3.6.2/lib/libmenuw.so.5 +0 -0
- package/python3.6.2/lib/libmenuw.so.5.9 +0 -0
- package/python3.6.2/lib/libncursesw.so.5 +0 -0
- package/python3.6.2/lib/libncursesw.so.5.9 +0 -0
- package/python3.6.2/lib/libpanelw.so.5 +0 -0
- package/python3.6.2/lib/libpanelw.so.5.9 +0 -0
- package/python3.6.2/lib/libpython3.6m.so.1.0 +0 -0
- package/python3.6.2/lib/libpython3.so +0 -0
- package/python3.6.2/lib/libreadline.so.6 +0 -0
- package/python3.6.2/lib/libreadline.so.6.3 +0 -0
- package/python3.6.2/lib/libssl.so.1.0.0 +0 -0
- package/python3.6.2/lib/libtinfow.so.5 +0 -0
- package/python3.6.2/lib/libtinfow.so.5.9 +0 -0
- package/python3.6.2/lib/python3.6/__future__.py +140 -0
- package/python3.6.2/lib/python3.6/__phello__.foo.py +1 -0
- package/python3.6.2/lib/python3.6/_bootlocale.py +34 -0
- package/python3.6.2/lib/python3.6/_collections_abc.py +1008 -0
- package/python3.6.2/lib/python3.6/_compat_pickle.py +251 -0
- package/python3.6.2/lib/python3.6/_compression.py +152 -0
- package/python3.6.2/lib/python3.6/_dummy_thread.py +163 -0
- package/python3.6.2/lib/python3.6/_markupbase.py +395 -0
- package/python3.6.2/lib/python3.6/_osx_support.py +502 -0
- package/python3.6.2/lib/python3.6/_pydecimal.py +6449 -0
- package/python3.6.2/lib/python3.6/_pyio.py +2531 -0
- package/python3.6.2/lib/python3.6/_sitebuiltins.py +103 -0
- package/python3.6.2/lib/python3.6/_strptime.py +576 -0
- package/python3.6.2/lib/python3.6/_threading_local.py +246 -0
- package/python3.6.2/lib/python3.6/_weakrefset.py +196 -0
- package/python3.6.2/lib/python3.6/abc.py +248 -0
- package/python3.6.2/lib/python3.6/aifc.py +943 -0
- package/python3.6.2/lib/python3.6/antigravity.py +17 -0
- package/python3.6.2/lib/python3.6/argparse.py +2389 -0
- package/python3.6.2/lib/python3.6/ast.py +322 -0
- package/python3.6.2/lib/python3.6/asynchat.py +307 -0
- package/python3.6.2/lib/python3.6/asyncio/__init__.py +50 -0
- package/python3.6.2/lib/python3.6/asyncio/base_events.py +1474 -0
- package/python3.6.2/lib/python3.6/asyncio/base_futures.py +71 -0
- package/python3.6.2/lib/python3.6/asyncio/base_subprocess.py +293 -0
- package/python3.6.2/lib/python3.6/asyncio/base_tasks.py +76 -0
- package/python3.6.2/lib/python3.6/asyncio/compat.py +18 -0
- package/python3.6.2/lib/python3.6/asyncio/constants.py +12 -0
- package/python3.6.2/lib/python3.6/asyncio/coroutines.py +346 -0
- package/python3.6.2/lib/python3.6/asyncio/events.py +715 -0
- package/python3.6.2/lib/python3.6/asyncio/futures.py +439 -0
- package/python3.6.2/lib/python3.6/asyncio/locks.py +485 -0
- package/python3.6.2/lib/python3.6/asyncio/log.py +7 -0
- package/python3.6.2/lib/python3.6/asyncio/proactor_events.py +551 -0
- package/python3.6.2/lib/python3.6/asyncio/protocols.py +134 -0
- package/python3.6.2/lib/python3.6/asyncio/queues.py +259 -0
- package/python3.6.2/lib/python3.6/asyncio/selector_events.py +1141 -0
- package/python3.6.2/lib/python3.6/asyncio/sslproto.py +697 -0
- package/python3.6.2/lib/python3.6/asyncio/streams.py +701 -0
- package/python3.6.2/lib/python3.6/asyncio/subprocess.py +226 -0
- package/python3.6.2/lib/python3.6/asyncio/tasks.py +717 -0
- package/python3.6.2/lib/python3.6/asyncio/test_utils.py +519 -0
- package/python3.6.2/lib/python3.6/asyncio/transports.py +306 -0
- package/python3.6.2/lib/python3.6/asyncio/unix_events.py +1074 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_events.py +779 -0
- package/python3.6.2/lib/python3.6/asyncio/windows_utils.py +224 -0
- package/python3.6.2/lib/python3.6/asyncore.py +645 -0
- package/python3.6.2/lib/python3.6/base64.py +602 -0
- package/python3.6.2/lib/python3.6/bdb.py +673 -0
- package/python3.6.2/lib/python3.6/binhex.py +479 -0
- package/python3.6.2/lib/python3.6/bisect.py +92 -0
- package/python3.6.2/lib/python3.6/bz2.py +361 -0
- package/python3.6.2/lib/python3.6/cProfile.py +160 -0
- package/python3.6.2/lib/python3.6/calendar.py +713 -0
- package/python3.6.2/lib/python3.6/cgi.py +1077 -0
- package/python3.6.2/lib/python3.6/cgitb.py +319 -0
- package/python3.6.2/lib/python3.6/chunk.py +169 -0
- package/python3.6.2/lib/python3.6/cmd.py +401 -0
- package/python3.6.2/lib/python3.6/code.py +314 -0
- package/python3.6.2/lib/python3.6/codecs.py +1113 -0
- package/python3.6.2/lib/python3.6/codeop.py +168 -0
- package/python3.6.2/lib/python3.6/collections/__init__.py +1244 -0
- package/python3.6.2/lib/python3.6/collections/abc.py +2 -0
- package/python3.6.2/lib/python3.6/colorsys.py +164 -0
- package/python3.6.2/lib/python3.6/compileall.py +295 -0
- package/python3.6.2/lib/python3.6/concurrent/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/__init__.py +18 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/_base.py +612 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/process.py +515 -0
- package/python3.6.2/lib/python3.6/concurrent/futures/thread.py +153 -0
- package/python3.6.2/lib/python3.6/configparser.py +1342 -0
- package/python3.6.2/lib/python3.6/contextlib.py +384 -0
- package/python3.6.2/lib/python3.6/copy.py +313 -0
- package/python3.6.2/lib/python3.6/copyreg.py +206 -0
- package/python3.6.2/lib/python3.6/crypt.py +61 -0
- package/python3.6.2/lib/python3.6/csv.py +449 -0
- package/python3.6.2/lib/python3.6/ctypes/__init__.py +538 -0
- package/python3.6.2/lib/python3.6/ctypes/_endian.py +61 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/__init__.py +9 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dyld.py +159 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/dylib.py +63 -0
- package/python3.6.2/lib/python3.6/ctypes/macholib/framework.py +65 -0
- package/python3.6.2/lib/python3.6/ctypes/test/__init__.py +14 -0
- package/python3.6.2/lib/python3.6/ctypes/test/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_anon.py +73 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_array_in_pointer.py +64 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_arrays.py +185 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_as_parameter.py +226 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_bitfields.py +290 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_buffers.py +64 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_bytes.py +65 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_byteswap.py +315 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_callbacks.py +293 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_cast.py +86 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_cfuncs.py +212 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_checkretval.py +36 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_delattr.py +21 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_errno.py +79 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_find.py +116 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_frombuffer.py +141 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_funcptr.py +132 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_functions.py +402 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_incomplete.py +42 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_init.py +40 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_internals.py +100 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_keeprefs.py +153 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_libc.py +33 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_loading.py +116 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_macholib.py +63 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_memfunctions.py +79 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_numbers.py +290 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_objects.py +67 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_parameters.py +207 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_pep3118.py +233 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_pickling.py +81 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_pointers.py +223 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_prototypes.py +222 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_python_api.py +89 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_random_things.py +74 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_refcounts.py +101 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_repr.py +29 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_returnfuncptrs.py +66 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_simplesubclasses.py +55 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_sizes.py +33 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_slicing.py +167 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_stringptr.py +77 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_strings.py +225 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_struct_fields.py +74 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_structures.py +491 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_unaligned_structures.py +45 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_unicode.py +56 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_values.py +100 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_varsize_struct.py +50 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_win32.py +147 -0
- package/python3.6.2/lib/python3.6/ctypes/test/test_wintypes.py +41 -0
- package/python3.6.2/lib/python3.6/ctypes/util.py +337 -0
- package/python3.6.2/lib/python3.6/ctypes/wintypes.py +202 -0
- package/python3.6.2/lib/python3.6/curses/__init__.py +101 -0
- package/python3.6.2/lib/python3.6/curses/ascii.py +99 -0
- package/python3.6.2/lib/python3.6/curses/has_key.py +192 -0
- package/python3.6.2/lib/python3.6/curses/panel.py +6 -0
- package/python3.6.2/lib/python3.6/curses/textpad.py +201 -0
- package/python3.6.2/lib/python3.6/datetime.py +2280 -0
- package/python3.6.2/lib/python3.6/dbm/__init__.py +188 -0
- package/python3.6.2/lib/python3.6/dbm/dumb.py +324 -0
- package/python3.6.2/lib/python3.6/dbm/gnu.py +3 -0
- package/python3.6.2/lib/python3.6/dbm/ndbm.py +3 -0
- package/python3.6.2/lib/python3.6/decimal.py +11 -0
- package/python3.6.2/lib/python3.6/difflib.py +2093 -0
- package/python3.6.2/lib/python3.6/dis.py +490 -0
- package/python3.6.2/lib/python3.6/distutils/__init__.py +13 -0
- package/python3.6.2/lib/python3.6/distutils/_msvccompiler.py +574 -0
- package/python3.6.2/lib/python3.6/distutils/archive_util.py +248 -0
- package/python3.6.2/lib/python3.6/distutils/bcppcompiler.py +393 -0
- package/python3.6.2/lib/python3.6/distutils/ccompiler.py +1115 -0
- package/python3.6.2/lib/python3.6/distutils/cmd.py +434 -0
- package/python3.6.2/lib/python3.6/distutils/command/__init__.py +31 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist.py +143 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_dumb.py +123 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_msi.py +741 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_rpm.py +582 -0
- package/python3.6.2/lib/python3.6/distutils/command/bdist_wininst.py +365 -0
- package/python3.6.2/lib/python3.6/distutils/command/build.py +157 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_clib.py +209 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_ext.py +755 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_py.py +416 -0
- package/python3.6.2/lib/python3.6/distutils/command/build_scripts.py +160 -0
- package/python3.6.2/lib/python3.6/distutils/command/check.py +145 -0
- package/python3.6.2/lib/python3.6/distutils/command/clean.py +76 -0
- package/python3.6.2/lib/python3.6/distutils/command/config.py +347 -0
- package/python3.6.2/lib/python3.6/distutils/command/install.py +656 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_data.py +79 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_egg_info.py +77 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_headers.py +47 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_lib.py +217 -0
- package/python3.6.2/lib/python3.6/distutils/command/install_scripts.py +60 -0
- package/python3.6.2/lib/python3.6/distutils/command/register.py +304 -0
- package/python3.6.2/lib/python3.6/distutils/command/sdist.py +456 -0
- package/python3.6.2/lib/python3.6/distutils/command/upload.py +201 -0
- 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 +131 -0
- package/python3.6.2/lib/python3.6/distutils/core.py +234 -0
- package/python3.6.2/lib/python3.6/distutils/cygwinccompiler.py +405 -0
- package/python3.6.2/lib/python3.6/distutils/debug.py +5 -0
- package/python3.6.2/lib/python3.6/distutils/dep_util.py +92 -0
- package/python3.6.2/lib/python3.6/distutils/dir_util.py +210 -0
- package/python3.6.2/lib/python3.6/distutils/dist.py +1236 -0
- package/python3.6.2/lib/python3.6/distutils/errors.py +97 -0
- package/python3.6.2/lib/python3.6/distutils/extension.py +240 -0
- package/python3.6.2/lib/python3.6/distutils/fancy_getopt.py +457 -0
- package/python3.6.2/lib/python3.6/distutils/file_util.py +238 -0
- package/python3.6.2/lib/python3.6/distutils/filelist.py +327 -0
- package/python3.6.2/lib/python3.6/distutils/log.py +75 -0
- package/python3.6.2/lib/python3.6/distutils/msvc9compiler.py +791 -0
- package/python3.6.2/lib/python3.6/distutils/msvccompiler.py +643 -0
- package/python3.6.2/lib/python3.6/distutils/spawn.py +192 -0
- package/python3.6.2/lib/python3.6/distutils/sysconfig.py +532 -0
- package/python3.6.2/lib/python3.6/distutils/tests/Setup.sample +67 -0
- package/python3.6.2/lib/python3.6/distutils/tests/__init__.py +36 -0
- package/python3.6.2/lib/python3.6/distutils/tests/support.py +210 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_archive_util.py +395 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist.py +50 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_dumb.py +97 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_msi.py +25 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_rpm.py +135 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_bdist_wininst.py +31 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build.py +56 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_clib.py +135 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_ext.py +521 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_py.py +179 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_build_scripts.py +112 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_check.py +149 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_clean.py +49 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_cmd.py +126 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_config.py +140 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_config_cmd.py +92 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_core.py +140 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_cygwinccompiler.py +154 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_dep_util.py +80 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_dir_util.py +139 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_dist.py +456 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_extension.py +69 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_file_util.py +114 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_filelist.py +340 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install.py +248 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_data.py +75 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_headers.py +39 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_lib.py +115 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_install_scripts.py +82 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_log.py +38 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvc9compiler.py +184 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_msvccompiler.py +132 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_register.py +323 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_sdist.py +484 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_spawn.py +58 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_sysconfig.py +198 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_text_file.py +107 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_unixccompiler.py +149 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_upload.py +181 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_util.py +300 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_version.py +71 -0
- package/python3.6.2/lib/python3.6/distutils/tests/test_versionpredicate.py +13 -0
- package/python3.6.2/lib/python3.6/distutils/text_file.py +286 -0
- package/python3.6.2/lib/python3.6/distutils/unixccompiler.py +322 -0
- package/python3.6.2/lib/python3.6/distutils/util.py +557 -0
- package/python3.6.2/lib/python3.6/distutils/version.py +343 -0
- package/python3.6.2/lib/python3.6/distutils/versionpredicate.py +166 -0
- package/python3.6.2/lib/python3.6/doctest.py +2787 -0
- package/python3.6.2/lib/python3.6/dummy_threading.py +78 -0
- package/python3.6.2/lib/python3.6/email/__init__.py +62 -0
- package/python3.6.2/lib/python3.6/email/_encoded_words.py +221 -0
- package/python3.6.2/lib/python3.6/email/_header_value_parser.py +2811 -0
- package/python3.6.2/lib/python3.6/email/_parseaddr.py +540 -0
- package/python3.6.2/lib/python3.6/email/_policybase.py +374 -0
- package/python3.6.2/lib/python3.6/email/base64mime.py +119 -0
- package/python3.6.2/lib/python3.6/email/charset.py +406 -0
- package/python3.6.2/lib/python3.6/email/contentmanager.py +250 -0
- package/python3.6.2/lib/python3.6/email/encoders.py +69 -0
- package/python3.6.2/lib/python3.6/email/errors.py +107 -0
- package/python3.6.2/lib/python3.6/email/feedparser.py +536 -0
- package/python3.6.2/lib/python3.6/email/generator.py +508 -0
- package/python3.6.2/lib/python3.6/email/header.py +578 -0
- package/python3.6.2/lib/python3.6/email/headerregistry.py +589 -0
- package/python3.6.2/lib/python3.6/email/iterators.py +71 -0
- package/python3.6.2/lib/python3.6/email/message.py +1164 -0
- package/python3.6.2/lib/python3.6/email/mime/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/email/mime/application.py +37 -0
- package/python3.6.2/lib/python3.6/email/mime/audio.py +74 -0
- package/python3.6.2/lib/python3.6/email/mime/base.py +30 -0
- package/python3.6.2/lib/python3.6/email/mime/image.py +47 -0
- package/python3.6.2/lib/python3.6/email/mime/message.py +34 -0
- package/python3.6.2/lib/python3.6/email/mime/multipart.py +48 -0
- package/python3.6.2/lib/python3.6/email/mime/nonmultipart.py +22 -0
- package/python3.6.2/lib/python3.6/email/mime/text.py +42 -0
- package/python3.6.2/lib/python3.6/email/parser.py +132 -0
- package/python3.6.2/lib/python3.6/email/policy.py +223 -0
- package/python3.6.2/lib/python3.6/email/quoprimime.py +299 -0
- package/python3.6.2/lib/python3.6/email/utils.py +388 -0
- package/python3.6.2/lib/python3.6/encodings/__init__.py +169 -0
- package/python3.6.2/lib/python3.6/encodings/aliases.py +550 -0
- package/python3.6.2/lib/python3.6/encodings/ascii.py +50 -0
- package/python3.6.2/lib/python3.6/encodings/base64_codec.py +55 -0
- package/python3.6.2/lib/python3.6/encodings/big5.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/big5hkscs.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/bz2_codec.py +78 -0
- package/python3.6.2/lib/python3.6/encodings/charmap.py +69 -0
- package/python3.6.2/lib/python3.6/encodings/cp037.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1006.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1026.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1125.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp1140.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1250.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1251.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1252.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1253.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1254.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1255.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1256.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1257.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp1258.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp273.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp424.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp437.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp500.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp65001.py +43 -0
- package/python3.6.2/lib/python3.6/encodings/cp720.py +309 -0
- package/python3.6.2/lib/python3.6/encodings/cp737.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp775.py +697 -0
- package/python3.6.2/lib/python3.6/encodings/cp850.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp852.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp855.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp856.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp857.py +694 -0
- package/python3.6.2/lib/python3.6/encodings/cp858.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp860.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp861.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp862.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp863.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp864.py +690 -0
- package/python3.6.2/lib/python3.6/encodings/cp865.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp866.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/cp869.py +689 -0
- package/python3.6.2/lib/python3.6/encodings/cp874.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp875.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/cp932.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/cp949.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/cp950.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jis_2004.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jisx0213.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_jp.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/euc_kr.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/gb18030.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/gb2312.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/gbk.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/hex_codec.py +55 -0
- package/python3.6.2/lib/python3.6/encodings/hp_roman8.py +314 -0
- package/python3.6.2/lib/python3.6/encodings/hz.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/idna.py +309 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_1.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_2004.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_3.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_jp_ext.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso2022_kr.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_1.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_10.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_11.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_13.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_14.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_15.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_16.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_2.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_3.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_4.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_5.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_6.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_7.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_8.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/iso8859_9.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/johab.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_r.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_t.py +308 -0
- package/python3.6.2/lib/python3.6/encodings/koi8_u.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/kz1048.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/latin_1.py +50 -0
- package/python3.6.2/lib/python3.6/encodings/mac_arabic.py +698 -0
- package/python3.6.2/lib/python3.6/encodings/mac_centeuro.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_croatian.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_cyrillic.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_farsi.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_greek.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_iceland.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_latin2.py +312 -0
- package/python3.6.2/lib/python3.6/encodings/mac_roman.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_romanian.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mac_turkish.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/mbcs.py +47 -0
- package/python3.6.2/lib/python3.6/encodings/oem.py +41 -0
- package/python3.6.2/lib/python3.6/encodings/palmos.py +308 -0
- package/python3.6.2/lib/python3.6/encodings/ptcp154.py +312 -0
- package/python3.6.2/lib/python3.6/encodings/punycode.py +237 -0
- package/python3.6.2/lib/python3.6/encodings/quopri_codec.py +56 -0
- package/python3.6.2/lib/python3.6/encodings/raw_unicode_escape.py +45 -0
- package/python3.6.2/lib/python3.6/encodings/rot_13.py +113 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jis_2004.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/shift_jisx0213.py +39 -0
- package/python3.6.2/lib/python3.6/encodings/tis_620.py +307 -0
- package/python3.6.2/lib/python3.6/encodings/undefined.py +49 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_escape.py +45 -0
- package/python3.6.2/lib/python3.6/encodings/unicode_internal.py +45 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16.py +155 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_be.py +42 -0
- package/python3.6.2/lib/python3.6/encodings/utf_16_le.py +42 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32.py +150 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_be.py +37 -0
- package/python3.6.2/lib/python3.6/encodings/utf_32_le.py +37 -0
- package/python3.6.2/lib/python3.6/encodings/utf_7.py +38 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8.py +42 -0
- package/python3.6.2/lib/python3.6/encodings/utf_8_sig.py +130 -0
- package/python3.6.2/lib/python3.6/encodings/uu_codec.py +99 -0
- package/python3.6.2/lib/python3.6/encodings/zlib_codec.py +77 -0
- package/python3.6.2/lib/python3.6/ensurepip/__init__.py +205 -0
- package/python3.6.2/lib/python3.6/ensurepip/__main__.py +5 -0
- package/python3.6.2/lib/python3.6/ensurepip/_uninstall.py +31 -0
- package/python3.6.2/lib/python3.6/enum.py +875 -0
- package/python3.6.2/lib/python3.6/filecmp.py +305 -0
- package/python3.6.2/lib/python3.6/fileinput.py +425 -0
- package/python3.6.2/lib/python3.6/fnmatch.py +109 -0
- package/python3.6.2/lib/python3.6/formatter.py +452 -0
- package/python3.6.2/lib/python3.6/fractions.py +643 -0
- package/python3.6.2/lib/python3.6/ftplib.py +989 -0
- package/python3.6.2/lib/python3.6/functools.py +811 -0
- package/python3.6.2/lib/python3.6/genericpath.py +151 -0
- package/python3.6.2/lib/python3.6/getopt.py +215 -0
- package/python3.6.2/lib/python3.6/getpass.py +185 -0
- package/python3.6.2/lib/python3.6/gettext.py +637 -0
- package/python3.6.2/lib/python3.6/glob.py +171 -0
- package/python3.6.2/lib/python3.6/gzip.py +574 -0
- package/python3.6.2/lib/python3.6/hashlib.py +251 -0
- package/python3.6.2/lib/python3.6/heapq.py +607 -0
- package/python3.6.2/lib/python3.6/hmac.py +144 -0
- package/python3.6.2/lib/python3.6/html/__init__.py +132 -0
- package/python3.6.2/lib/python3.6/html/entities.py +2509 -0
- package/python3.6.2/lib/python3.6/html/parser.py +470 -0
- package/python3.6.2/lib/python3.6/http/__init__.py +134 -0
- package/python3.6.2/lib/python3.6/http/client.py +1478 -0
- package/python3.6.2/lib/python3.6/http/cookiejar.py +2098 -0
- package/python3.6.2/lib/python3.6/http/cookies.py +635 -0
- package/python3.6.2/lib/python3.6/http/server.py +1211 -0
- package/python3.6.2/lib/python3.6/idlelib/CREDITS.txt +37 -0
- package/python3.6.2/lib/python3.6/idlelib/ChangeLog +1591 -0
- package/python3.6.2/lib/python3.6/idlelib/HISTORY.txt +296 -0
- 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 +749 -0
- package/python3.6.2/lib/python3.6/idlelib/NEWS2x.txt +660 -0
- package/python3.6.2/lib/python3.6/idlelib/README.txt +251 -0
- package/python3.6.2/lib/python3.6/idlelib/TODO.txt +210 -0
- package/python3.6.2/lib/python3.6/idlelib/__init__.py +10 -0
- package/python3.6.2/lib/python3.6/idlelib/__main__.py +8 -0
- package/python3.6.2/lib/python3.6/idlelib/_pyclbr.py +402 -0
- package/python3.6.2/lib/python3.6/idlelib/autocomplete.py +232 -0
- package/python3.6.2/lib/python3.6/idlelib/autocomplete_w.py +460 -0
- package/python3.6.2/lib/python3.6/idlelib/autoexpand.py +96 -0
- package/python3.6.2/lib/python3.6/idlelib/browser.py +248 -0
- package/python3.6.2/lib/python3.6/idlelib/calltip_w.py +164 -0
- package/python3.6.2/lib/python3.6/idlelib/calltips.py +178 -0
- package/python3.6.2/lib/python3.6/idlelib/codecontext.py +185 -0
- package/python3.6.2/lib/python3.6/idlelib/colorizer.py +289 -0
- package/python3.6.2/lib/python3.6/idlelib/config-extensions.def +65 -0
- package/python3.6.2/lib/python3.6/idlelib/config-highlight.def +93 -0
- package/python3.6.2/lib/python3.6/idlelib/config-keys.def +304 -0
- package/python3.6.2/lib/python3.6/idlelib/config-main.def +88 -0
- package/python3.6.2/lib/python3.6/idlelib/config.py +929 -0
- package/python3.6.2/lib/python3.6/idlelib/config_key.py +298 -0
- package/python3.6.2/lib/python3.6/idlelib/configdialog.py +2254 -0
- package/python3.6.2/lib/python3.6/idlelib/debugger.py +544 -0
- package/python3.6.2/lib/python3.6/idlelib/debugger_r.py +388 -0
- package/python3.6.2/lib/python3.6/idlelib/debugobj.py +139 -0
- package/python3.6.2/lib/python3.6/idlelib/debugobj_r.py +36 -0
- package/python3.6.2/lib/python3.6/idlelib/delegator.py +33 -0
- package/python3.6.2/lib/python3.6/idlelib/dynoption.py +58 -0
- package/python3.6.2/lib/python3.6/idlelib/editor.py +1688 -0
- package/python3.6.2/lib/python3.6/idlelib/extend.txt +83 -0
- package/python3.6.2/lib/python3.6/idlelib/filelist.py +132 -0
- package/python3.6.2/lib/python3.6/idlelib/grep.py +200 -0
- package/python3.6.2/lib/python3.6/idlelib/help.html +791 -0
- package/python3.6.2/lib/python3.6/idlelib/help.py +275 -0
- package/python3.6.2/lib/python3.6/idlelib/help_about.py +205 -0
- package/python3.6.2/lib/python3.6/idlelib/history.py +106 -0
- package/python3.6.2/lib/python3.6/idlelib/hyperparser.py +312 -0
- package/python3.6.2/lib/python3.6/idlelib/idle.bat +4 -0
- package/python3.6.2/lib/python3.6/idlelib/idle.py +14 -0
- package/python3.6.2/lib/python3.6/idlelib/idle.pyw +17 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/README.txt +226 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/__init__.py +17 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/htest.py +421 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_idle.py +60 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/mock_tk.py +303 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autocomplete.py +149 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_autoexpand.py +143 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_browser.py +253 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_calltips.py +203 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_colorizer.py +56 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config.py +824 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_config_key.py +102 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_configdialog.py +1415 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_debugger.py +29 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_delegator.py +40 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editmenu.py +74 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_editor.py +14 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_grep.py +80 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help.py +34 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_help_about.py +177 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_history.py +168 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_hyperparser.py +274 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_iomenu.py +234 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_macosx.py +106 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_outwin.py +172 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_paragraph.py +376 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_parenmatch.py +112 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_pathbrowser.py +88 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_percolator.py +118 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_query.py +354 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_redirector.py +124 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_replace.py +293 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_rstrip.py +49 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_run.py +35 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_scrolledlist.py +29 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_search.py +82 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchbase.py +156 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_searchengine.py +329 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_text.py +236 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_textview.py +179 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_tree.py +35 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_undo.py +135 -0
- package/python3.6.2/lib/python3.6/idlelib/idle_test/test_warning.py +73 -0
- package/python3.6.2/lib/python3.6/idlelib/iomenu.py +574 -0
- package/python3.6.2/lib/python3.6/idlelib/macosx.py +252 -0
- package/python3.6.2/lib/python3.6/idlelib/mainmenu.py +108 -0
- package/python3.6.2/lib/python3.6/idlelib/multicall.py +445 -0
- package/python3.6.2/lib/python3.6/idlelib/outwin.py +188 -0
- package/python3.6.2/lib/python3.6/idlelib/paragraph.py +195 -0
- package/python3.6.2/lib/python3.6/idlelib/parenmatch.py +183 -0
- package/python3.6.2/lib/python3.6/idlelib/pathbrowser.py +111 -0
- package/python3.6.2/lib/python3.6/idlelib/percolator.py +104 -0
- package/python3.6.2/lib/python3.6/idlelib/pyparse.py +617 -0
- package/python3.6.2/lib/python3.6/idlelib/pyshell.py +1542 -0
- package/python3.6.2/lib/python3.6/idlelib/query.py +308 -0
- package/python3.6.2/lib/python3.6/idlelib/redirector.py +175 -0
- package/python3.6.2/lib/python3.6/idlelib/replace.py +243 -0
- package/python3.6.2/lib/python3.6/idlelib/rpc.py +627 -0
- package/python3.6.2/lib/python3.6/idlelib/rstrip.py +29 -0
- package/python3.6.2/lib/python3.6/idlelib/run.py +525 -0
- package/python3.6.2/lib/python3.6/idlelib/runscript.py +195 -0
- package/python3.6.2/lib/python3.6/idlelib/scrolledlist.py +147 -0
- package/python3.6.2/lib/python3.6/idlelib/search.py +102 -0
- package/python3.6.2/lib/python3.6/idlelib/searchbase.py +200 -0
- package/python3.6.2/lib/python3.6/idlelib/searchengine.py +236 -0
- package/python3.6.2/lib/python3.6/idlelib/stackviewer.py +152 -0
- package/python3.6.2/lib/python3.6/idlelib/statusbar.py +46 -0
- package/python3.6.2/lib/python3.6/idlelib/textview.py +136 -0
- package/python3.6.2/lib/python3.6/idlelib/tooltip.py +96 -0
- package/python3.6.2/lib/python3.6/idlelib/tree.py +467 -0
- package/python3.6.2/lib/python3.6/idlelib/undo.py +366 -0
- package/python3.6.2/lib/python3.6/idlelib/windows.py +92 -0
- package/python3.6.2/lib/python3.6/idlelib/zoomheight.py +48 -0
- package/python3.6.2/lib/python3.6/idlelib/zzdummy.py +42 -0
- package/python3.6.2/lib/python3.6/imaplib.py +1609 -0
- package/python3.6.2/lib/python3.6/imghdr.py +168 -0
- package/python3.6.2/lib/python3.6/imp.py +346 -0
- package/python3.6.2/lib/python3.6/importlib/__init__.py +173 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap.py +1161 -0
- package/python3.6.2/lib/python3.6/importlib/_bootstrap_external.py +1443 -0
- package/python3.6.2/lib/python3.6/importlib/abc.py +329 -0
- package/python3.6.2/lib/python3.6/importlib/machinery.py +21 -0
- package/python3.6.2/lib/python3.6/importlib/util.py +288 -0
- package/python3.6.2/lib/python3.6/inspect.py +3098 -0
- package/python3.6.2/lib/python3.6/io.py +99 -0
- package/python3.6.2/lib/python3.6/ipaddress.py +2299 -0
- package/python3.6.2/lib/python3.6/json/__init__.py +367 -0
- package/python3.6.2/lib/python3.6/json/decoder.py +358 -0
- package/python3.6.2/lib/python3.6/json/encoder.py +441 -0
- package/python3.6.2/lib/python3.6/json/scanner.py +73 -0
- package/python3.6.2/lib/python3.6/json/tool.py +50 -0
- package/python3.6.2/lib/python3.6/keyword.py +94 -0
- 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 +743 -0
- 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 +1 -0
- package/python3.6.2/lib/python3.6/lib2to3/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_matcher.py +168 -0
- package/python3.6.2/lib/python3.6/lib2to3/btm_utils.py +281 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_base.py +186 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixer_util.py +453 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_apply.py +70 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_asserts.py +34 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_basestring.py +14 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_buffer.py +22 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_dict.py +106 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_except.py +93 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exec.py +39 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_execfile.py +52 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_exitfunc.py +72 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_filter.py +90 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_funcattrs.py +21 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_future.py +22 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_getcwdu.py +19 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_has_key.py +109 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_idioms.py +152 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_import.py +99 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports.py +145 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_imports2.py +16 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_input.py +26 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_intern.py +41 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_isinstance.py +52 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools.py +43 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_itertools_imports.py +57 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_long.py +19 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_map.py +110 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_metaclass.py +228 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_methodattrs.py +24 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ne.py +23 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_next.py +103 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_nonzero.py +21 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_numliterals.py +28 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_operator.py +98 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_paren.py +44 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_print.py +87 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raise.py +90 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_raw_input.py +17 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reduce.py +35 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_reload.py +38 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_renames.py +70 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_repr.py +23 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_set_literal.py +53 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_standarderror.py +18 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_sys_exc.py +30 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_throw.py +56 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_tuple_params.py +175 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_types.py +61 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_unicode.py +42 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_urllib.py +196 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_ws_comma.py +39 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xrange.py +73 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_xreadlines.py +25 -0
- package/python3.6.2/lib/python3.6/lib2to3/fixes/fix_zip.py +46 -0
- package/python3.6.2/lib/python3.6/lib2to3/main.py +268 -0
- package/python3.6.2/lib/python3.6/lib2to3/patcomp.py +205 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/__init__.py +4 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/conv.py +257 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/driver.py +160 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/grammar.py +207 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/literals.py +60 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/parse.py +201 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/pgen.py +386 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/token.py +85 -0
- package/python3.6.2/lib/python3.6/lib2to3/pgen2/tokenize.py +590 -0
- package/python3.6.2/lib/python3.6/lib2to3/pygram.py +40 -0
- package/python3.6.2/lib/python3.6/lib2to3/pytree.py +854 -0
- package/python3.6.2/lib/python3.6/lib2to3/refactor.py +744 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/__init__.py +9 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/README +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/bom.py +2 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/crlf.py +3 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/different_encoding.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/false_encoding.py +2 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/bad_order.py +5 -0
- 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 +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/fixers/parrot_example.py +2 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/infinite_recursion.py +2669 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py2_test_grammar.py +974 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/data/py3_test_grammar.py +945 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/pytree_idempotency.py +94 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/support.py +52 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_all_fixers.py +27 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_fixers.py +4640 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_main.py +139 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_parser.py +472 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_pytree.py +472 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_refactor.py +316 -0
- package/python3.6.2/lib/python3.6/lib2to3/tests/test_util.py +591 -0
- package/python3.6.2/lib/python3.6/linecache.py +177 -0
- package/python3.6.2/lib/python3.6/locale.py +1684 -0
- package/python3.6.2/lib/python3.6/logging/__init__.py +2019 -0
- package/python3.6.2/lib/python3.6/logging/config.py +933 -0
- package/python3.6.2/lib/python3.6/logging/handlers.py +1505 -0
- package/python3.6.2/lib/python3.6/lzma.py +347 -0
- package/python3.6.2/lib/python3.6/macpath.py +211 -0
- package/python3.6.2/lib/python3.6/macurl2path.py +77 -0
- package/python3.6.2/lib/python3.6/mailbox.py +2146 -0
- package/python3.6.2/lib/python3.6/mailcap.py +275 -0
- package/python3.6.2/lib/python3.6/mimetypes.py +598 -0
- package/python3.6.2/lib/python3.6/modulefinder.py +633 -0
- package/python3.6.2/lib/python3.6/msilib/__init__.py +483 -0
- package/python3.6.2/lib/python3.6/msilib/schema.py +1007 -0
- package/python3.6.2/lib/python3.6/msilib/sequence.py +126 -0
- package/python3.6.2/lib/python3.6/msilib/text.py +129 -0
- package/python3.6.2/lib/python3.6/multiprocessing/__init__.py +38 -0
- package/python3.6.2/lib/python3.6/multiprocessing/connection.py +953 -0
- package/python3.6.2/lib/python3.6/multiprocessing/context.py +357 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/__init__.py +119 -0
- package/python3.6.2/lib/python3.6/multiprocessing/dummy/connection.py +73 -0
- package/python3.6.2/lib/python3.6/multiprocessing/forkserver.py +266 -0
- package/python3.6.2/lib/python3.6/multiprocessing/heap.py +254 -0
- package/python3.6.2/lib/python3.6/multiprocessing/managers.py +1160 -0
- package/python3.6.2/lib/python3.6/multiprocessing/pool.py +803 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_fork.py +86 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_forkserver.py +68 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_posix.py +68 -0
- package/python3.6.2/lib/python3.6/multiprocessing/popen_spawn_win32.py +98 -0
- package/python3.6.2/lib/python3.6/multiprocessing/process.py +336 -0
- package/python3.6.2/lib/python3.6/multiprocessing/queues.py +347 -0
- package/python3.6.2/lib/python3.6/multiprocessing/reduction.py +274 -0
- package/python3.6.2/lib/python3.6/multiprocessing/resource_sharer.py +158 -0
- package/python3.6.2/lib/python3.6/multiprocessing/semaphore_tracker.py +157 -0
- package/python3.6.2/lib/python3.6/multiprocessing/sharedctypes.py +239 -0
- package/python3.6.2/lib/python3.6/multiprocessing/spawn.py +286 -0
- package/python3.6.2/lib/python3.6/multiprocessing/synchronize.py +406 -0
- package/python3.6.2/lib/python3.6/multiprocessing/util.py +406 -0
- package/python3.6.2/lib/python3.6/netrc.py +142 -0
- package/python3.6.2/lib/python3.6/nntplib.py +1147 -0
- package/python3.6.2/lib/python3.6/ntpath.py +692 -0
- package/python3.6.2/lib/python3.6/nturl2path.py +68 -0
- package/python3.6.2/lib/python3.6/numbers.py +389 -0
- package/python3.6.2/lib/python3.6/opcode.py +215 -0
- package/python3.6.2/lib/python3.6/operator.py +464 -0
- package/python3.6.2/lib/python3.6/optparse.py +1681 -0
- package/python3.6.2/lib/python3.6/os.py +1069 -0
- package/python3.6.2/lib/python3.6/pathlib.py +1434 -0
- package/python3.6.2/lib/python3.6/pdb.py +1694 -0
- package/python3.6.2/lib/python3.6/pickle.py +1605 -0
- package/python3.6.2/lib/python3.6/pickletools.py +2840 -0
- package/python3.6.2/lib/python3.6/pipes.py +247 -0
- package/python3.6.2/lib/python3.6/pkgutil.py +634 -0
- package/python3.6.2/lib/python3.6/platform.py +1400 -0
- package/python3.6.2/lib/python3.6/plistlib.py +1043 -0
- package/python3.6.2/lib/python3.6/poplib.py +478 -0
- package/python3.6.2/lib/python3.6/posixpath.py +520 -0
- package/python3.6.2/lib/python3.6/pprint.py +597 -0
- package/python3.6.2/lib/python3.6/profile.py +589 -0
- package/python3.6.2/lib/python3.6/pstats.py +697 -0
- package/python3.6.2/lib/python3.6/pty.py +170 -0
- package/python3.6.2/lib/python3.6/py_compile.py +186 -0
- package/python3.6.2/lib/python3.6/pyclbr.py +352 -0
- package/python3.6.2/lib/python3.6/pydoc.py +2663 -0
- package/python3.6.2/lib/python3.6/pydoc_data/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/pydoc_data/topics.py +12951 -0
- package/python3.6.2/lib/python3.6/queue.py +246 -0
- package/python3.6.2/lib/python3.6/quopri.py +242 -0
- package/python3.6.2/lib/python3.6/random.py +768 -0
- package/python3.6.2/lib/python3.6/re.py +381 -0
- package/python3.6.2/lib/python3.6/reprlib.py +164 -0
- package/python3.6.2/lib/python3.6/rlcompleter.py +205 -0
- package/python3.6.2/lib/python3.6/runpy.py +294 -0
- package/python3.6.2/lib/python3.6/sched.py +170 -0
- package/python3.6.2/lib/python3.6/secrets.py +73 -0
- package/python3.6.2/lib/python3.6/selectors.py +611 -0
- package/python3.6.2/lib/python3.6/shelve.py +243 -0
- package/python3.6.2/lib/python3.6/shlex.py +335 -0
- package/python3.6.2/lib/python3.6/shutil.py +1153 -0
- package/python3.6.2/lib/python3.6/signal.py +79 -0
- package/python3.6.2/lib/python3.6/site.py +598 -0
- package/python3.6.2/lib/python3.6/smtpd.py +965 -0
- package/python3.6.2/lib/python3.6/smtplib.py +1115 -0
- package/python3.6.2/lib/python3.6/sndhdr.py +257 -0
- package/python3.6.2/lib/python3.6/socket.py +750 -0
- package/python3.6.2/lib/python3.6/socketserver.py +793 -0
- package/python3.6.2/lib/python3.6/sqlite3/__init__.py +23 -0
- package/python3.6.2/lib/python3.6/sqlite3/dbapi2.py +89 -0
- package/python3.6.2/lib/python3.6/sqlite3/dump.py +70 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/dbapi.py +938 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/dump.py +81 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/factory.py +293 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/hooks.py +264 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/regression.py +410 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/transactions.py +214 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/types.py +421 -0
- package/python3.6.2/lib/python3.6/sqlite3/test/userfunctions.py +473 -0
- package/python3.6.2/lib/python3.6/sre_compile.py +580 -0
- package/python3.6.2/lib/python3.6/sre_constants.py +233 -0
- package/python3.6.2/lib/python3.6/sre_parse.py +973 -0
- package/python3.6.2/lib/python3.6/ssl.py +1228 -0
- package/python3.6.2/lib/python3.6/stat.py +178 -0
- package/python3.6.2/lib/python3.6/statistics.py +670 -0
- package/python3.6.2/lib/python3.6/string.py +309 -0
- package/python3.6.2/lib/python3.6/stringprep.py +272 -0
- package/python3.6.2/lib/python3.6/struct.py +15 -0
- package/python3.6.2/lib/python3.6/subprocess.py +1590 -0
- package/python3.6.2/lib/python3.6/sunau.py +525 -0
- package/python3.6.2/lib/python3.6/symbol.py +115 -0
- package/python3.6.2/lib/python3.6/symtable.py +238 -0
- package/python3.6.2/lib/python3.6/sysconfig.py +721 -0
- package/python3.6.2/lib/python3.6/tabnanny.py +332 -0
- package/python3.6.2/lib/python3.6/tarfile.py +2547 -0
- package/python3.6.2/lib/python3.6/telnetlib.py +675 -0
- package/python3.6.2/lib/python3.6/tempfile.py +811 -0
- package/python3.6.2/lib/python3.6/test/Sine-1000Hz-300ms.aif +0 -0
- package/python3.6.2/lib/python3.6/test/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/test/__main__.py +2 -0
- package/python3.6.2/lib/python3.6/test/_test_multiprocessing.py +4458 -0
- package/python3.6.2/lib/python3.6/test/allsans.pem +37 -0
- package/python3.6.2/lib/python3.6/test/ann_module.py +53 -0
- package/python3.6.2/lib/python3.6/test/ann_module2.py +36 -0
- package/python3.6.2/lib/python3.6/test/ann_module3.py +18 -0
- 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 +329 -0
- package/python3.6.2/lib/python3.6/test/autotest.py +5 -0
- package/python3.6.2/lib/python3.6/test/bad_coding.py +1 -0
- package/python3.6.2/lib/python3.6/test/bad_coding2.py +2 -0
- package/python3.6.2/lib/python3.6/test/badcert.pem +36 -0
- package/python3.6.2/lib/python3.6/test/badkey.pem +40 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_3131.py +2 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future10.py +3 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future3.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future4.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future5.py +12 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future6.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future7.py +11 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future8.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_future9.py +10 -0
- package/python3.6.2/lib/python3.6/test/badsyntax_pep3120.py +1 -0
- package/python3.6.2/lib/python3.6/test/bisect.py +167 -0
- package/python3.6.2/lib/python3.6/test/bytecode_helper.py +41 -0
- package/python3.6.2/lib/python3.6/test/capath/4e1295a3.0 +14 -0
- package/python3.6.2/lib/python3.6/test/capath/5ed36f99.0 +41 -0
- package/python3.6.2/lib/python3.6/test/capath/6e88d7b8.0 +14 -0
- package/python3.6.2/lib/python3.6/test/capath/99d0fa06.0 +41 -0
- package/python3.6.2/lib/python3.6/test/capath/b1930218.0 +21 -0
- package/python3.6.2/lib/python3.6/test/capath/ceff1710.0 +21 -0
- package/python3.6.2/lib/python3.6/test/cfgparser.1 +3 -0
- package/python3.6.2/lib/python3.6/test/cfgparser.2 +537 -0
- package/python3.6.2/lib/python3.6/test/cfgparser.3 +69 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5-utf8.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs-utf8.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/big5hkscs.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949-utf8.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/cp949.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jisx0213.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_jp.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/euc_kr.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030-utf8.txt +15 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb18030.txt +15 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312-utf8.txt +6 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gb2312.txt +6 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk-utf8.txt +14 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/gbk.txt +14 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz-utf8.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/hz.txt +2 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_jp.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/iso2022_kr.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab-utf8.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/johab.txt +9 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis-utf8.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jis.txt +7 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cjkencodings/shift_jisx0213.txt +8 -0
- package/python3.6.2/lib/python3.6/test/cmath_testcases.txt +2511 -0
- package/python3.6.2/lib/python3.6/test/coding20731.py +4 -0
- package/python3.6.2/lib/python3.6/test/crashers/README +20 -0
- package/python3.6.2/lib/python3.6/test/crashers/bogus_code_obj.py +19 -0
- package/python3.6.2/lib/python3.6/test/crashers/gc_inspection.py +32 -0
- package/python3.6.2/lib/python3.6/test/crashers/infinite_loop_re.py +16 -0
- package/python3.6.2/lib/python3.6/test/crashers/mutation_inside_cyclegc.py +31 -0
- package/python3.6.2/lib/python3.6/test/crashers/recursive_call.py +15 -0
- package/python3.6.2/lib/python3.6/test/crashers/trace_at_recursion_limit.py +27 -0
- package/python3.6.2/lib/python3.6/test/crashers/underlying_dict.py +20 -0
- package/python3.6.2/lib/python3.6/test/curses_tests.py +46 -0
- package/python3.6.2/lib/python3.6/test/data/README +2 -0
- package/python3.6.2/lib/python3.6/test/datetimetester.py +4929 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/abs.decTest +161 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/add.decTest +2716 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/and.decTest +338 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/base.decTest +1411 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/clamp.decTest +211 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/class.decTest +131 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/compare.decTest +758 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotal.decTest +798 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/comparetotmag.decTest +790 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copy.decTest +86 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copyabs.decTest +86 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copynegate.decTest +86 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/copysign.decTest +177 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAbs.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAdd.decTest +1328 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddAnd.decTest +347 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddBase.decTest +1104 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCanonical.decTest +357 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddClass.decTest +76 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompare.decTest +744 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareSig.decTest +647 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotal.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopy.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyAbs.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopyNegate.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddCopySign.decTest +175 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivide.decTest +863 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddDivideInt.decTest +449 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddEncode.decTest +495 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddFMA.decTest +1698 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddInvert.decTest +202 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddLogB.decTest +159 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMax.decTest +322 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMaxMag.decTest +304 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMin.decTest +309 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinMag.decTest +293 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMinus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddMultiply.decTest +553 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextMinus.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextPlus.decTest +124 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddNextToward.decTest +374 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddOr.decTest +292 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddPlus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddQuantize.decTest +833 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddReduce.decTest +182 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainder.decTest +600 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRemainderNear.decTest +629 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddRotate.decTest +262 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSameQuantum.decTest +389 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddScaleB.decTest +243 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddShift.decTest +262 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddSubtract.decTest +629 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddToIntegral.decTest +257 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ddXor.decTest +337 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decDouble.decTest +65 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decQuad.decTest +65 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/decSingle.decTest +25 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divide.decTest +854 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/divideint.decTest +486 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAbs.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAdd.decTest +1215 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqAnd.decTest +420 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqBase.decTest +1081 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCanonical.decTest +372 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqClass.decTest +77 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompare.decTest +753 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareSig.decTest +647 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotal.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopy.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyAbs.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopyNegate.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqCopySign.decTest +175 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivide.decTest +808 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqDivideInt.decTest +453 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqEncode.decTest +477 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqFMA.decTest +1786 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqInvert.decTest +245 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqLogB.decTest +160 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMax.decTest +322 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMaxMag.decTest +304 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMin.decTest +309 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinMag.decTest +293 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMinus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqMultiply.decTest +589 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextMinus.decTest +126 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextPlus.decTest +124 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqNextToward.decTest +375 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqOr.decTest +401 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqPlus.decTest +88 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqQuantize.decTest +836 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqReduce.decTest +183 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainder.decTest +597 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRemainderNear.decTest +631 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqRotate.decTest +298 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSameQuantum.decTest +389 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqScaleB.decTest +260 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqShift.decTest +298 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqSubtract.decTest +635 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqToIntegral.decTest +257 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dqXor.decTest +410 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsBase.decTest +1062 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/dsEncode.decTest +372 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/exp.decTest +674 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/extra.decTest +2830 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/fma.decTest +3426 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/inexact.decTest +215 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/invert.decTest +176 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/ln.decTest +611 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/log10.decTest +551 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/logb.decTest +188 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/max.decTest +424 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/maxmag.decTest +404 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/min.decTest +407 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minmag.decTest +390 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/minus.decTest +182 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/multiply.decTest +731 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextminus.decTest +148 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nextplus.decTest +150 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/nexttoward.decTest +426 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/or.decTest +334 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/plus.decTest +195 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/power.decTest +1624 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/powersqrt.decTest +2970 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/quantize.decTest +948 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randomBound32.decTest +2443 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/randoms.decTest +4030 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/reduce.decTest +234 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainder.decTest +640 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/remainderNear.decTest +572 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rescale.decTest +764 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rotate.decTest +247 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/rounding.decTest +1303 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/samequantum.decTest +389 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/scaleb.decTest +209 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/shift.decTest +250 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/squareroot.decTest +3834 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/subtract.decTest +873 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/testall.decTest +87 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegral.decTest +241 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/tointegralx.decTest +255 -0
- package/python3.6.2/lib/python3.6/test/decimaltestdata/xor.decTest +335 -0
- package/python3.6.2/lib/python3.6/test/dh1024.pem +7 -0
- package/python3.6.2/lib/python3.6/test/dis_module.py +5 -0
- package/python3.6.2/lib/python3.6/test/doctest_aliases.py +13 -0
- package/python3.6.2/lib/python3.6/test/double_const.py +30 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.d +5 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/assert_usable.stp +5 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d +31 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.d.expected +18 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.py +30 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp +41 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/call_stack.stp.expected +14 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d +18 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.d.expected +8 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.py +13 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp +26 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/gc.stp.expected +8 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/instance.py +24 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d +7 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/line.d.expected +20 -0
- package/python3.6.2/lib/python3.6/test/dtracedata/line.py +17 -0
- package/python3.6.2/lib/python3.6/test/eintrdata/eintr_tester.py +493 -0
- package/python3.6.2/lib/python3.6/test/empty.vbs +1 -0
- package/python3.6.2/lib/python3.6/test/encoded_modules/__init__.py +23 -0
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_iso_8859_1.py +5 -0
- package/python3.6.2/lib/python3.6/test/encoded_modules/module_koi8_r.py +3 -0
- package/python3.6.2/lib/python3.6/test/exception_hierarchy.txt +64 -0
- package/python3.6.2/lib/python3.6/test/final_a.py +19 -0
- package/python3.6.2/lib/python3.6/test/final_b.py +19 -0
- package/python3.6.2/lib/python3.6/test/floating_points.txt +1028 -0
- package/python3.6.2/lib/python3.6/test/fork_wait.py +91 -0
- package/python3.6.2/lib/python3.6/test/formatfloat_testcases.txt +355 -0
- package/python3.6.2/lib/python3.6/test/future_test1.py +11 -0
- package/python3.6.2/lib/python3.6/test/future_test2.py +10 -0
- package/python3.6.2/lib/python3.6/test/gdb_sample.py +12 -0
- package/python3.6.2/lib/python3.6/test/ieee754.txt +185 -0
- 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 +3 -0
- 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 +6 -0
- package/python3.6.2/lib/python3.6/test/imp_dummy.py +3 -0
- package/python3.6.2/lib/python3.6/test/inspect_fodder.py +76 -0
- package/python3.6.2/lib/python3.6/test/inspect_fodder2.py +139 -0
- package/python3.6.2/lib/python3.6/test/keycert.passwd.pem +33 -0
- package/python3.6.2/lib/python3.6/test/keycert.pem +31 -0
- package/python3.6.2/lib/python3.6/test/keycert2.pem +31 -0
- package/python3.6.2/lib/python3.6/test/keycert3.pem +73 -0
- package/python3.6.2/lib/python3.6/test/keycert4.pem +73 -0
- package/python3.6.2/lib/python3.6/test/leakers/README.txt +32 -0
- 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 +15 -0
- package/python3.6.2/lib/python3.6/test/leakers/test_selftype.py +13 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/cmdline.py +387 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/main.py +584 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/refleak.py +294 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest.py +254 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/runtest_mp.py +244 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/save_env.py +284 -0
- package/python3.6.2/lib/python3.6/test/libregrtest/setup.py +140 -0
- package/python3.6.2/lib/python3.6/test/list_tests.py +618 -0
- package/python3.6.2/lib/python3.6/test/lock_tests.py +936 -0
- package/python3.6.2/lib/python3.6/test/mailcap.txt +39 -0
- package/python3.6.2/lib/python3.6/test/make_ssl_certs.py +216 -0
- package/python3.6.2/lib/python3.6/test/mapping_tests.py +657 -0
- package/python3.6.2/lib/python3.6/test/math_testcases.txt +633 -0
- package/python3.6.2/lib/python3.6/test/memory_watchdog.py +28 -0
- package/python3.6.2/lib/python3.6/test/mime.types +1445 -0
- package/python3.6.2/lib/python3.6/test/mock_socket.py +159 -0
- package/python3.6.2/lib/python3.6/test/mod_generics_cache.py +53 -0
- package/python3.6.2/lib/python3.6/test/mp_fork_bomb.py +18 -0
- package/python3.6.2/lib/python3.6/test/mp_preload.py +18 -0
- package/python3.6.2/lib/python3.6/test/multibytecodec_support.py +384 -0
- package/python3.6.2/lib/python3.6/test/nokia.pem +31 -0
- package/python3.6.2/lib/python3.6/test/nullbytecert.pem +90 -0
- package/python3.6.2/lib/python3.6/test/nullcert.pem +0 -0
- package/python3.6.2/lib/python3.6/test/outstanding_bugs.py +18 -0
- package/python3.6.2/lib/python3.6/test/pickletester.py +2922 -0
- package/python3.6.2/lib/python3.6/test/profilee.py +115 -0
- package/python3.6.2/lib/python3.6/test/pstats.pck +0 -0
- package/python3.6.2/lib/python3.6/test/pycacert.pem +78 -0
- package/python3.6.2/lib/python3.6/test/pycakey.pem +28 -0
- package/python3.6.2/lib/python3.6/test/pyclbr_input.py +33 -0
- package/python3.6.2/lib/python3.6/test/pydoc_mod.py +37 -0
- package/python3.6.2/lib/python3.6/test/pydocfodder.py +216 -0
- package/python3.6.2/lib/python3.6/test/pystone.py +277 -0
- package/python3.6.2/lib/python3.6/test/pythoninfo.py +486 -0
- package/python3.6.2/lib/python3.6/test/randv2_32.pck +633 -0
- package/python3.6.2/lib/python3.6/test/randv2_64.pck +633 -0
- package/python3.6.2/lib/python3.6/test/randv3.pck +633 -0
- package/python3.6.2/lib/python3.6/test/re_tests.py +670 -0
- package/python3.6.2/lib/python3.6/test/regrtest.py +50 -0
- package/python3.6.2/lib/python3.6/test/relimport.py +1 -0
- package/python3.6.2/lib/python3.6/test/reperf.py +23 -0
- package/python3.6.2/lib/python3.6/test/revocation.crl +11 -0
- package/python3.6.2/lib/python3.6/test/sample_doctest.py +76 -0
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_docstrings.py +12 -0
- package/python3.6.2/lib/python3.6/test/sample_doctest_no_doctests.py +15 -0
- package/python3.6.2/lib/python3.6/test/selfsigned_pythontestdotnet.pem +16 -0
- package/python3.6.2/lib/python3.6/test/seq_tests.py +414 -0
- package/python3.6.2/lib/python3.6/test/sgml_input.html +212 -0
- package/python3.6.2/lib/python3.6/test/signalinterproctester.py +84 -0
- package/python3.6.2/lib/python3.6/test/sndhdrdata/README +5 -0
- 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 +169 -0
- package/python3.6.2/lib/python3.6/test/ssl_cert.pem +15 -0
- package/python3.6.2/lib/python3.6/test/ssl_key.passwd.pem +18 -0
- package/python3.6.2/lib/python3.6/test/ssl_key.pem +16 -0
- package/python3.6.2/lib/python3.6/test/ssl_servers.py +209 -0
- package/python3.6.2/lib/python3.6/test/ssltests.py +37 -0
- package/python3.6.2/lib/python3.6/test/string_tests.py +1383 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/fd_status.py +34 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/input_reader.py +7 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/qcat.py +7 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/qgrep.py +10 -0
- package/python3.6.2/lib/python3.6/test/subprocessdata/sigchild_ignore.py +15 -0
- package/python3.6.2/lib/python3.6/test/support/__init__.py +2706 -0
- package/python3.6.2/lib/python3.6/test/support/script_helper.py +259 -0
- package/python3.6.2/lib/python3.6/test/test___all__.py +109 -0
- package/python3.6.2/lib/python3.6/test/test___future__.py +61 -0
- package/python3.6.2/lib/python3.6/test/test__locale.py +193 -0
- package/python3.6.2/lib/python3.6/test/test__opcode.py +20 -0
- package/python3.6.2/lib/python3.6/test/test__osx_support.py +276 -0
- package/python3.6.2/lib/python3.6/test/test_abc.py +420 -0
- package/python3.6.2/lib/python3.6/test/test_abstract_numbers.py +44 -0
- package/python3.6.2/lib/python3.6/test/test_aifc.py +399 -0
- package/python3.6.2/lib/python3.6/test/test_argparse.py +5006 -0
- package/python3.6.2/lib/python3.6/test/test_array.py +1388 -0
- package/python3.6.2/lib/python3.6/test/test_asdl_parser.py +122 -0
- package/python3.6.2/lib/python3.6/test/test_ast.py +1170 -0
- package/python3.6.2/lib/python3.6/test/test_asyncgen.py +1044 -0
- package/python3.6.2/lib/python3.6/test/test_asynchat.py +308 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/__init__.py +10 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo.py +8 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo2.py +6 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/echo3.py +11 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/keycert3.pem +73 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/pycacert.pem +78 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_cert.pem +15 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/ssl_key.pem +16 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_base_events.py +1761 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_events.py +2791 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_futures.py +692 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_locks.py +943 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_pep492.py +232 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_proactor_events.py +593 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_queues.py +643 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_selector_events.py +1833 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_sslproto.py +134 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_streams.py +868 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_subprocess.py +532 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_tasks.py +2598 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_transports.py +91 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_unix_events.py +1621 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_events.py +164 -0
- package/python3.6.2/lib/python3.6/test/test_asyncio/test_windows_utils.py +182 -0
- package/python3.6.2/lib/python3.6/test/test_asyncore.py +847 -0
- package/python3.6.2/lib/python3.6/test/test_atexit.py +192 -0
- package/python3.6.2/lib/python3.6/test/test_audioop.py +565 -0
- package/python3.6.2/lib/python3.6/test/test_augassign.py +326 -0
- package/python3.6.2/lib/python3.6/test/test_base64.py +681 -0
- package/python3.6.2/lib/python3.6/test/test_baseexception.py +183 -0
- package/python3.6.2/lib/python3.6/test/test_bigaddrspace.py +101 -0
- package/python3.6.2/lib/python3.6/test/test_bigmem.py +1256 -0
- package/python3.6.2/lib/python3.6/test/test_binascii.py +373 -0
- package/python3.6.2/lib/python3.6/test/test_binhex.py +55 -0
- package/python3.6.2/lib/python3.6/test/test_binop.py +441 -0
- package/python3.6.2/lib/python3.6/test/test_bisect.py +328 -0
- package/python3.6.2/lib/python3.6/test/test_bool.py +368 -0
- package/python3.6.2/lib/python3.6/test/test_buffer.py +4396 -0
- package/python3.6.2/lib/python3.6/test/test_bufio.py +73 -0
- package/python3.6.2/lib/python3.6/test/test_builtin.py +1851 -0
- package/python3.6.2/lib/python3.6/test/test_bytes.py +1759 -0
- package/python3.6.2/lib/python3.6/test/test_bz2.py +1002 -0
- package/python3.6.2/lib/python3.6/test/test_calendar.py +848 -0
- package/python3.6.2/lib/python3.6/test/test_call.py +302 -0
- package/python3.6.2/lib/python3.6/test/test_capi.py +753 -0
- package/python3.6.2/lib/python3.6/test/test_cgi.py +539 -0
- package/python3.6.2/lib/python3.6/test/test_cgitb.py +67 -0
- package/python3.6.2/lib/python3.6/test/test_charmapcodec.py +53 -0
- package/python3.6.2/lib/python3.6/test/test_class.py +599 -0
- package/python3.6.2/lib/python3.6/test/test_cmath.py +643 -0
- package/python3.6.2/lib/python3.6/test/test_cmd.py +243 -0
- package/python3.6.2/lib/python3.6/test/test_cmd_line.py +494 -0
- package/python3.6.2/lib/python3.6/test/test_cmd_line_script.py +648 -0
- package/python3.6.2/lib/python3.6/test/test_code.py +367 -0
- package/python3.6.2/lib/python3.6/test/test_code_module.py +154 -0
- package/python3.6.2/lib/python3.6/test/test_codeccallbacks.py +1074 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_cn.py +96 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_hk.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_iso2022.py +41 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_jp.py +126 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_kr.py +69 -0
- package/python3.6.2/lib/python3.6/test/test_codecencodings_tw.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_cn.py +26 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_hk.py +15 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_jp.py +60 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_kr.py +37 -0
- package/python3.6.2/lib/python3.6/test/test_codecmaps_tw.py +27 -0
- package/python3.6.2/lib/python3.6/test/test_codecs.py +3272 -0
- package/python3.6.2/lib/python3.6/test/test_codeop.py +299 -0
- package/python3.6.2/lib/python3.6/test/test_collections.py +1926 -0
- package/python3.6.2/lib/python3.6/test/test_colorsys.py +100 -0
- package/python3.6.2/lib/python3.6/test/test_compare.py +124 -0
- package/python3.6.2/lib/python3.6/test/test_compile.py +720 -0
- package/python3.6.2/lib/python3.6/test/test_compileall.py +547 -0
- package/python3.6.2/lib/python3.6/test/test_complex.py +688 -0
- package/python3.6.2/lib/python3.6/test/test_concurrent_futures.py +836 -0
- package/python3.6.2/lib/python3.6/test/test_configparser.py +2096 -0
- package/python3.6.2/lib/python3.6/test/test_contains.py +114 -0
- package/python3.6.2/lib/python3.6/test/test_contextlib.py +990 -0
- package/python3.6.2/lib/python3.6/test/test_copy.py +888 -0
- package/python3.6.2/lib/python3.6/test/test_copyreg.py +126 -0
- package/python3.6.2/lib/python3.6/test/test_coroutines.py +2151 -0
- package/python3.6.2/lib/python3.6/test/test_cprofile.py +98 -0
- package/python3.6.2/lib/python3.6/test/test_crashers.py +37 -0
- package/python3.6.2/lib/python3.6/test/test_crypt.py +45 -0
- package/python3.6.2/lib/python3.6/test/test_csv.py +1175 -0
- package/python3.6.2/lib/python3.6/test/test_ctypes.py +9 -0
- package/python3.6.2/lib/python3.6/test/test_curses.py +549 -0
- package/python3.6.2/lib/python3.6/test/test_datetime.py +57 -0
- package/python3.6.2/lib/python3.6/test/test_dbm.py +192 -0
- package/python3.6.2/lib/python3.6/test/test_dbm_dumb.py +286 -0
- package/python3.6.2/lib/python3.6/test/test_dbm_gnu.py +97 -0
- package/python3.6.2/lib/python3.6/test/test_dbm_ndbm.py +52 -0
- package/python3.6.2/lib/python3.6/test/test_decimal.py +5707 -0
- package/python3.6.2/lib/python3.6/test/test_decorators.py +304 -0
- package/python3.6.2/lib/python3.6/test/test_defaultdict.py +187 -0
- package/python3.6.2/lib/python3.6/test/test_deque.py +1059 -0
- package/python3.6.2/lib/python3.6/test/test_descr.py +5452 -0
- package/python3.6.2/lib/python3.6/test/test_descrtut.py +486 -0
- package/python3.6.2/lib/python3.6/test/test_devpoll.py +145 -0
- package/python3.6.2/lib/python3.6/test/test_dict.py +1217 -0
- package/python3.6.2/lib/python3.6/test/test_dict_version.py +186 -0
- package/python3.6.2/lib/python3.6/test/test_dictcomps.py +86 -0
- package/python3.6.2/lib/python3.6/test/test_dictviews.py +272 -0
- package/python3.6.2/lib/python3.6/test/test_difflib.py +478 -0
- package/python3.6.2/lib/python3.6/test/test_difflib_expect.html +526 -0
- package/python3.6.2/lib/python3.6/test/test_dis.py +960 -0
- package/python3.6.2/lib/python3.6/test/test_distutils.py +18 -0
- package/python3.6.2/lib/python3.6/test/test_doctest.py +2962 -0
- package/python3.6.2/lib/python3.6/test/test_doctest.txt +17 -0
- package/python3.6.2/lib/python3.6/test/test_doctest2.py +123 -0
- package/python3.6.2/lib/python3.6/test/test_doctest2.txt +14 -0
- package/python3.6.2/lib/python3.6/test/test_doctest3.txt +5 -0
- package/python3.6.2/lib/python3.6/test/test_doctest4.txt +11 -0
- package/python3.6.2/lib/python3.6/test/test_docxmlrpc.py +198 -0
- package/python3.6.2/lib/python3.6/test/test_dtrace.py +178 -0
- package/python3.6.2/lib/python3.6/test/test_dummy_thread.py +256 -0
- package/python3.6.2/lib/python3.6/test/test_dummy_threading.py +60 -0
- package/python3.6.2/lib/python3.6/test/test_dynamic.py +138 -0
- package/python3.6.2/lib/python3.6/test/test_dynamicclassattribute.py +300 -0
- package/python3.6.2/lib/python3.6/test/test_eintr.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/__init__.py +166 -0
- package/python3.6.2/lib/python3.6/test/test_email/__main__.py +4 -0
- 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 +19 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_02.txt +136 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_03.txt +16 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_04.txt +37 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_05.txt +28 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_06.txt +33 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_07.txt +83 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_08.txt +24 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_09.txt +24 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_10.txt +39 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_11.txt +7 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12.txt +36 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_12a.txt +38 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_13.txt +94 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_14.txt +23 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_15.txt +52 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_16.txt +123 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_17.txt +12 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_18.txt +6 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_19.txt +43 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_20.txt +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_21.txt +20 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_22.txt +46 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_23.txt +8 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_24.txt +10 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_25.txt +117 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_26.txt +46 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_27.txt +15 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_28.txt +25 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_29.txt +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_30.txt +23 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_31.txt +15 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_32.txt +14 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_33.txt +29 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_34.txt +19 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_35.txt +4 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_36.txt +40 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_37.txt +22 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_38.txt +101 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_39.txt +83 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_40.txt +10 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_41.txt +8 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_42.txt +20 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_43.txt +217 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_44.txt +33 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_45.txt +33 -0
- package/python3.6.2/lib/python3.6/test/test_email/data/msg_46.txt +23 -0
- package/python3.6.2/lib/python3.6/test/test_email/test__encoded_words.py +192 -0
- package/python3.6.2/lib/python3.6/test/test_email/test__header_value_parser.py +2723 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_asian_codecs.py +81 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_contentmanager.py +796 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_defect_handling.py +320 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_email.py +5402 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_generator.py +296 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_headerregistry.py +1653 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_inversion.py +70 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_message.py +803 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_parser.py +110 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_pickleable.py +76 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_policy.py +346 -0
- package/python3.6.2/lib/python3.6/test/test_email/test_utils.py +163 -0
- package/python3.6.2/lib/python3.6/test/test_email/torture_test.py +133 -0
- package/python3.6.2/lib/python3.6/test/test_ensurepip.py +310 -0
- package/python3.6.2/lib/python3.6/test/test_enum.py +2618 -0
- package/python3.6.2/lib/python3.6/test/test_enumerate.py +269 -0
- package/python3.6.2/lib/python3.6/test/test_eof.py +28 -0
- package/python3.6.2/lib/python3.6/test/test_epoll.py +255 -0
- package/python3.6.2/lib/python3.6/test/test_errno.py +35 -0
- package/python3.6.2/lib/python3.6/test/test_exception_hierarchy.py +204 -0
- package/python3.6.2/lib/python3.6/test/test_exception_variations.py +176 -0
- package/python3.6.2/lib/python3.6/test/test_exceptions.py +1288 -0
- package/python3.6.2/lib/python3.6/test/test_extcall.py +465 -0
- package/python3.6.2/lib/python3.6/test/test_faulthandler.py +817 -0
- package/python3.6.2/lib/python3.6/test/test_fcntl.py +152 -0
- package/python3.6.2/lib/python3.6/test/test_file.py +329 -0
- package/python3.6.2/lib/python3.6/test/test_file_eintr.py +252 -0
- package/python3.6.2/lib/python3.6/test/test_filecmp.py +217 -0
- package/python3.6.2/lib/python3.6/test/test_fileinput.py +1015 -0
- package/python3.6.2/lib/python3.6/test/test_fileio.py +595 -0
- package/python3.6.2/lib/python3.6/test/test_finalization.py +519 -0
- package/python3.6.2/lib/python3.6/test/test_float.py +1422 -0
- package/python3.6.2/lib/python3.6/test/test_flufl.py +22 -0
- package/python3.6.2/lib/python3.6/test/test_fnmatch.py +128 -0
- package/python3.6.2/lib/python3.6/test/test_fork1.py +112 -0
- package/python3.6.2/lib/python3.6/test/test_format.py +494 -0
- package/python3.6.2/lib/python3.6/test/test_fractions.py +635 -0
- package/python3.6.2/lib/python3.6/test/test_frame.py +165 -0
- package/python3.6.2/lib/python3.6/test/test_fstring.py +1038 -0
- package/python3.6.2/lib/python3.6/test/test_ftplib.py +1091 -0
- package/python3.6.2/lib/python3.6/test/test_funcattrs.py +377 -0
- package/python3.6.2/lib/python3.6/test/test_functools.py +2083 -0
- package/python3.6.2/lib/python3.6/test/test_future.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_future3.py +26 -0
- package/python3.6.2/lib/python3.6/test/test_future4.py +6 -0
- package/python3.6.2/lib/python3.6/test/test_future5.py +21 -0
- package/python3.6.2/lib/python3.6/test/test_gc.py +1031 -0
- package/python3.6.2/lib/python3.6/test/test_gdb.py +936 -0
- package/python3.6.2/lib/python3.6/test/test_generator_stop.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_generators.py +2232 -0
- package/python3.6.2/lib/python3.6/test/test_genericpath.py +537 -0
- package/python3.6.2/lib/python3.6/test/test_genexps.py +285 -0
- package/python3.6.2/lib/python3.6/test/test_getargs2.py +958 -0
- package/python3.6.2/lib/python3.6/test/test_getopt.py +184 -0
- package/python3.6.2/lib/python3.6/test/test_getpass.py +163 -0
- package/python3.6.2/lib/python3.6/test/test_gettext.py +770 -0
- package/python3.6.2/lib/python3.6/test/test_glob.py +317 -0
- package/python3.6.2/lib/python3.6/test/test_global.py +61 -0
- package/python3.6.2/lib/python3.6/test/test_grammar.py +1417 -0
- package/python3.6.2/lib/python3.6/test/test_grp.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_gzip.py +672 -0
- package/python3.6.2/lib/python3.6/test/test_hash.py +346 -0
- package/python3.6.2/lib/python3.6/test/test_hashlib.py +954 -0
- package/python3.6.2/lib/python3.6/test/test_heapq.py +427 -0
- package/python3.6.2/lib/python3.6/test/test_hmac.py +496 -0
- package/python3.6.2/lib/python3.6/test/test_html.py +103 -0
- package/python3.6.2/lib/python3.6/test/test_htmlparser.py +778 -0
- package/python3.6.2/lib/python3.6/test/test_http_cookiejar.py +1772 -0
- package/python3.6.2/lib/python3.6/test/test_http_cookies.py +472 -0
- package/python3.6.2/lib/python3.6/test/test_httplib.py +1903 -0
- package/python3.6.2/lib/python3.6/test/test_httpservers.py +1060 -0
- package/python3.6.2/lib/python3.6/test/test_idle.py +23 -0
- package/python3.6.2/lib/python3.6/test/test_imaplib.py +998 -0
- package/python3.6.2/lib/python3.6/test/test_imghdr.py +140 -0
- package/python3.6.2/lib/python3.6/test/test_imp.py +416 -0
- package/python3.6.2/lib/python3.6/test/test_import/__init__.py +1199 -0
- package/python3.6.2/lib/python3.6/test/test_import/__main__.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/basic2.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/indirect.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/rebinding2.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpackage.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/subpackage2.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/subpkg/util.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/circular_imports/util.py +2 -0
- package/python3.6.2/lib/python3.6/test/test_import/data/package/__init__.py +2 -0
- 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 +3 -0
- 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 +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/abc.py +94 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_finder.py +90 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/builtin/test_loader.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_case_sensitivity.py +46 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_finder.py +44 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_loader.py +277 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/extension/test_path_hook.py +31 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_finder.py +84 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/frozen/test_loader.py +225 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__init__.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___loader__.py +75 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test___package__.py +163 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_api.py +119 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_caching.py +93 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_fromlist.py +175 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_meta_path.py +125 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_packages.py +110 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_path.py +257 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/import_/test_relative_imports.py +232 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
- 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 +1 -0
- 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 +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
- 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 +5 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_case_sensitivity.py +85 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_file_loader.py +602 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_finder.py +236 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_path_hook.py +41 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/source/test_source_encoding.py +175 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_abc.py +953 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_api.py +449 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_lazy.py +145 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_locks.py +175 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_namespace_pkgs.py +321 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_spec.py +819 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_util.py +805 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/test_windows.py +109 -0
- package/python3.6.2/lib/python3.6/test/test_importlib/util.py +388 -0
- package/python3.6.2/lib/python3.6/test/test_index.py +275 -0
- package/python3.6.2/lib/python3.6/test/test_inspect.py +3725 -0
- package/python3.6.2/lib/python3.6/test/test_int.py +518 -0
- package/python3.6.2/lib/python3.6/test/test_int_literal.py +143 -0
- package/python3.6.2/lib/python3.6/test/test_io.py +4054 -0
- package/python3.6.2/lib/python3.6/test/test_ioctl.py +91 -0
- package/python3.6.2/lib/python3.6/test/test_ipaddress.py +1972 -0
- package/python3.6.2/lib/python3.6/test/test_isinstance.py +280 -0
- package/python3.6.2/lib/python3.6/test/test_iter.py +1016 -0
- package/python3.6.2/lib/python3.6/test/test_iterlen.py +228 -0
- package/python3.6.2/lib/python3.6/test/test_itertools.py +2340 -0
- package/python3.6.2/lib/python3.6/test/test_json/__init__.py +56 -0
- package/python3.6.2/lib/python3.6/test/test_json/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_decode.py +97 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_default.py +12 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_dump.py +68 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_encode_basestring_ascii.py +48 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_enum.py +120 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_fail.py +216 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_float.py +33 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_indent.py +67 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_pass1.py +75 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_pass2.py +18 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_pass3.py +24 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_recursion.py +100 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_scanstring.py +141 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_separators.py +50 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_speedups.py +71 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_tool.py +107 -0
- package/python3.6.2/lib/python3.6/test/test_json/test_unicode.py +98 -0
- package/python3.6.2/lib/python3.6/test/test_keyword.py +138 -0
- package/python3.6.2/lib/python3.6/test/test_keywordonlyarg.py +189 -0
- package/python3.6.2/lib/python3.6/test/test_kqueue.py +263 -0
- package/python3.6.2/lib/python3.6/test/test_largefile.py +180 -0
- package/python3.6.2/lib/python3.6/test/test_lib2to3.py +5 -0
- package/python3.6.2/lib/python3.6/test/test_linecache.py +242 -0
- package/python3.6.2/lib/python3.6/test/test_list.py +155 -0
- package/python3.6.2/lib/python3.6/test/test_listcomps.py +148 -0
- package/python3.6.2/lib/python3.6/test/test_locale.py +587 -0
- package/python3.6.2/lib/python3.6/test/test_logging.py +4442 -0
- package/python3.6.2/lib/python3.6/test/test_long.py +1322 -0
- package/python3.6.2/lib/python3.6/test/test_longexp.py +10 -0
- package/python3.6.2/lib/python3.6/test/test_lzma.py +1764 -0
- package/python3.6.2/lib/python3.6/test/test_macpath.py +149 -0
- package/python3.6.2/lib/python3.6/test/test_macurl2path.py +31 -0
- package/python3.6.2/lib/python3.6/test/test_mailbox.py +2288 -0
- package/python3.6.2/lib/python3.6/test/test_mailcap.py +239 -0
- package/python3.6.2/lib/python3.6/test/test_marshal.py +556 -0
- package/python3.6.2/lib/python3.6/test/test_math.py +1422 -0
- package/python3.6.2/lib/python3.6/test/test_memoryio.py +842 -0
- package/python3.6.2/lib/python3.6/test/test_memoryview.py +537 -0
- package/python3.6.2/lib/python3.6/test/test_metaclass.py +265 -0
- package/python3.6.2/lib/python3.6/test/test_mimetypes.py +111 -0
- package/python3.6.2/lib/python3.6/test/test_minidom.py +1574 -0
- package/python3.6.2/lib/python3.6/test/test_mmap.py +803 -0
- package/python3.6.2/lib/python3.6/test/test_module.py +244 -0
- package/python3.6.2/lib/python3.6/test/test_modulefinder.py +337 -0
- package/python3.6.2/lib/python3.6/test/test_msilib.py +99 -0
- package/python3.6.2/lib/python3.6/test/test_multibytecodec.py +270 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_fork.py +13 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_forkserver.py +12 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_main_handling.py +290 -0
- package/python3.6.2/lib/python3.6/test/test_multiprocessing_spawn.py +12 -0
- package/python3.6.2/lib/python3.6/test/test_netrc.py +133 -0
- package/python3.6.2/lib/python3.6/test/test_nis.py +39 -0
- package/python3.6.2/lib/python3.6/test/test_nntplib.py +1581 -0
- package/python3.6.2/lib/python3.6/test/test_normalization.py +108 -0
- package/python3.6.2/lib/python3.6/test/test_ntpath.py +539 -0
- package/python3.6.2/lib/python3.6/test/test_numeric_tower.py +202 -0
- package/python3.6.2/lib/python3.6/test/test_opcodes.py +135 -0
- package/python3.6.2/lib/python3.6/test/test_openpty.py +21 -0
- package/python3.6.2/lib/python3.6/test/test_operator.py +609 -0
- package/python3.6.2/lib/python3.6/test/test_optparse.py +1664 -0
- package/python3.6.2/lib/python3.6/test/test_ordered_dict.py +787 -0
- package/python3.6.2/lib/python3.6/test/test_os.py +3548 -0
- package/python3.6.2/lib/python3.6/test/test_ossaudiodev.py +202 -0
- package/python3.6.2/lib/python3.6/test/test_osx_env.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_parser.py +905 -0
- package/python3.6.2/lib/python3.6/test/test_pathlib.py +2252 -0
- package/python3.6.2/lib/python3.6/test/test_pdb.py +1124 -0
- package/python3.6.2/lib/python3.6/test/test_peepholer.py +325 -0
- package/python3.6.2/lib/python3.6/test/test_pickle.py +514 -0
- package/python3.6.2/lib/python3.6/test/test_pickletools.py +99 -0
- package/python3.6.2/lib/python3.6/test/test_pipes.py +203 -0
- package/python3.6.2/lib/python3.6/test/test_pkg.py +295 -0
- package/python3.6.2/lib/python3.6/test/test_pkgimport.py +80 -0
- package/python3.6.2/lib/python3.6/test/test_pkgutil.py +491 -0
- package/python3.6.2/lib/python3.6/test/test_platform.py +370 -0
- package/python3.6.2/lib/python3.6/test/test_plistlib.py +662 -0
- package/python3.6.2/lib/python3.6/test/test_poll.py +238 -0
- package/python3.6.2/lib/python3.6/test/test_popen.py +65 -0
- package/python3.6.2/lib/python3.6/test/test_poplib.py +520 -0
- package/python3.6.2/lib/python3.6/test/test_posix.py +1298 -0
- package/python3.6.2/lib/python3.6/test/test_posixpath.py +680 -0
- package/python3.6.2/lib/python3.6/test/test_pow.py +123 -0
- package/python3.6.2/lib/python3.6/test/test_pprint.py +1012 -0
- package/python3.6.2/lib/python3.6/test/test_print.py +193 -0
- package/python3.6.2/lib/python3.6/test/test_profile.py +187 -0
- package/python3.6.2/lib/python3.6/test/test_property.py +272 -0
- package/python3.6.2/lib/python3.6/test/test_pstats.py +38 -0
- package/python3.6.2/lib/python3.6/test/test_pty.py +316 -0
- package/python3.6.2/lib/python3.6/test/test_pulldom.py +342 -0
- package/python3.6.2/lib/python3.6/test/test_pwd.py +125 -0
- package/python3.6.2/lib/python3.6/test/test_py_compile.py +127 -0
- package/python3.6.2/lib/python3.6/test/test_pyclbr.py +176 -0
- package/python3.6.2/lib/python3.6/test/test_pydoc.py +1107 -0
- package/python3.6.2/lib/python3.6/test/test_pyexpat.py +733 -0
- package/python3.6.2/lib/python3.6/test/test_queue.py +362 -0
- package/python3.6.2/lib/python3.6/test/test_quopri.py +210 -0
- package/python3.6.2/lib/python3.6/test/test_raise.py +419 -0
- package/python3.6.2/lib/python3.6/test/test_random.py +939 -0
- package/python3.6.2/lib/python3.6/test/test_range.py +693 -0
- package/python3.6.2/lib/python3.6/test/test_re.py +2087 -0
- package/python3.6.2/lib/python3.6/test/test_readline.py +309 -0
- package/python3.6.2/lib/python3.6/test/test_regrtest.py +967 -0
- package/python3.6.2/lib/python3.6/test/test_repl.py +62 -0
- package/python3.6.2/lib/python3.6/test/test_reprlib.py +405 -0
- package/python3.6.2/lib/python3.6/test/test_resource.py +180 -0
- package/python3.6.2/lib/python3.6/test/test_richcmp.py +355 -0
- package/python3.6.2/lib/python3.6/test/test_rlcompleter.py +141 -0
- package/python3.6.2/lib/python3.6/test/test_robotparser.py +335 -0
- package/python3.6.2/lib/python3.6/test/test_runpy.py +749 -0
- package/python3.6.2/lib/python3.6/test/test_sax.py +1273 -0
- package/python3.6.2/lib/python3.6/test/test_sched.py +204 -0
- package/python3.6.2/lib/python3.6/test/test_scope.py +761 -0
- package/python3.6.2/lib/python3.6/test/test_script_helper.py +110 -0
- package/python3.6.2/lib/python3.6/test/test_secrets.py +124 -0
- package/python3.6.2/lib/python3.6/test/test_select.py +82 -0
- package/python3.6.2/lib/python3.6/test/test_selectors.py +526 -0
- package/python3.6.2/lib/python3.6/test/test_set.py +1903 -0
- package/python3.6.2/lib/python3.6/test/test_setcomps.py +151 -0
- package/python3.6.2/lib/python3.6/test/test_shelve.py +228 -0
- package/python3.6.2/lib/python3.6/test/test_shlex.py +318 -0
- package/python3.6.2/lib/python3.6/test/test_shutil.py +1925 -0
- package/python3.6.2/lib/python3.6/test/test_signal.py +1093 -0
- package/python3.6.2/lib/python3.6/test/test_site.py +595 -0
- package/python3.6.2/lib/python3.6/test/test_slice.py +255 -0
- package/python3.6.2/lib/python3.6/test/test_smtpd.py +1013 -0
- package/python3.6.2/lib/python3.6/test/test_smtplib.py +1292 -0
- package/python3.6.2/lib/python3.6/test/test_smtpnet.py +83 -0
- package/python3.6.2/lib/python3.6/test/test_sndhdr.py +37 -0
- package/python3.6.2/lib/python3.6/test/test_socket.py +5648 -0
- package/python3.6.2/lib/python3.6/test/test_socketserver.py +505 -0
- package/python3.6.2/lib/python3.6/test/test_sort.py +265 -0
- package/python3.6.2/lib/python3.6/test/test_source_encoding.py +225 -0
- package/python3.6.2/lib/python3.6/test/test_spwd.py +75 -0
- package/python3.6.2/lib/python3.6/test/test_sqlite.py +24 -0
- package/python3.6.2/lib/python3.6/test/test_ssl.py +3663 -0
- package/python3.6.2/lib/python3.6/test/test_startfile.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_stat.py +234 -0
- package/python3.6.2/lib/python3.6/test/test_statistics.py +1992 -0
- package/python3.6.2/lib/python3.6/test/test_strftime.py +206 -0
- package/python3.6.2/lib/python3.6/test/test_string.py +439 -0
- package/python3.6.2/lib/python3.6/test/test_string_literals.py +249 -0
- package/python3.6.2/lib/python3.6/test/test_stringprep.py +92 -0
- package/python3.6.2/lib/python3.6/test/test_strptime.py +673 -0
- package/python3.6.2/lib/python3.6/test/test_strtod.py +433 -0
- package/python3.6.2/lib/python3.6/test/test_struct.py +756 -0
- package/python3.6.2/lib/python3.6/test/test_structmembers.py +144 -0
- package/python3.6.2/lib/python3.6/test/test_structseq.py +126 -0
- package/python3.6.2/lib/python3.6/test/test_subclassinit.py +284 -0
- package/python3.6.2/lib/python3.6/test/test_subprocess.py +3005 -0
- package/python3.6.2/lib/python3.6/test/test_sunau.py +121 -0
- package/python3.6.2/lib/python3.6/test/test_sundry.py +57 -0
- package/python3.6.2/lib/python3.6/test/test_super.py +347 -0
- package/python3.6.2/lib/python3.6/test/test_support.py +459 -0
- package/python3.6.2/lib/python3.6/test/test_symbol.py +54 -0
- package/python3.6.2/lib/python3.6/test/test_symtable.py +193 -0
- package/python3.6.2/lib/python3.6/test/test_syntax.py +618 -0
- package/python3.6.2/lib/python3.6/test/test_sys.py +1270 -0
- package/python3.6.2/lib/python3.6/test/test_sys_setprofile.py +376 -0
- package/python3.6.2/lib/python3.6/test/test_sys_settrace.py +854 -0
- package/python3.6.2/lib/python3.6/test/test_sysconfig.py +445 -0
- package/python3.6.2/lib/python3.6/test/test_syslog.py +40 -0
- package/python3.6.2/lib/python3.6/test/test_tarfile.py +2635 -0
- package/python3.6.2/lib/python3.6/test/test_tcl.py +715 -0
- package/python3.6.2/lib/python3.6/test/test_telnetlib.py +401 -0
- package/python3.6.2/lib/python3.6/test/test_tempfile.py +1458 -0
- package/python3.6.2/lib/python3.6/test/test_textwrap.py +981 -0
- package/python3.6.2/lib/python3.6/test/test_thread.py +269 -0
- package/python3.6.2/lib/python3.6/test/test_threaded_import.py +254 -0
- package/python3.6.2/lib/python3.6/test/test_threadedtempfile.py +62 -0
- package/python3.6.2/lib/python3.6/test/test_threading.py +1170 -0
- package/python3.6.2/lib/python3.6/test/test_threading_local.py +220 -0
- package/python3.6.2/lib/python3.6/test/test_threadsignals.py +227 -0
- package/python3.6.2/lib/python3.6/test/test_time.py +1000 -0
- package/python3.6.2/lib/python3.6/test/test_timeit.py +381 -0
- package/python3.6.2/lib/python3.6/test/test_timeout.py +303 -0
- package/python3.6.2/lib/python3.6/test/test_tix.py +32 -0
- package/python3.6.2/lib/python3.6/test/test_tk.py +15 -0
- package/python3.6.2/lib/python3.6/test/test_tokenize.py +1590 -0
- package/python3.6.2/lib/python3.6/test/test_tools/__init__.py +24 -0
- package/python3.6.2/lib/python3.6/test/test_tools/__main__.py +4 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_fixcid.py +92 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_gprof2html.py +35 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_i18n.py +72 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_md5sum.py +76 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_pdeps.py +32 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_pindent.py +339 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_reindent.py +35 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_sundry.py +53 -0
- package/python3.6.2/lib/python3.6/test/test_tools/test_unparse.py +313 -0
- package/python3.6.2/lib/python3.6/test/test_trace.py +391 -0
- package/python3.6.2/lib/python3.6/test/test_traceback.py +1111 -0
- package/python3.6.2/lib/python3.6/test/test_tracemalloc.py +994 -0
- package/python3.6.2/lib/python3.6/test/test_ttk_guionly.py +34 -0
- package/python3.6.2/lib/python3.6/test/test_ttk_textonly.py +13 -0
- package/python3.6.2/lib/python3.6/test/test_tuple.py +221 -0
- package/python3.6.2/lib/python3.6/test/test_turtle.py +436 -0
- package/python3.6.2/lib/python3.6/test/test_typechecks.py +71 -0
- package/python3.6.2/lib/python3.6/test/test_types.py +1550 -0
- package/python3.6.2/lib/python3.6/test/test_typing.py +2577 -0
- package/python3.6.2/lib/python3.6/test/test_ucn.py +237 -0
- package/python3.6.2/lib/python3.6/test/test_unary.py +53 -0
- package/python3.6.2/lib/python3.6/test/test_unicode.py +2894 -0
- package/python3.6.2/lib/python3.6/test/test_unicode_file.py +140 -0
- package/python3.6.2/lib/python3.6/test/test_unicode_file_functions.py +195 -0
- package/python3.6.2/lib/python3.6/test/test_unicode_identifiers.py +31 -0
- package/python3.6.2/lib/python3.6/test/test_unicodedata.py +316 -0
- package/python3.6.2/lib/python3.6/test/test_unittest.py +16 -0
- package/python3.6.2/lib/python3.6/test/test_univnewlines.py +123 -0
- package/python3.6.2/lib/python3.6/test/test_unpack.py +151 -0
- package/python3.6.2/lib/python3.6/test/test_unpack_ex.py +365 -0
- package/python3.6.2/lib/python3.6/test/test_urllib.py +1572 -0
- package/python3.6.2/lib/python3.6/test/test_urllib2.py +1930 -0
- package/python3.6.2/lib/python3.6/test/test_urllib2_localnet.py +679 -0
- package/python3.6.2/lib/python3.6/test/test_urllib2net.py +329 -0
- package/python3.6.2/lib/python3.6/test/test_urllib_response.py +59 -0
- package/python3.6.2/lib/python3.6/test/test_urllibnet.py +218 -0
- package/python3.6.2/lib/python3.6/test/test_urlparse.py +1122 -0
- package/python3.6.2/lib/python3.6/test/test_userdict.py +220 -0
- package/python3.6.2/lib/python3.6/test/test_userlist.py +63 -0
- package/python3.6.2/lib/python3.6/test/test_userstring.py +44 -0
- package/python3.6.2/lib/python3.6/test/test_utf8source.py +43 -0
- package/python3.6.2/lib/python3.6/test/test_uu.py +260 -0
- package/python3.6.2/lib/python3.6/test/test_uuid.py +511 -0
- package/python3.6.2/lib/python3.6/test/test_venv.py +433 -0
- package/python3.6.2/lib/python3.6/test/test_wait3.py +38 -0
- package/python3.6.2/lib/python3.6/test/test_wait4.py +39 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/__init__.py +1216 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/__main__.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/data/import_warning.py +3 -0
- package/python3.6.2/lib/python3.6/test/test_warnings/data/stacklevel.py +9 -0
- package/python3.6.2/lib/python3.6/test/test_wave.py +113 -0
- package/python3.6.2/lib/python3.6/test/test_weakref.py +1952 -0
- package/python3.6.2/lib/python3.6/test/test_weakset.py +439 -0
- package/python3.6.2/lib/python3.6/test/test_webbrowser.py +217 -0
- package/python3.6.2/lib/python3.6/test/test_winconsoleio.py +191 -0
- package/python3.6.2/lib/python3.6/test/test_winreg.py +498 -0
- package/python3.6.2/lib/python3.6/test/test_winsound.py +150 -0
- package/python3.6.2/lib/python3.6/test/test_with.py +746 -0
- package/python3.6.2/lib/python3.6/test/test_wsgiref.py +785 -0
- package/python3.6.2/lib/python3.6/test/test_xdrlib.py +77 -0
- package/python3.6.2/lib/python3.6/test/test_xml_dom_minicompat.py +138 -0
- package/python3.6.2/lib/python3.6/test/test_xml_etree.py +3166 -0
- package/python3.6.2/lib/python3.6/test/test_xml_etree_c.py +188 -0
- package/python3.6.2/lib/python3.6/test/test_xmlrpc.py +1415 -0
- package/python3.6.2/lib/python3.6/test/test_xmlrpc_net.py +32 -0
- package/python3.6.2/lib/python3.6/test/test_yield_from.py +1052 -0
- package/python3.6.2/lib/python3.6/test/test_zipapp.py +349 -0
- package/python3.6.2/lib/python3.6/test/test_zipfile.py +2241 -0
- package/python3.6.2/lib/python3.6/test/test_zipfile64.py +155 -0
- package/python3.6.2/lib/python3.6/test/test_zipimport.py +759 -0
- package/python3.6.2/lib/python3.6/test/test_zipimport_support.py +244 -0
- package/python3.6.2/lib/python3.6/test/test_zlib.py +898 -0
- package/python3.6.2/lib/python3.6/test/testcodec.py +48 -0
- package/python3.6.2/lib/python3.6/test/testtar.tar +0 -0
- package/python3.6.2/lib/python3.6/test/tf_inherit_check.py +27 -0
- package/python3.6.2/lib/python3.6/test/threaded_import_hangers.py +45 -0
- package/python3.6.2/lib/python3.6/test/time_hashlib.py +88 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
- package/python3.6.2/lib/python3.6/test/tokenize_tests.txt +189 -0
- package/python3.6.2/lib/python3.6/test/tracedmodules/__init__.py +4 -0
- package/python3.6.2/lib/python3.6/test/tracedmodules/testmod.py +9 -0
- package/python3.6.2/lib/python3.6/test/win_console_handler.py +49 -0
- package/python3.6.2/lib/python3.6/test/wrongcert.pem +32 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/expat224_utf8_bug.xml +2 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple-ns.xml +7 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/simple.xml +6 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml +115 -0
- package/python3.6.2/lib/python3.6/test/xmltestdata/test.xml.out +115 -0
- package/python3.6.2/lib/python3.6/test/xmltests.py +21 -0
- 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 +488 -0
- package/python3.6.2/lib/python3.6/this.py +28 -0
- package/python3.6.2/lib/python3.6/threading.py +1357 -0
- package/python3.6.2/lib/python3.6/timeit.py +362 -0
- package/python3.6.2/lib/python3.6/tkinter/__init__.py +4002 -0
- package/python3.6.2/lib/python3.6/tkinter/__main__.py +7 -0
- package/python3.6.2/lib/python3.6/tkinter/colorchooser.py +72 -0
- package/python3.6.2/lib/python3.6/tkinter/commondialog.py +55 -0
- package/python3.6.2/lib/python3.6/tkinter/constants.py +110 -0
- package/python3.6.2/lib/python3.6/tkinter/dialog.py +46 -0
- package/python3.6.2/lib/python3.6/tkinter/dnd.py +321 -0
- package/python3.6.2/lib/python3.6/tkinter/filedialog.py +479 -0
- package/python3.6.2/lib/python3.6/tkinter/font.py +232 -0
- package/python3.6.2/lib/python3.6/tkinter/messagebox.py +134 -0
- package/python3.6.2/lib/python3.6/tkinter/scrolledtext.py +54 -0
- package/python3.6.2/lib/python3.6/tkinter/simpledialog.py +423 -0
- package/python3.6.2/lib/python3.6/tkinter/test/README +14 -0
- package/python3.6.2/lib/python3.6/tkinter/test/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/tkinter/test/runtktests.py +69 -0
- package/python3.6.2/lib/python3.6/tkinter/test/support.py +105 -0
- 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 +96 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_geometry_managers.py +906 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_images.py +327 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_loadtk.py +46 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_misc.py +55 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_text.py +47 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_variables.py +310 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_tkinter/test_widgets.py +1204 -0
- 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 +323 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_functions.py +461 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_style.py +92 -0
- package/python3.6.2/lib/python3.6/tkinter/test/test_ttk/test_widgets.py +1707 -0
- package/python3.6.2/lib/python3.6/tkinter/test/widget_tests.py +548 -0
- package/python3.6.2/lib/python3.6/tkinter/tix.py +1946 -0
- package/python3.6.2/lib/python3.6/tkinter/ttk.py +1655 -0
- package/python3.6.2/lib/python3.6/token.py +143 -0
- package/python3.6.2/lib/python3.6/tokenize.py +793 -0
- package/python3.6.2/lib/python3.6/trace.py +742 -0
- package/python3.6.2/lib/python3.6/traceback.py +600 -0
- package/python3.6.2/lib/python3.6/tracemalloc.py +524 -0
- package/python3.6.2/lib/python3.6/tty.py +36 -0
- package/python3.6.2/lib/python3.6/turtle.py +4139 -0
- package/python3.6.2/lib/python3.6/turtledemo/__init__.py +14 -0
- package/python3.6.2/lib/python3.6/turtledemo/__main__.py +386 -0
- package/python3.6.2/lib/python3.6/turtledemo/bytedesign.py +161 -0
- package/python3.6.2/lib/python3.6/turtledemo/chaos.py +59 -0
- package/python3.6.2/lib/python3.6/turtledemo/clock.py +132 -0
- package/python3.6.2/lib/python3.6/turtledemo/colormixer.py +58 -0
- package/python3.6.2/lib/python3.6/turtledemo/forest.py +108 -0
- package/python3.6.2/lib/python3.6/turtledemo/fractalcurves.py +138 -0
- package/python3.6.2/lib/python3.6/turtledemo/lindenmayer.py +119 -0
- package/python3.6.2/lib/python3.6/turtledemo/minimal_hanoi.py +79 -0
- package/python3.6.2/lib/python3.6/turtledemo/nim.py +226 -0
- package/python3.6.2/lib/python3.6/turtledemo/paint.py +54 -0
- package/python3.6.2/lib/python3.6/turtledemo/peace.py +61 -0
- package/python3.6.2/lib/python3.6/turtledemo/penrose.py +181 -0
- package/python3.6.2/lib/python3.6/turtledemo/planet_and_moon.py +111 -0
- package/python3.6.2/lib/python3.6/turtledemo/round_dance.py +86 -0
- package/python3.6.2/lib/python3.6/turtledemo/sorting_animate.py +204 -0
- package/python3.6.2/lib/python3.6/turtledemo/tree.py +63 -0
- package/python3.6.2/lib/python3.6/turtledemo/turtle.cfg +10 -0
- package/python3.6.2/lib/python3.6/turtledemo/two_canvases.py +54 -0
- package/python3.6.2/lib/python3.6/turtledemo/wikipedia.py +65 -0
- package/python3.6.2/lib/python3.6/turtledemo/yinyang.py +49 -0
- package/python3.6.2/lib/python3.6/types.py +266 -0
- package/python3.6.2/lib/python3.6/typing.py +2403 -0
- package/python3.6.2/lib/python3.6/unittest/__init__.py +78 -0
- package/python3.6.2/lib/python3.6/unittest/__main__.py +18 -0
- package/python3.6.2/lib/python3.6/unittest/case.py +1429 -0
- package/python3.6.2/lib/python3.6/unittest/loader.py +508 -0
- package/python3.6.2/lib/python3.6/unittest/main.py +260 -0
- package/python3.6.2/lib/python3.6/unittest/mock.py +2407 -0
- package/python3.6.2/lib/python3.6/unittest/result.py +216 -0
- package/python3.6.2/lib/python3.6/unittest/runner.py +221 -0
- package/python3.6.2/lib/python3.6/unittest/signals.py +71 -0
- package/python3.6.2/lib/python3.6/unittest/suite.py +321 -0
- package/python3.6.2/lib/python3.6/unittest/test/__init__.py +22 -0
- package/python3.6.2/lib/python3.6/unittest/test/__main__.py +18 -0
- package/python3.6.2/lib/python3.6/unittest/test/_test_warnings.py +73 -0
- package/python3.6.2/lib/python3.6/unittest/test/dummy.py +1 -0
- package/python3.6.2/lib/python3.6/unittest/test/support.py +138 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_assertions.py +411 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_break.py +291 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_case.py +1833 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_discovery.py +872 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_functiontestcase.py +148 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_loader.py +1529 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_program.py +414 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_result.py +695 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_runner.py +353 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_setups.py +507 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_skipping.py +260 -0
- package/python3.6.2/lib/python3.6/unittest/test/test_suite.py +447 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__init__.py +17 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/__main__.py +18 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/support.py +21 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testcallable.py +151 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testhelpers.py +946 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmagicmethods.py +468 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testmock.py +1569 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testpatch.py +1853 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testsentinel.py +28 -0
- package/python3.6.2/lib/python3.6/unittest/test/testmock/testwith.py +301 -0
- package/python3.6.2/lib/python3.6/unittest/util.py +177 -0
- package/python3.6.2/lib/python3.6/urllib/__init__.py +0 -0
- package/python3.6.2/lib/python3.6/urllib/error.py +77 -0
- package/python3.6.2/lib/python3.6/urllib/parse.py +1021 -0
- package/python3.6.2/lib/python3.6/urllib/request.py +2739 -0
- package/python3.6.2/lib/python3.6/urllib/response.py +80 -0
- package/python3.6.2/lib/python3.6/urllib/robotparser.py +250 -0
- package/python3.6.2/lib/python3.6/uu.py +199 -0
- package/python3.6.2/lib/python3.6/uuid.py +629 -0
- package/python3.6.2/lib/python3.6/venv/__init__.py +425 -0
- package/python3.6.2/lib/python3.6/venv/__main__.py +10 -0
- package/python3.6.2/lib/python3.6/venv/scripts/nt/Activate.ps1 +51 -0
- package/python3.6.2/lib/python3.6/venv/scripts/nt/activate.bat +32 -0
- package/python3.6.2/lib/python3.6/venv/scripts/nt/deactivate.bat +21 -0
- package/python3.6.2/lib/python3.6/warnings.py +526 -0
- package/python3.6.2/lib/python3.6/wave.py +505 -0
- package/python3.6.2/lib/python3.6/weakref.py +632 -0
- package/python3.6.2/lib/python3.6/webbrowser.py +664 -0
- package/python3.6.2/lib/python3.6/wsgiref/__init__.py +23 -0
- package/python3.6.2/lib/python3.6/wsgiref/handlers.py +557 -0
- package/python3.6.2/lib/python3.6/wsgiref/headers.py +184 -0
- package/python3.6.2/lib/python3.6/wsgiref/simple_server.py +164 -0
- package/python3.6.2/lib/python3.6/wsgiref/util.py +165 -0
- package/python3.6.2/lib/python3.6/wsgiref/validate.py +443 -0
- package/python3.6.2/lib/python3.6/xdrlib.py +241 -0
- package/python3.6.2/lib/python3.6/xml/__init__.py +20 -0
- package/python3.6.2/lib/python3.6/xml/dom/NodeFilter.py +27 -0
- package/python3.6.2/lib/python3.6/xml/dom/__init__.py +140 -0
- package/python3.6.2/lib/python3.6/xml/dom/domreg.py +97 -0
- package/python3.6.2/lib/python3.6/xml/dom/expatbuilder.py +965 -0
- package/python3.6.2/lib/python3.6/xml/dom/minicompat.py +109 -0
- package/python3.6.2/lib/python3.6/xml/dom/minidom.py +1981 -0
- package/python3.6.2/lib/python3.6/xml/dom/pulldom.py +342 -0
- package/python3.6.2/lib/python3.6/xml/dom/xmlbuilder.py +410 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementInclude.py +143 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementPath.py +314 -0
- package/python3.6.2/lib/python3.6/xml/etree/ElementTree.py +1656 -0
- package/python3.6.2/lib/python3.6/xml/etree/__init__.py +33 -0
- package/python3.6.2/lib/python3.6/xml/etree/cElementTree.py +3 -0
- package/python3.6.2/lib/python3.6/xml/parsers/__init__.py +8 -0
- package/python3.6.2/lib/python3.6/xml/parsers/expat.py +8 -0
- package/python3.6.2/lib/python3.6/xml/sax/__init__.py +107 -0
- package/python3.6.2/lib/python3.6/xml/sax/_exceptions.py +131 -0
- package/python3.6.2/lib/python3.6/xml/sax/expatreader.py +446 -0
- package/python3.6.2/lib/python3.6/xml/sax/handler.py +342 -0
- package/python3.6.2/lib/python3.6/xml/sax/saxutils.py +368 -0
- package/python3.6.2/lib/python3.6/xml/sax/xmlreader.py +380 -0
- package/python3.6.2/lib/python3.6/xmlrpc/__init__.py +1 -0
- package/python3.6.2/lib/python3.6/xmlrpc/client.py +1518 -0
- package/python3.6.2/lib/python3.6/xmlrpc/server.py +1002 -0
- package/python3.6.2/lib/python3.6/zipapp.py +201 -0
- package/python3.6.2/lib/python3.6/zipfile.py +2036 -0
- package/python3.6.2/lib/python3.6/LICENSE.txt +0 -254
- 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 +0 -1808
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup +0 -397
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.config +0 -10
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/Setup.local +0 -1
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c +0 -114
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/config.c.in +0 -67
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/install-sh +0 -294
- package/python3.6.2/lib/python3.6/config-3.6m-arm-linux-androideabi/makesetup +0 -296
- 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
|
@@ -0,0 +1,2252 @@
|
|
|
1
|
+
import collections
|
|
2
|
+
import io
|
|
3
|
+
import os
|
|
4
|
+
import errno
|
|
5
|
+
import pathlib
|
|
6
|
+
import pickle
|
|
7
|
+
import socket
|
|
8
|
+
import stat
|
|
9
|
+
import tempfile
|
|
10
|
+
import unittest
|
|
11
|
+
from unittest import mock
|
|
12
|
+
|
|
13
|
+
from test import support
|
|
14
|
+
TESTFN = support.TESTFN
|
|
15
|
+
|
|
16
|
+
try:
|
|
17
|
+
import grp, pwd
|
|
18
|
+
except ImportError:
|
|
19
|
+
grp = pwd = None
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class _BaseFlavourTest(object):
|
|
23
|
+
|
|
24
|
+
def _check_parse_parts(self, arg, expected):
|
|
25
|
+
f = self.flavour.parse_parts
|
|
26
|
+
sep = self.flavour.sep
|
|
27
|
+
altsep = self.flavour.altsep
|
|
28
|
+
actual = f([x.replace('/', sep) for x in arg])
|
|
29
|
+
self.assertEqual(actual, expected)
|
|
30
|
+
if altsep:
|
|
31
|
+
actual = f([x.replace('/', altsep) for x in arg])
|
|
32
|
+
self.assertEqual(actual, expected)
|
|
33
|
+
|
|
34
|
+
def test_parse_parts_common(self):
|
|
35
|
+
check = self._check_parse_parts
|
|
36
|
+
sep = self.flavour.sep
|
|
37
|
+
# Unanchored parts
|
|
38
|
+
check([], ('', '', []))
|
|
39
|
+
check(['a'], ('', '', ['a']))
|
|
40
|
+
check(['a/'], ('', '', ['a']))
|
|
41
|
+
check(['a', 'b'], ('', '', ['a', 'b']))
|
|
42
|
+
# Expansion
|
|
43
|
+
check(['a/b'], ('', '', ['a', 'b']))
|
|
44
|
+
check(['a/b/'], ('', '', ['a', 'b']))
|
|
45
|
+
check(['a', 'b/c', 'd'], ('', '', ['a', 'b', 'c', 'd']))
|
|
46
|
+
# Collapsing and stripping excess slashes
|
|
47
|
+
check(['a', 'b//c', 'd'], ('', '', ['a', 'b', 'c', 'd']))
|
|
48
|
+
check(['a', 'b/c/', 'd'], ('', '', ['a', 'b', 'c', 'd']))
|
|
49
|
+
# Eliminating standalone dots
|
|
50
|
+
check(['.'], ('', '', []))
|
|
51
|
+
check(['.', '.', 'b'], ('', '', ['b']))
|
|
52
|
+
check(['a', '.', 'b'], ('', '', ['a', 'b']))
|
|
53
|
+
check(['a', '.', '.'], ('', '', ['a']))
|
|
54
|
+
# The first part is anchored
|
|
55
|
+
check(['/a/b'], ('', sep, [sep, 'a', 'b']))
|
|
56
|
+
check(['/a', 'b'], ('', sep, [sep, 'a', 'b']))
|
|
57
|
+
check(['/a/', 'b'], ('', sep, [sep, 'a', 'b']))
|
|
58
|
+
# Ignoring parts before an anchored part
|
|
59
|
+
check(['a', '/b', 'c'], ('', sep, [sep, 'b', 'c']))
|
|
60
|
+
check(['a', '/b', '/c'], ('', sep, [sep, 'c']))
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class PosixFlavourTest(_BaseFlavourTest, unittest.TestCase):
|
|
64
|
+
flavour = pathlib._posix_flavour
|
|
65
|
+
|
|
66
|
+
def test_parse_parts(self):
|
|
67
|
+
check = self._check_parse_parts
|
|
68
|
+
# Collapsing of excess leading slashes, except for the double-slash
|
|
69
|
+
# special case.
|
|
70
|
+
check(['//a', 'b'], ('', '//', ['//', 'a', 'b']))
|
|
71
|
+
check(['///a', 'b'], ('', '/', ['/', 'a', 'b']))
|
|
72
|
+
check(['////a', 'b'], ('', '/', ['/', 'a', 'b']))
|
|
73
|
+
# Paths which look like NT paths aren't treated specially
|
|
74
|
+
check(['c:a'], ('', '', ['c:a']))
|
|
75
|
+
check(['c:\\a'], ('', '', ['c:\\a']))
|
|
76
|
+
check(['\\a'], ('', '', ['\\a']))
|
|
77
|
+
|
|
78
|
+
def test_splitroot(self):
|
|
79
|
+
f = self.flavour.splitroot
|
|
80
|
+
self.assertEqual(f(''), ('', '', ''))
|
|
81
|
+
self.assertEqual(f('a'), ('', '', 'a'))
|
|
82
|
+
self.assertEqual(f('a/b'), ('', '', 'a/b'))
|
|
83
|
+
self.assertEqual(f('a/b/'), ('', '', 'a/b/'))
|
|
84
|
+
self.assertEqual(f('/a'), ('', '/', 'a'))
|
|
85
|
+
self.assertEqual(f('/a/b'), ('', '/', 'a/b'))
|
|
86
|
+
self.assertEqual(f('/a/b/'), ('', '/', 'a/b/'))
|
|
87
|
+
# The root is collapsed when there are redundant slashes
|
|
88
|
+
# except when there are exactly two leading slashes, which
|
|
89
|
+
# is a special case in POSIX.
|
|
90
|
+
self.assertEqual(f('//a'), ('', '//', 'a'))
|
|
91
|
+
self.assertEqual(f('///a'), ('', '/', 'a'))
|
|
92
|
+
self.assertEqual(f('///a/b'), ('', '/', 'a/b'))
|
|
93
|
+
# Paths which look like NT paths aren't treated specially
|
|
94
|
+
self.assertEqual(f('c:/a/b'), ('', '', 'c:/a/b'))
|
|
95
|
+
self.assertEqual(f('\\/a/b'), ('', '', '\\/a/b'))
|
|
96
|
+
self.assertEqual(f('\\a\\b'), ('', '', '\\a\\b'))
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class NTFlavourTest(_BaseFlavourTest, unittest.TestCase):
|
|
100
|
+
flavour = pathlib._windows_flavour
|
|
101
|
+
|
|
102
|
+
def test_parse_parts(self):
|
|
103
|
+
check = self._check_parse_parts
|
|
104
|
+
# First part is anchored
|
|
105
|
+
check(['c:'], ('c:', '', ['c:']))
|
|
106
|
+
check(['c:/'], ('c:', '\\', ['c:\\']))
|
|
107
|
+
check(['/'], ('', '\\', ['\\']))
|
|
108
|
+
check(['c:a'], ('c:', '', ['c:', 'a']))
|
|
109
|
+
check(['c:/a'], ('c:', '\\', ['c:\\', 'a']))
|
|
110
|
+
check(['/a'], ('', '\\', ['\\', 'a']))
|
|
111
|
+
# UNC paths
|
|
112
|
+
check(['//a/b'], ('\\\\a\\b', '\\', ['\\\\a\\b\\']))
|
|
113
|
+
check(['//a/b/'], ('\\\\a\\b', '\\', ['\\\\a\\b\\']))
|
|
114
|
+
check(['//a/b/c'], ('\\\\a\\b', '\\', ['\\\\a\\b\\', 'c']))
|
|
115
|
+
# Second part is anchored, so that the first part is ignored
|
|
116
|
+
check(['a', 'Z:b', 'c'], ('Z:', '', ['Z:', 'b', 'c']))
|
|
117
|
+
check(['a', 'Z:/b', 'c'], ('Z:', '\\', ['Z:\\', 'b', 'c']))
|
|
118
|
+
# UNC paths
|
|
119
|
+
check(['a', '//b/c', 'd'], ('\\\\b\\c', '\\', ['\\\\b\\c\\', 'd']))
|
|
120
|
+
# Collapsing and stripping excess slashes
|
|
121
|
+
check(['a', 'Z://b//c/', 'd/'], ('Z:', '\\', ['Z:\\', 'b', 'c', 'd']))
|
|
122
|
+
# UNC paths
|
|
123
|
+
check(['a', '//b/c//', 'd'], ('\\\\b\\c', '\\', ['\\\\b\\c\\', 'd']))
|
|
124
|
+
# Extended paths
|
|
125
|
+
check(['//?/c:/'], ('\\\\?\\c:', '\\', ['\\\\?\\c:\\']))
|
|
126
|
+
check(['//?/c:/a'], ('\\\\?\\c:', '\\', ['\\\\?\\c:\\', 'a']))
|
|
127
|
+
check(['//?/c:/a', '/b'], ('\\\\?\\c:', '\\', ['\\\\?\\c:\\', 'b']))
|
|
128
|
+
# Extended UNC paths (format is "\\?\UNC\server\share")
|
|
129
|
+
check(['//?/UNC/b/c'], ('\\\\?\\UNC\\b\\c', '\\', ['\\\\?\\UNC\\b\\c\\']))
|
|
130
|
+
check(['//?/UNC/b/c/d'], ('\\\\?\\UNC\\b\\c', '\\', ['\\\\?\\UNC\\b\\c\\', 'd']))
|
|
131
|
+
# Second part has a root but not drive
|
|
132
|
+
check(['a', '/b', 'c'], ('', '\\', ['\\', 'b', 'c']))
|
|
133
|
+
check(['Z:/a', '/b', 'c'], ('Z:', '\\', ['Z:\\', 'b', 'c']))
|
|
134
|
+
check(['//?/Z:/a', '/b', 'c'], ('\\\\?\\Z:', '\\', ['\\\\?\\Z:\\', 'b', 'c']))
|
|
135
|
+
|
|
136
|
+
def test_splitroot(self):
|
|
137
|
+
f = self.flavour.splitroot
|
|
138
|
+
self.assertEqual(f(''), ('', '', ''))
|
|
139
|
+
self.assertEqual(f('a'), ('', '', 'a'))
|
|
140
|
+
self.assertEqual(f('a\\b'), ('', '', 'a\\b'))
|
|
141
|
+
self.assertEqual(f('\\a'), ('', '\\', 'a'))
|
|
142
|
+
self.assertEqual(f('\\a\\b'), ('', '\\', 'a\\b'))
|
|
143
|
+
self.assertEqual(f('c:a\\b'), ('c:', '', 'a\\b'))
|
|
144
|
+
self.assertEqual(f('c:\\a\\b'), ('c:', '\\', 'a\\b'))
|
|
145
|
+
# Redundant slashes in the root are collapsed
|
|
146
|
+
self.assertEqual(f('\\\\a'), ('', '\\', 'a'))
|
|
147
|
+
self.assertEqual(f('\\\\\\a/b'), ('', '\\', 'a/b'))
|
|
148
|
+
self.assertEqual(f('c:\\\\a'), ('c:', '\\', 'a'))
|
|
149
|
+
self.assertEqual(f('c:\\\\\\a/b'), ('c:', '\\', 'a/b'))
|
|
150
|
+
# Valid UNC paths
|
|
151
|
+
self.assertEqual(f('\\\\a\\b'), ('\\\\a\\b', '\\', ''))
|
|
152
|
+
self.assertEqual(f('\\\\a\\b\\'), ('\\\\a\\b', '\\', ''))
|
|
153
|
+
self.assertEqual(f('\\\\a\\b\\c\\d'), ('\\\\a\\b', '\\', 'c\\d'))
|
|
154
|
+
# These are non-UNC paths (according to ntpath.py and test_ntpath)
|
|
155
|
+
# However, command.com says such paths are invalid, so it's
|
|
156
|
+
# difficult to know what the right semantics are
|
|
157
|
+
self.assertEqual(f('\\\\\\a\\b'), ('', '\\', 'a\\b'))
|
|
158
|
+
self.assertEqual(f('\\\\a'), ('', '\\', 'a'))
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
#
|
|
162
|
+
# Tests for the pure classes
|
|
163
|
+
#
|
|
164
|
+
|
|
165
|
+
class _BasePurePathTest(object):
|
|
166
|
+
|
|
167
|
+
# keys are canonical paths, values are list of tuples of arguments
|
|
168
|
+
# supposed to produce equal paths
|
|
169
|
+
equivalences = {
|
|
170
|
+
'a/b': [
|
|
171
|
+
('a', 'b'), ('a/', 'b'), ('a', 'b/'), ('a/', 'b/'),
|
|
172
|
+
('a/b/',), ('a//b',), ('a//b//',),
|
|
173
|
+
# empty components get removed
|
|
174
|
+
('', 'a', 'b'), ('a', '', 'b'), ('a', 'b', ''),
|
|
175
|
+
],
|
|
176
|
+
'/b/c/d': [
|
|
177
|
+
('a', '/b/c', 'd'), ('a', '///b//c', 'd/'),
|
|
178
|
+
('/a', '/b/c', 'd'),
|
|
179
|
+
# empty components get removed
|
|
180
|
+
('/', 'b', '', 'c/d'), ('/', '', 'b/c/d'), ('', '/b/c/d'),
|
|
181
|
+
],
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
def setUp(self):
|
|
185
|
+
p = self.cls('a')
|
|
186
|
+
self.flavour = p._flavour
|
|
187
|
+
self.sep = self.flavour.sep
|
|
188
|
+
self.altsep = self.flavour.altsep
|
|
189
|
+
|
|
190
|
+
def test_constructor_common(self):
|
|
191
|
+
P = self.cls
|
|
192
|
+
p = P('a')
|
|
193
|
+
self.assertIsInstance(p, P)
|
|
194
|
+
class PathLike:
|
|
195
|
+
def __fspath__(self):
|
|
196
|
+
return "a/b/c"
|
|
197
|
+
P('a', 'b', 'c')
|
|
198
|
+
P('/a', 'b', 'c')
|
|
199
|
+
P('a/b/c')
|
|
200
|
+
P('/a/b/c')
|
|
201
|
+
P(PathLike())
|
|
202
|
+
self.assertEqual(P(P('a')), P('a'))
|
|
203
|
+
self.assertEqual(P(P('a'), 'b'), P('a/b'))
|
|
204
|
+
self.assertEqual(P(P('a'), P('b')), P('a/b'))
|
|
205
|
+
self.assertEqual(P(P('a'), P('b'), P('c')), P(PathLike()))
|
|
206
|
+
|
|
207
|
+
def _check_str_subclass(self, *args):
|
|
208
|
+
# Issue #21127: it should be possible to construct a PurePath object
|
|
209
|
+
# from a str subclass instance, and it then gets converted to
|
|
210
|
+
# a pure str object.
|
|
211
|
+
class StrSubclass(str):
|
|
212
|
+
pass
|
|
213
|
+
P = self.cls
|
|
214
|
+
p = P(*(StrSubclass(x) for x in args))
|
|
215
|
+
self.assertEqual(p, P(*args))
|
|
216
|
+
for part in p.parts:
|
|
217
|
+
self.assertIs(type(part), str)
|
|
218
|
+
|
|
219
|
+
def test_str_subclass_common(self):
|
|
220
|
+
self._check_str_subclass('')
|
|
221
|
+
self._check_str_subclass('.')
|
|
222
|
+
self._check_str_subclass('a')
|
|
223
|
+
self._check_str_subclass('a/b.txt')
|
|
224
|
+
self._check_str_subclass('/a/b.txt')
|
|
225
|
+
|
|
226
|
+
def test_join_common(self):
|
|
227
|
+
P = self.cls
|
|
228
|
+
p = P('a/b')
|
|
229
|
+
pp = p.joinpath('c')
|
|
230
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
231
|
+
self.assertIs(type(pp), type(p))
|
|
232
|
+
pp = p.joinpath('c', 'd')
|
|
233
|
+
self.assertEqual(pp, P('a/b/c/d'))
|
|
234
|
+
pp = p.joinpath(P('c'))
|
|
235
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
236
|
+
pp = p.joinpath('/c')
|
|
237
|
+
self.assertEqual(pp, P('/c'))
|
|
238
|
+
|
|
239
|
+
def test_div_common(self):
|
|
240
|
+
# Basically the same as joinpath()
|
|
241
|
+
P = self.cls
|
|
242
|
+
p = P('a/b')
|
|
243
|
+
pp = p / 'c'
|
|
244
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
245
|
+
self.assertIs(type(pp), type(p))
|
|
246
|
+
pp = p / 'c/d'
|
|
247
|
+
self.assertEqual(pp, P('a/b/c/d'))
|
|
248
|
+
pp = p / 'c' / 'd'
|
|
249
|
+
self.assertEqual(pp, P('a/b/c/d'))
|
|
250
|
+
pp = 'c' / p / 'd'
|
|
251
|
+
self.assertEqual(pp, P('c/a/b/d'))
|
|
252
|
+
pp = p / P('c')
|
|
253
|
+
self.assertEqual(pp, P('a/b/c'))
|
|
254
|
+
pp = p/ '/c'
|
|
255
|
+
self.assertEqual(pp, P('/c'))
|
|
256
|
+
|
|
257
|
+
def _check_str(self, expected, args):
|
|
258
|
+
p = self.cls(*args)
|
|
259
|
+
self.assertEqual(str(p), expected.replace('/', self.sep))
|
|
260
|
+
|
|
261
|
+
def test_str_common(self):
|
|
262
|
+
# Canonicalized paths roundtrip
|
|
263
|
+
for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'):
|
|
264
|
+
self._check_str(pathstr, (pathstr,))
|
|
265
|
+
# Special case for the empty path
|
|
266
|
+
self._check_str('.', ('',))
|
|
267
|
+
# Other tests for str() are in test_equivalences()
|
|
268
|
+
|
|
269
|
+
def test_as_posix_common(self):
|
|
270
|
+
P = self.cls
|
|
271
|
+
for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'):
|
|
272
|
+
self.assertEqual(P(pathstr).as_posix(), pathstr)
|
|
273
|
+
# Other tests for as_posix() are in test_equivalences()
|
|
274
|
+
|
|
275
|
+
def test_as_bytes_common(self):
|
|
276
|
+
sep = os.fsencode(self.sep)
|
|
277
|
+
P = self.cls
|
|
278
|
+
self.assertEqual(bytes(P('a/b')), b'a' + sep + b'b')
|
|
279
|
+
|
|
280
|
+
def test_as_uri_common(self):
|
|
281
|
+
P = self.cls
|
|
282
|
+
with self.assertRaises(ValueError):
|
|
283
|
+
P('a').as_uri()
|
|
284
|
+
with self.assertRaises(ValueError):
|
|
285
|
+
P().as_uri()
|
|
286
|
+
|
|
287
|
+
def test_repr_common(self):
|
|
288
|
+
for pathstr in ('a', 'a/b', 'a/b/c', '/', '/a/b', '/a/b/c'):
|
|
289
|
+
p = self.cls(pathstr)
|
|
290
|
+
clsname = p.__class__.__name__
|
|
291
|
+
r = repr(p)
|
|
292
|
+
# The repr() is in the form ClassName("forward-slashes path")
|
|
293
|
+
self.assertTrue(r.startswith(clsname + '('), r)
|
|
294
|
+
self.assertTrue(r.endswith(')'), r)
|
|
295
|
+
inner = r[len(clsname) + 1 : -1]
|
|
296
|
+
self.assertEqual(eval(inner), p.as_posix())
|
|
297
|
+
# The repr() roundtrips
|
|
298
|
+
q = eval(r, pathlib.__dict__)
|
|
299
|
+
self.assertIs(q.__class__, p.__class__)
|
|
300
|
+
self.assertEqual(q, p)
|
|
301
|
+
self.assertEqual(repr(q), r)
|
|
302
|
+
|
|
303
|
+
def test_eq_common(self):
|
|
304
|
+
P = self.cls
|
|
305
|
+
self.assertEqual(P('a/b'), P('a/b'))
|
|
306
|
+
self.assertEqual(P('a/b'), P('a', 'b'))
|
|
307
|
+
self.assertNotEqual(P('a/b'), P('a'))
|
|
308
|
+
self.assertNotEqual(P('a/b'), P('/a/b'))
|
|
309
|
+
self.assertNotEqual(P('a/b'), P())
|
|
310
|
+
self.assertNotEqual(P('/a/b'), P('/'))
|
|
311
|
+
self.assertNotEqual(P(), P('/'))
|
|
312
|
+
self.assertNotEqual(P(), "")
|
|
313
|
+
self.assertNotEqual(P(), {})
|
|
314
|
+
self.assertNotEqual(P(), int)
|
|
315
|
+
|
|
316
|
+
def test_match_common(self):
|
|
317
|
+
P = self.cls
|
|
318
|
+
self.assertRaises(ValueError, P('a').match, '')
|
|
319
|
+
self.assertRaises(ValueError, P('a').match, '.')
|
|
320
|
+
# Simple relative pattern
|
|
321
|
+
self.assertTrue(P('b.py').match('b.py'))
|
|
322
|
+
self.assertTrue(P('a/b.py').match('b.py'))
|
|
323
|
+
self.assertTrue(P('/a/b.py').match('b.py'))
|
|
324
|
+
self.assertFalse(P('a.py').match('b.py'))
|
|
325
|
+
self.assertFalse(P('b/py').match('b.py'))
|
|
326
|
+
self.assertFalse(P('/a.py').match('b.py'))
|
|
327
|
+
self.assertFalse(P('b.py/c').match('b.py'))
|
|
328
|
+
# Wilcard relative pattern
|
|
329
|
+
self.assertTrue(P('b.py').match('*.py'))
|
|
330
|
+
self.assertTrue(P('a/b.py').match('*.py'))
|
|
331
|
+
self.assertTrue(P('/a/b.py').match('*.py'))
|
|
332
|
+
self.assertFalse(P('b.pyc').match('*.py'))
|
|
333
|
+
self.assertFalse(P('b./py').match('*.py'))
|
|
334
|
+
self.assertFalse(P('b.py/c').match('*.py'))
|
|
335
|
+
# Multi-part relative pattern
|
|
336
|
+
self.assertTrue(P('ab/c.py').match('a*/*.py'))
|
|
337
|
+
self.assertTrue(P('/d/ab/c.py').match('a*/*.py'))
|
|
338
|
+
self.assertFalse(P('a.py').match('a*/*.py'))
|
|
339
|
+
self.assertFalse(P('/dab/c.py').match('a*/*.py'))
|
|
340
|
+
self.assertFalse(P('ab/c.py/d').match('a*/*.py'))
|
|
341
|
+
# Absolute pattern
|
|
342
|
+
self.assertTrue(P('/b.py').match('/*.py'))
|
|
343
|
+
self.assertFalse(P('b.py').match('/*.py'))
|
|
344
|
+
self.assertFalse(P('a/b.py').match('/*.py'))
|
|
345
|
+
self.assertFalse(P('/a/b.py').match('/*.py'))
|
|
346
|
+
# Multi-part absolute pattern
|
|
347
|
+
self.assertTrue(P('/a/b.py').match('/a/*.py'))
|
|
348
|
+
self.assertFalse(P('/ab.py').match('/a/*.py'))
|
|
349
|
+
self.assertFalse(P('/a/b/c.py').match('/a/*.py'))
|
|
350
|
+
|
|
351
|
+
def test_ordering_common(self):
|
|
352
|
+
# Ordering is tuple-alike
|
|
353
|
+
def assertLess(a, b):
|
|
354
|
+
self.assertLess(a, b)
|
|
355
|
+
self.assertGreater(b, a)
|
|
356
|
+
P = self.cls
|
|
357
|
+
a = P('a')
|
|
358
|
+
b = P('a/b')
|
|
359
|
+
c = P('abc')
|
|
360
|
+
d = P('b')
|
|
361
|
+
assertLess(a, b)
|
|
362
|
+
assertLess(a, c)
|
|
363
|
+
assertLess(a, d)
|
|
364
|
+
assertLess(b, c)
|
|
365
|
+
assertLess(c, d)
|
|
366
|
+
P = self.cls
|
|
367
|
+
a = P('/a')
|
|
368
|
+
b = P('/a/b')
|
|
369
|
+
c = P('/abc')
|
|
370
|
+
d = P('/b')
|
|
371
|
+
assertLess(a, b)
|
|
372
|
+
assertLess(a, c)
|
|
373
|
+
assertLess(a, d)
|
|
374
|
+
assertLess(b, c)
|
|
375
|
+
assertLess(c, d)
|
|
376
|
+
with self.assertRaises(TypeError):
|
|
377
|
+
P() < {}
|
|
378
|
+
|
|
379
|
+
def test_parts_common(self):
|
|
380
|
+
# `parts` returns a tuple
|
|
381
|
+
sep = self.sep
|
|
382
|
+
P = self.cls
|
|
383
|
+
p = P('a/b')
|
|
384
|
+
parts = p.parts
|
|
385
|
+
self.assertEqual(parts, ('a', 'b'))
|
|
386
|
+
# The object gets reused
|
|
387
|
+
self.assertIs(parts, p.parts)
|
|
388
|
+
# When the path is absolute, the anchor is a separate part
|
|
389
|
+
p = P('/a/b')
|
|
390
|
+
parts = p.parts
|
|
391
|
+
self.assertEqual(parts, (sep, 'a', 'b'))
|
|
392
|
+
|
|
393
|
+
def test_fspath_common(self):
|
|
394
|
+
P = self.cls
|
|
395
|
+
p = P('a/b')
|
|
396
|
+
self._check_str(p.__fspath__(), ('a/b',))
|
|
397
|
+
self._check_str(os.fspath(p), ('a/b',))
|
|
398
|
+
|
|
399
|
+
def test_equivalences(self):
|
|
400
|
+
for k, tuples in self.equivalences.items():
|
|
401
|
+
canon = k.replace('/', self.sep)
|
|
402
|
+
posix = k.replace(self.sep, '/')
|
|
403
|
+
if canon != posix:
|
|
404
|
+
tuples = tuples + [
|
|
405
|
+
tuple(part.replace('/', self.sep) for part in t)
|
|
406
|
+
for t in tuples
|
|
407
|
+
]
|
|
408
|
+
tuples.append((posix, ))
|
|
409
|
+
pcanon = self.cls(canon)
|
|
410
|
+
for t in tuples:
|
|
411
|
+
p = self.cls(*t)
|
|
412
|
+
self.assertEqual(p, pcanon, "failed with args {}".format(t))
|
|
413
|
+
self.assertEqual(hash(p), hash(pcanon))
|
|
414
|
+
self.assertEqual(str(p), canon)
|
|
415
|
+
self.assertEqual(p.as_posix(), posix)
|
|
416
|
+
|
|
417
|
+
def test_parent_common(self):
|
|
418
|
+
# Relative
|
|
419
|
+
P = self.cls
|
|
420
|
+
p = P('a/b/c')
|
|
421
|
+
self.assertEqual(p.parent, P('a/b'))
|
|
422
|
+
self.assertEqual(p.parent.parent, P('a'))
|
|
423
|
+
self.assertEqual(p.parent.parent.parent, P())
|
|
424
|
+
self.assertEqual(p.parent.parent.parent.parent, P())
|
|
425
|
+
# Anchored
|
|
426
|
+
p = P('/a/b/c')
|
|
427
|
+
self.assertEqual(p.parent, P('/a/b'))
|
|
428
|
+
self.assertEqual(p.parent.parent, P('/a'))
|
|
429
|
+
self.assertEqual(p.parent.parent.parent, P('/'))
|
|
430
|
+
self.assertEqual(p.parent.parent.parent.parent, P('/'))
|
|
431
|
+
|
|
432
|
+
def test_parents_common(self):
|
|
433
|
+
# Relative
|
|
434
|
+
P = self.cls
|
|
435
|
+
p = P('a/b/c')
|
|
436
|
+
par = p.parents
|
|
437
|
+
self.assertEqual(len(par), 3)
|
|
438
|
+
self.assertEqual(par[0], P('a/b'))
|
|
439
|
+
self.assertEqual(par[1], P('a'))
|
|
440
|
+
self.assertEqual(par[2], P('.'))
|
|
441
|
+
self.assertEqual(list(par), [P('a/b'), P('a'), P('.')])
|
|
442
|
+
with self.assertRaises(IndexError):
|
|
443
|
+
par[-1]
|
|
444
|
+
with self.assertRaises(IndexError):
|
|
445
|
+
par[3]
|
|
446
|
+
with self.assertRaises(TypeError):
|
|
447
|
+
par[0] = p
|
|
448
|
+
# Anchored
|
|
449
|
+
p = P('/a/b/c')
|
|
450
|
+
par = p.parents
|
|
451
|
+
self.assertEqual(len(par), 3)
|
|
452
|
+
self.assertEqual(par[0], P('/a/b'))
|
|
453
|
+
self.assertEqual(par[1], P('/a'))
|
|
454
|
+
self.assertEqual(par[2], P('/'))
|
|
455
|
+
self.assertEqual(list(par), [P('/a/b'), P('/a'), P('/')])
|
|
456
|
+
with self.assertRaises(IndexError):
|
|
457
|
+
par[3]
|
|
458
|
+
|
|
459
|
+
def test_drive_common(self):
|
|
460
|
+
P = self.cls
|
|
461
|
+
self.assertEqual(P('a/b').drive, '')
|
|
462
|
+
self.assertEqual(P('/a/b').drive, '')
|
|
463
|
+
self.assertEqual(P('').drive, '')
|
|
464
|
+
|
|
465
|
+
def test_root_common(self):
|
|
466
|
+
P = self.cls
|
|
467
|
+
sep = self.sep
|
|
468
|
+
self.assertEqual(P('').root, '')
|
|
469
|
+
self.assertEqual(P('a/b').root, '')
|
|
470
|
+
self.assertEqual(P('/').root, sep)
|
|
471
|
+
self.assertEqual(P('/a/b').root, sep)
|
|
472
|
+
|
|
473
|
+
def test_anchor_common(self):
|
|
474
|
+
P = self.cls
|
|
475
|
+
sep = self.sep
|
|
476
|
+
self.assertEqual(P('').anchor, '')
|
|
477
|
+
self.assertEqual(P('a/b').anchor, '')
|
|
478
|
+
self.assertEqual(P('/').anchor, sep)
|
|
479
|
+
self.assertEqual(P('/a/b').anchor, sep)
|
|
480
|
+
|
|
481
|
+
def test_name_common(self):
|
|
482
|
+
P = self.cls
|
|
483
|
+
self.assertEqual(P('').name, '')
|
|
484
|
+
self.assertEqual(P('.').name, '')
|
|
485
|
+
self.assertEqual(P('/').name, '')
|
|
486
|
+
self.assertEqual(P('a/b').name, 'b')
|
|
487
|
+
self.assertEqual(P('/a/b').name, 'b')
|
|
488
|
+
self.assertEqual(P('/a/b/.').name, 'b')
|
|
489
|
+
self.assertEqual(P('a/b.py').name, 'b.py')
|
|
490
|
+
self.assertEqual(P('/a/b.py').name, 'b.py')
|
|
491
|
+
|
|
492
|
+
def test_suffix_common(self):
|
|
493
|
+
P = self.cls
|
|
494
|
+
self.assertEqual(P('').suffix, '')
|
|
495
|
+
self.assertEqual(P('.').suffix, '')
|
|
496
|
+
self.assertEqual(P('..').suffix, '')
|
|
497
|
+
self.assertEqual(P('/').suffix, '')
|
|
498
|
+
self.assertEqual(P('a/b').suffix, '')
|
|
499
|
+
self.assertEqual(P('/a/b').suffix, '')
|
|
500
|
+
self.assertEqual(P('/a/b/.').suffix, '')
|
|
501
|
+
self.assertEqual(P('a/b.py').suffix, '.py')
|
|
502
|
+
self.assertEqual(P('/a/b.py').suffix, '.py')
|
|
503
|
+
self.assertEqual(P('a/.hgrc').suffix, '')
|
|
504
|
+
self.assertEqual(P('/a/.hgrc').suffix, '')
|
|
505
|
+
self.assertEqual(P('a/.hg.rc').suffix, '.rc')
|
|
506
|
+
self.assertEqual(P('/a/.hg.rc').suffix, '.rc')
|
|
507
|
+
self.assertEqual(P('a/b.tar.gz').suffix, '.gz')
|
|
508
|
+
self.assertEqual(P('/a/b.tar.gz').suffix, '.gz')
|
|
509
|
+
self.assertEqual(P('a/Some name. Ending with a dot.').suffix, '')
|
|
510
|
+
self.assertEqual(P('/a/Some name. Ending with a dot.').suffix, '')
|
|
511
|
+
|
|
512
|
+
def test_suffixes_common(self):
|
|
513
|
+
P = self.cls
|
|
514
|
+
self.assertEqual(P('').suffixes, [])
|
|
515
|
+
self.assertEqual(P('.').suffixes, [])
|
|
516
|
+
self.assertEqual(P('/').suffixes, [])
|
|
517
|
+
self.assertEqual(P('a/b').suffixes, [])
|
|
518
|
+
self.assertEqual(P('/a/b').suffixes, [])
|
|
519
|
+
self.assertEqual(P('/a/b/.').suffixes, [])
|
|
520
|
+
self.assertEqual(P('a/b.py').suffixes, ['.py'])
|
|
521
|
+
self.assertEqual(P('/a/b.py').suffixes, ['.py'])
|
|
522
|
+
self.assertEqual(P('a/.hgrc').suffixes, [])
|
|
523
|
+
self.assertEqual(P('/a/.hgrc').suffixes, [])
|
|
524
|
+
self.assertEqual(P('a/.hg.rc').suffixes, ['.rc'])
|
|
525
|
+
self.assertEqual(P('/a/.hg.rc').suffixes, ['.rc'])
|
|
526
|
+
self.assertEqual(P('a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
527
|
+
self.assertEqual(P('/a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
528
|
+
self.assertEqual(P('a/Some name. Ending with a dot.').suffixes, [])
|
|
529
|
+
self.assertEqual(P('/a/Some name. Ending with a dot.').suffixes, [])
|
|
530
|
+
|
|
531
|
+
def test_stem_common(self):
|
|
532
|
+
P = self.cls
|
|
533
|
+
self.assertEqual(P('').stem, '')
|
|
534
|
+
self.assertEqual(P('.').stem, '')
|
|
535
|
+
self.assertEqual(P('..').stem, '..')
|
|
536
|
+
self.assertEqual(P('/').stem, '')
|
|
537
|
+
self.assertEqual(P('a/b').stem, 'b')
|
|
538
|
+
self.assertEqual(P('a/b.py').stem, 'b')
|
|
539
|
+
self.assertEqual(P('a/.hgrc').stem, '.hgrc')
|
|
540
|
+
self.assertEqual(P('a/.hg.rc').stem, '.hg')
|
|
541
|
+
self.assertEqual(P('a/b.tar.gz').stem, 'b.tar')
|
|
542
|
+
self.assertEqual(P('a/Some name. Ending with a dot.').stem,
|
|
543
|
+
'Some name. Ending with a dot.')
|
|
544
|
+
|
|
545
|
+
def test_with_name_common(self):
|
|
546
|
+
P = self.cls
|
|
547
|
+
self.assertEqual(P('a/b').with_name('d.xml'), P('a/d.xml'))
|
|
548
|
+
self.assertEqual(P('/a/b').with_name('d.xml'), P('/a/d.xml'))
|
|
549
|
+
self.assertEqual(P('a/b.py').with_name('d.xml'), P('a/d.xml'))
|
|
550
|
+
self.assertEqual(P('/a/b.py').with_name('d.xml'), P('/a/d.xml'))
|
|
551
|
+
self.assertEqual(P('a/Dot ending.').with_name('d.xml'), P('a/d.xml'))
|
|
552
|
+
self.assertEqual(P('/a/Dot ending.').with_name('d.xml'), P('/a/d.xml'))
|
|
553
|
+
self.assertRaises(ValueError, P('').with_name, 'd.xml')
|
|
554
|
+
self.assertRaises(ValueError, P('.').with_name, 'd.xml')
|
|
555
|
+
self.assertRaises(ValueError, P('/').with_name, 'd.xml')
|
|
556
|
+
self.assertRaises(ValueError, P('a/b').with_name, '')
|
|
557
|
+
self.assertRaises(ValueError, P('a/b').with_name, '/c')
|
|
558
|
+
self.assertRaises(ValueError, P('a/b').with_name, 'c/')
|
|
559
|
+
self.assertRaises(ValueError, P('a/b').with_name, 'c/d')
|
|
560
|
+
|
|
561
|
+
def test_with_suffix_common(self):
|
|
562
|
+
P = self.cls
|
|
563
|
+
self.assertEqual(P('a/b').with_suffix('.gz'), P('a/b.gz'))
|
|
564
|
+
self.assertEqual(P('/a/b').with_suffix('.gz'), P('/a/b.gz'))
|
|
565
|
+
self.assertEqual(P('a/b.py').with_suffix('.gz'), P('a/b.gz'))
|
|
566
|
+
self.assertEqual(P('/a/b.py').with_suffix('.gz'), P('/a/b.gz'))
|
|
567
|
+
# Stripping suffix
|
|
568
|
+
self.assertEqual(P('a/b.py').with_suffix(''), P('a/b'))
|
|
569
|
+
self.assertEqual(P('/a/b').with_suffix(''), P('/a/b'))
|
|
570
|
+
# Path doesn't have a "filename" component
|
|
571
|
+
self.assertRaises(ValueError, P('').with_suffix, '.gz')
|
|
572
|
+
self.assertRaises(ValueError, P('.').with_suffix, '.gz')
|
|
573
|
+
self.assertRaises(ValueError, P('/').with_suffix, '.gz')
|
|
574
|
+
# Invalid suffix
|
|
575
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, 'gz')
|
|
576
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '/')
|
|
577
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '.')
|
|
578
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '/.gz')
|
|
579
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, 'c/d')
|
|
580
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '.c/.d')
|
|
581
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, './.d')
|
|
582
|
+
self.assertRaises(ValueError, P('a/b').with_suffix, '.d/.')
|
|
583
|
+
|
|
584
|
+
def test_relative_to_common(self):
|
|
585
|
+
P = self.cls
|
|
586
|
+
p = P('a/b')
|
|
587
|
+
self.assertRaises(TypeError, p.relative_to)
|
|
588
|
+
self.assertRaises(TypeError, p.relative_to, b'a')
|
|
589
|
+
self.assertEqual(p.relative_to(P()), P('a/b'))
|
|
590
|
+
self.assertEqual(p.relative_to(''), P('a/b'))
|
|
591
|
+
self.assertEqual(p.relative_to(P('a')), P('b'))
|
|
592
|
+
self.assertEqual(p.relative_to('a'), P('b'))
|
|
593
|
+
self.assertEqual(p.relative_to('a/'), P('b'))
|
|
594
|
+
self.assertEqual(p.relative_to(P('a/b')), P())
|
|
595
|
+
self.assertEqual(p.relative_to('a/b'), P())
|
|
596
|
+
# With several args
|
|
597
|
+
self.assertEqual(p.relative_to('a', 'b'), P())
|
|
598
|
+
# Unrelated paths
|
|
599
|
+
self.assertRaises(ValueError, p.relative_to, P('c'))
|
|
600
|
+
self.assertRaises(ValueError, p.relative_to, P('a/b/c'))
|
|
601
|
+
self.assertRaises(ValueError, p.relative_to, P('a/c'))
|
|
602
|
+
self.assertRaises(ValueError, p.relative_to, P('/a'))
|
|
603
|
+
p = P('/a/b')
|
|
604
|
+
self.assertEqual(p.relative_to(P('/')), P('a/b'))
|
|
605
|
+
self.assertEqual(p.relative_to('/'), P('a/b'))
|
|
606
|
+
self.assertEqual(p.relative_to(P('/a')), P('b'))
|
|
607
|
+
self.assertEqual(p.relative_to('/a'), P('b'))
|
|
608
|
+
self.assertEqual(p.relative_to('/a/'), P('b'))
|
|
609
|
+
self.assertEqual(p.relative_to(P('/a/b')), P())
|
|
610
|
+
self.assertEqual(p.relative_to('/a/b'), P())
|
|
611
|
+
# Unrelated paths
|
|
612
|
+
self.assertRaises(ValueError, p.relative_to, P('/c'))
|
|
613
|
+
self.assertRaises(ValueError, p.relative_to, P('/a/b/c'))
|
|
614
|
+
self.assertRaises(ValueError, p.relative_to, P('/a/c'))
|
|
615
|
+
self.assertRaises(ValueError, p.relative_to, P())
|
|
616
|
+
self.assertRaises(ValueError, p.relative_to, '')
|
|
617
|
+
self.assertRaises(ValueError, p.relative_to, P('a'))
|
|
618
|
+
|
|
619
|
+
def test_pickling_common(self):
|
|
620
|
+
P = self.cls
|
|
621
|
+
p = P('/a/b')
|
|
622
|
+
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
623
|
+
dumped = pickle.dumps(p, proto)
|
|
624
|
+
pp = pickle.loads(dumped)
|
|
625
|
+
self.assertIs(pp.__class__, p.__class__)
|
|
626
|
+
self.assertEqual(pp, p)
|
|
627
|
+
self.assertEqual(hash(pp), hash(p))
|
|
628
|
+
self.assertEqual(str(pp), str(p))
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
class PurePosixPathTest(_BasePurePathTest, unittest.TestCase):
|
|
632
|
+
cls = pathlib.PurePosixPath
|
|
633
|
+
|
|
634
|
+
def test_root(self):
|
|
635
|
+
P = self.cls
|
|
636
|
+
self.assertEqual(P('/a/b').root, '/')
|
|
637
|
+
self.assertEqual(P('///a/b').root, '/')
|
|
638
|
+
# POSIX special case for two leading slashes
|
|
639
|
+
self.assertEqual(P('//a/b').root, '//')
|
|
640
|
+
|
|
641
|
+
def test_eq(self):
|
|
642
|
+
P = self.cls
|
|
643
|
+
self.assertNotEqual(P('a/b'), P('A/b'))
|
|
644
|
+
self.assertEqual(P('/a'), P('///a'))
|
|
645
|
+
self.assertNotEqual(P('/a'), P('//a'))
|
|
646
|
+
|
|
647
|
+
def test_as_uri(self):
|
|
648
|
+
P = self.cls
|
|
649
|
+
self.assertEqual(P('/').as_uri(), 'file:///')
|
|
650
|
+
self.assertEqual(P('/a/b.c').as_uri(), 'file:///a/b.c')
|
|
651
|
+
self.assertEqual(P('/a/b%#c').as_uri(), 'file:///a/b%25%23c')
|
|
652
|
+
|
|
653
|
+
def test_as_uri_non_ascii(self):
|
|
654
|
+
from urllib.parse import quote_from_bytes
|
|
655
|
+
P = self.cls
|
|
656
|
+
try:
|
|
657
|
+
os.fsencode('\xe9')
|
|
658
|
+
except UnicodeEncodeError:
|
|
659
|
+
self.skipTest("\\xe9 cannot be encoded to the filesystem encoding")
|
|
660
|
+
self.assertEqual(P('/a/b\xe9').as_uri(),
|
|
661
|
+
'file:///a/b' + quote_from_bytes(os.fsencode('\xe9')))
|
|
662
|
+
|
|
663
|
+
def test_match(self):
|
|
664
|
+
P = self.cls
|
|
665
|
+
self.assertFalse(P('A.py').match('a.PY'))
|
|
666
|
+
|
|
667
|
+
def test_is_absolute(self):
|
|
668
|
+
P = self.cls
|
|
669
|
+
self.assertFalse(P().is_absolute())
|
|
670
|
+
self.assertFalse(P('a').is_absolute())
|
|
671
|
+
self.assertFalse(P('a/b/').is_absolute())
|
|
672
|
+
self.assertTrue(P('/').is_absolute())
|
|
673
|
+
self.assertTrue(P('/a').is_absolute())
|
|
674
|
+
self.assertTrue(P('/a/b/').is_absolute())
|
|
675
|
+
self.assertTrue(P('//a').is_absolute())
|
|
676
|
+
self.assertTrue(P('//a/b').is_absolute())
|
|
677
|
+
|
|
678
|
+
def test_is_reserved(self):
|
|
679
|
+
P = self.cls
|
|
680
|
+
self.assertIs(False, P('').is_reserved())
|
|
681
|
+
self.assertIs(False, P('/').is_reserved())
|
|
682
|
+
self.assertIs(False, P('/foo/bar').is_reserved())
|
|
683
|
+
self.assertIs(False, P('/dev/con/PRN/NUL').is_reserved())
|
|
684
|
+
|
|
685
|
+
def test_join(self):
|
|
686
|
+
P = self.cls
|
|
687
|
+
p = P('//a')
|
|
688
|
+
pp = p.joinpath('b')
|
|
689
|
+
self.assertEqual(pp, P('//a/b'))
|
|
690
|
+
pp = P('/a').joinpath('//c')
|
|
691
|
+
self.assertEqual(pp, P('//c'))
|
|
692
|
+
pp = P('//a').joinpath('/c')
|
|
693
|
+
self.assertEqual(pp, P('/c'))
|
|
694
|
+
|
|
695
|
+
def test_div(self):
|
|
696
|
+
# Basically the same as joinpath()
|
|
697
|
+
P = self.cls
|
|
698
|
+
p = P('//a')
|
|
699
|
+
pp = p / 'b'
|
|
700
|
+
self.assertEqual(pp, P('//a/b'))
|
|
701
|
+
pp = P('/a') / '//c'
|
|
702
|
+
self.assertEqual(pp, P('//c'))
|
|
703
|
+
pp = P('//a') / '/c'
|
|
704
|
+
self.assertEqual(pp, P('/c'))
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
class PureWindowsPathTest(_BasePurePathTest, unittest.TestCase):
|
|
708
|
+
cls = pathlib.PureWindowsPath
|
|
709
|
+
|
|
710
|
+
equivalences = _BasePurePathTest.equivalences.copy()
|
|
711
|
+
equivalences.update({
|
|
712
|
+
'c:a': [ ('c:', 'a'), ('c:', 'a/'), ('/', 'c:', 'a') ],
|
|
713
|
+
'c:/a': [
|
|
714
|
+
('c:/', 'a'), ('c:', '/', 'a'), ('c:', '/a'),
|
|
715
|
+
('/z', 'c:/', 'a'), ('//x/y', 'c:/', 'a'),
|
|
716
|
+
],
|
|
717
|
+
'//a/b/': [ ('//a/b',) ],
|
|
718
|
+
'//a/b/c': [
|
|
719
|
+
('//a/b', 'c'), ('//a/b/', 'c'),
|
|
720
|
+
],
|
|
721
|
+
})
|
|
722
|
+
|
|
723
|
+
def test_str(self):
|
|
724
|
+
p = self.cls('a/b/c')
|
|
725
|
+
self.assertEqual(str(p), 'a\\b\\c')
|
|
726
|
+
p = self.cls('c:/a/b/c')
|
|
727
|
+
self.assertEqual(str(p), 'c:\\a\\b\\c')
|
|
728
|
+
p = self.cls('//a/b')
|
|
729
|
+
self.assertEqual(str(p), '\\\\a\\b\\')
|
|
730
|
+
p = self.cls('//a/b/c')
|
|
731
|
+
self.assertEqual(str(p), '\\\\a\\b\\c')
|
|
732
|
+
p = self.cls('//a/b/c/d')
|
|
733
|
+
self.assertEqual(str(p), '\\\\a\\b\\c\\d')
|
|
734
|
+
|
|
735
|
+
def test_str_subclass(self):
|
|
736
|
+
self._check_str_subclass('c:')
|
|
737
|
+
self._check_str_subclass('c:a')
|
|
738
|
+
self._check_str_subclass('c:a\\b.txt')
|
|
739
|
+
self._check_str_subclass('c:\\')
|
|
740
|
+
self._check_str_subclass('c:\\a')
|
|
741
|
+
self._check_str_subclass('c:\\a\\b.txt')
|
|
742
|
+
self._check_str_subclass('\\\\some\\share')
|
|
743
|
+
self._check_str_subclass('\\\\some\\share\\a')
|
|
744
|
+
self._check_str_subclass('\\\\some\\share\\a\\b.txt')
|
|
745
|
+
|
|
746
|
+
def test_eq(self):
|
|
747
|
+
P = self.cls
|
|
748
|
+
self.assertEqual(P('c:a/b'), P('c:a/b'))
|
|
749
|
+
self.assertEqual(P('c:a/b'), P('c:', 'a', 'b'))
|
|
750
|
+
self.assertNotEqual(P('c:a/b'), P('d:a/b'))
|
|
751
|
+
self.assertNotEqual(P('c:a/b'), P('c:/a/b'))
|
|
752
|
+
self.assertNotEqual(P('/a/b'), P('c:/a/b'))
|
|
753
|
+
# Case-insensitivity
|
|
754
|
+
self.assertEqual(P('a/B'), P('A/b'))
|
|
755
|
+
self.assertEqual(P('C:a/B'), P('c:A/b'))
|
|
756
|
+
self.assertEqual(P('//Some/SHARE/a/B'), P('//somE/share/A/b'))
|
|
757
|
+
|
|
758
|
+
def test_as_uri(self):
|
|
759
|
+
P = self.cls
|
|
760
|
+
with self.assertRaises(ValueError):
|
|
761
|
+
P('/a/b').as_uri()
|
|
762
|
+
with self.assertRaises(ValueError):
|
|
763
|
+
P('c:a/b').as_uri()
|
|
764
|
+
self.assertEqual(P('c:/').as_uri(), 'file:///c:/')
|
|
765
|
+
self.assertEqual(P('c:/a/b.c').as_uri(), 'file:///c:/a/b.c')
|
|
766
|
+
self.assertEqual(P('c:/a/b%#c').as_uri(), 'file:///c:/a/b%25%23c')
|
|
767
|
+
self.assertEqual(P('c:/a/b\xe9').as_uri(), 'file:///c:/a/b%C3%A9')
|
|
768
|
+
self.assertEqual(P('//some/share/').as_uri(), 'file://some/share/')
|
|
769
|
+
self.assertEqual(P('//some/share/a/b.c').as_uri(),
|
|
770
|
+
'file://some/share/a/b.c')
|
|
771
|
+
self.assertEqual(P('//some/share/a/b%#c\xe9').as_uri(),
|
|
772
|
+
'file://some/share/a/b%25%23c%C3%A9')
|
|
773
|
+
|
|
774
|
+
def test_match_common(self):
|
|
775
|
+
P = self.cls
|
|
776
|
+
# Absolute patterns
|
|
777
|
+
self.assertTrue(P('c:/b.py').match('/*.py'))
|
|
778
|
+
self.assertTrue(P('c:/b.py').match('c:*.py'))
|
|
779
|
+
self.assertTrue(P('c:/b.py').match('c:/*.py'))
|
|
780
|
+
self.assertFalse(P('d:/b.py').match('c:/*.py')) # wrong drive
|
|
781
|
+
self.assertFalse(P('b.py').match('/*.py'))
|
|
782
|
+
self.assertFalse(P('b.py').match('c:*.py'))
|
|
783
|
+
self.assertFalse(P('b.py').match('c:/*.py'))
|
|
784
|
+
self.assertFalse(P('c:b.py').match('/*.py'))
|
|
785
|
+
self.assertFalse(P('c:b.py').match('c:/*.py'))
|
|
786
|
+
self.assertFalse(P('/b.py').match('c:*.py'))
|
|
787
|
+
self.assertFalse(P('/b.py').match('c:/*.py'))
|
|
788
|
+
# UNC patterns
|
|
789
|
+
self.assertTrue(P('//some/share/a.py').match('/*.py'))
|
|
790
|
+
self.assertTrue(P('//some/share/a.py').match('//some/share/*.py'))
|
|
791
|
+
self.assertFalse(P('//other/share/a.py').match('//some/share/*.py'))
|
|
792
|
+
self.assertFalse(P('//some/share/a/b.py').match('//some/share/*.py'))
|
|
793
|
+
# Case-insensitivity
|
|
794
|
+
self.assertTrue(P('B.py').match('b.PY'))
|
|
795
|
+
self.assertTrue(P('c:/a/B.Py').match('C:/A/*.pY'))
|
|
796
|
+
self.assertTrue(P('//Some/Share/B.Py').match('//somE/sharE/*.pY'))
|
|
797
|
+
|
|
798
|
+
def test_ordering_common(self):
|
|
799
|
+
# Case-insensitivity
|
|
800
|
+
def assertOrderedEqual(a, b):
|
|
801
|
+
self.assertLessEqual(a, b)
|
|
802
|
+
self.assertGreaterEqual(b, a)
|
|
803
|
+
P = self.cls
|
|
804
|
+
p = P('c:A/b')
|
|
805
|
+
q = P('C:a/B')
|
|
806
|
+
assertOrderedEqual(p, q)
|
|
807
|
+
self.assertFalse(p < q)
|
|
808
|
+
self.assertFalse(p > q)
|
|
809
|
+
p = P('//some/Share/A/b')
|
|
810
|
+
q = P('//Some/SHARE/a/B')
|
|
811
|
+
assertOrderedEqual(p, q)
|
|
812
|
+
self.assertFalse(p < q)
|
|
813
|
+
self.assertFalse(p > q)
|
|
814
|
+
|
|
815
|
+
def test_parts(self):
|
|
816
|
+
P = self.cls
|
|
817
|
+
p = P('c:a/b')
|
|
818
|
+
parts = p.parts
|
|
819
|
+
self.assertEqual(parts, ('c:', 'a', 'b'))
|
|
820
|
+
p = P('c:/a/b')
|
|
821
|
+
parts = p.parts
|
|
822
|
+
self.assertEqual(parts, ('c:\\', 'a', 'b'))
|
|
823
|
+
p = P('//a/b/c/d')
|
|
824
|
+
parts = p.parts
|
|
825
|
+
self.assertEqual(parts, ('\\\\a\\b\\', 'c', 'd'))
|
|
826
|
+
|
|
827
|
+
def test_parent(self):
|
|
828
|
+
# Anchored
|
|
829
|
+
P = self.cls
|
|
830
|
+
p = P('z:a/b/c')
|
|
831
|
+
self.assertEqual(p.parent, P('z:a/b'))
|
|
832
|
+
self.assertEqual(p.parent.parent, P('z:a'))
|
|
833
|
+
self.assertEqual(p.parent.parent.parent, P('z:'))
|
|
834
|
+
self.assertEqual(p.parent.parent.parent.parent, P('z:'))
|
|
835
|
+
p = P('z:/a/b/c')
|
|
836
|
+
self.assertEqual(p.parent, P('z:/a/b'))
|
|
837
|
+
self.assertEqual(p.parent.parent, P('z:/a'))
|
|
838
|
+
self.assertEqual(p.parent.parent.parent, P('z:/'))
|
|
839
|
+
self.assertEqual(p.parent.parent.parent.parent, P('z:/'))
|
|
840
|
+
p = P('//a/b/c/d')
|
|
841
|
+
self.assertEqual(p.parent, P('//a/b/c'))
|
|
842
|
+
self.assertEqual(p.parent.parent, P('//a/b'))
|
|
843
|
+
self.assertEqual(p.parent.parent.parent, P('//a/b'))
|
|
844
|
+
|
|
845
|
+
def test_parents(self):
|
|
846
|
+
# Anchored
|
|
847
|
+
P = self.cls
|
|
848
|
+
p = P('z:a/b/')
|
|
849
|
+
par = p.parents
|
|
850
|
+
self.assertEqual(len(par), 2)
|
|
851
|
+
self.assertEqual(par[0], P('z:a'))
|
|
852
|
+
self.assertEqual(par[1], P('z:'))
|
|
853
|
+
self.assertEqual(list(par), [P('z:a'), P('z:')])
|
|
854
|
+
with self.assertRaises(IndexError):
|
|
855
|
+
par[2]
|
|
856
|
+
p = P('z:/a/b/')
|
|
857
|
+
par = p.parents
|
|
858
|
+
self.assertEqual(len(par), 2)
|
|
859
|
+
self.assertEqual(par[0], P('z:/a'))
|
|
860
|
+
self.assertEqual(par[1], P('z:/'))
|
|
861
|
+
self.assertEqual(list(par), [P('z:/a'), P('z:/')])
|
|
862
|
+
with self.assertRaises(IndexError):
|
|
863
|
+
par[2]
|
|
864
|
+
p = P('//a/b/c/d')
|
|
865
|
+
par = p.parents
|
|
866
|
+
self.assertEqual(len(par), 2)
|
|
867
|
+
self.assertEqual(par[0], P('//a/b/c'))
|
|
868
|
+
self.assertEqual(par[1], P('//a/b'))
|
|
869
|
+
self.assertEqual(list(par), [P('//a/b/c'), P('//a/b')])
|
|
870
|
+
with self.assertRaises(IndexError):
|
|
871
|
+
par[2]
|
|
872
|
+
|
|
873
|
+
def test_drive(self):
|
|
874
|
+
P = self.cls
|
|
875
|
+
self.assertEqual(P('c:').drive, 'c:')
|
|
876
|
+
self.assertEqual(P('c:a/b').drive, 'c:')
|
|
877
|
+
self.assertEqual(P('c:/').drive, 'c:')
|
|
878
|
+
self.assertEqual(P('c:/a/b/').drive, 'c:')
|
|
879
|
+
self.assertEqual(P('//a/b').drive, '\\\\a\\b')
|
|
880
|
+
self.assertEqual(P('//a/b/').drive, '\\\\a\\b')
|
|
881
|
+
self.assertEqual(P('//a/b/c/d').drive, '\\\\a\\b')
|
|
882
|
+
|
|
883
|
+
def test_root(self):
|
|
884
|
+
P = self.cls
|
|
885
|
+
self.assertEqual(P('c:').root, '')
|
|
886
|
+
self.assertEqual(P('c:a/b').root, '')
|
|
887
|
+
self.assertEqual(P('c:/').root, '\\')
|
|
888
|
+
self.assertEqual(P('c:/a/b/').root, '\\')
|
|
889
|
+
self.assertEqual(P('//a/b').root, '\\')
|
|
890
|
+
self.assertEqual(P('//a/b/').root, '\\')
|
|
891
|
+
self.assertEqual(P('//a/b/c/d').root, '\\')
|
|
892
|
+
|
|
893
|
+
def test_anchor(self):
|
|
894
|
+
P = self.cls
|
|
895
|
+
self.assertEqual(P('c:').anchor, 'c:')
|
|
896
|
+
self.assertEqual(P('c:a/b').anchor, 'c:')
|
|
897
|
+
self.assertEqual(P('c:/').anchor, 'c:\\')
|
|
898
|
+
self.assertEqual(P('c:/a/b/').anchor, 'c:\\')
|
|
899
|
+
self.assertEqual(P('//a/b').anchor, '\\\\a\\b\\')
|
|
900
|
+
self.assertEqual(P('//a/b/').anchor, '\\\\a\\b\\')
|
|
901
|
+
self.assertEqual(P('//a/b/c/d').anchor, '\\\\a\\b\\')
|
|
902
|
+
|
|
903
|
+
def test_name(self):
|
|
904
|
+
P = self.cls
|
|
905
|
+
self.assertEqual(P('c:').name, '')
|
|
906
|
+
self.assertEqual(P('c:/').name, '')
|
|
907
|
+
self.assertEqual(P('c:a/b').name, 'b')
|
|
908
|
+
self.assertEqual(P('c:/a/b').name, 'b')
|
|
909
|
+
self.assertEqual(P('c:a/b.py').name, 'b.py')
|
|
910
|
+
self.assertEqual(P('c:/a/b.py').name, 'b.py')
|
|
911
|
+
self.assertEqual(P('//My.py/Share.php').name, '')
|
|
912
|
+
self.assertEqual(P('//My.py/Share.php/a/b').name, 'b')
|
|
913
|
+
|
|
914
|
+
def test_suffix(self):
|
|
915
|
+
P = self.cls
|
|
916
|
+
self.assertEqual(P('c:').suffix, '')
|
|
917
|
+
self.assertEqual(P('c:/').suffix, '')
|
|
918
|
+
self.assertEqual(P('c:a/b').suffix, '')
|
|
919
|
+
self.assertEqual(P('c:/a/b').suffix, '')
|
|
920
|
+
self.assertEqual(P('c:a/b.py').suffix, '.py')
|
|
921
|
+
self.assertEqual(P('c:/a/b.py').suffix, '.py')
|
|
922
|
+
self.assertEqual(P('c:a/.hgrc').suffix, '')
|
|
923
|
+
self.assertEqual(P('c:/a/.hgrc').suffix, '')
|
|
924
|
+
self.assertEqual(P('c:a/.hg.rc').suffix, '.rc')
|
|
925
|
+
self.assertEqual(P('c:/a/.hg.rc').suffix, '.rc')
|
|
926
|
+
self.assertEqual(P('c:a/b.tar.gz').suffix, '.gz')
|
|
927
|
+
self.assertEqual(P('c:/a/b.tar.gz').suffix, '.gz')
|
|
928
|
+
self.assertEqual(P('c:a/Some name. Ending with a dot.').suffix, '')
|
|
929
|
+
self.assertEqual(P('c:/a/Some name. Ending with a dot.').suffix, '')
|
|
930
|
+
self.assertEqual(P('//My.py/Share.php').suffix, '')
|
|
931
|
+
self.assertEqual(P('//My.py/Share.php/a/b').suffix, '')
|
|
932
|
+
|
|
933
|
+
def test_suffixes(self):
|
|
934
|
+
P = self.cls
|
|
935
|
+
self.assertEqual(P('c:').suffixes, [])
|
|
936
|
+
self.assertEqual(P('c:/').suffixes, [])
|
|
937
|
+
self.assertEqual(P('c:a/b').suffixes, [])
|
|
938
|
+
self.assertEqual(P('c:/a/b').suffixes, [])
|
|
939
|
+
self.assertEqual(P('c:a/b.py').suffixes, ['.py'])
|
|
940
|
+
self.assertEqual(P('c:/a/b.py').suffixes, ['.py'])
|
|
941
|
+
self.assertEqual(P('c:a/.hgrc').suffixes, [])
|
|
942
|
+
self.assertEqual(P('c:/a/.hgrc').suffixes, [])
|
|
943
|
+
self.assertEqual(P('c:a/.hg.rc').suffixes, ['.rc'])
|
|
944
|
+
self.assertEqual(P('c:/a/.hg.rc').suffixes, ['.rc'])
|
|
945
|
+
self.assertEqual(P('c:a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
946
|
+
self.assertEqual(P('c:/a/b.tar.gz').suffixes, ['.tar', '.gz'])
|
|
947
|
+
self.assertEqual(P('//My.py/Share.php').suffixes, [])
|
|
948
|
+
self.assertEqual(P('//My.py/Share.php/a/b').suffixes, [])
|
|
949
|
+
self.assertEqual(P('c:a/Some name. Ending with a dot.').suffixes, [])
|
|
950
|
+
self.assertEqual(P('c:/a/Some name. Ending with a dot.').suffixes, [])
|
|
951
|
+
|
|
952
|
+
def test_stem(self):
|
|
953
|
+
P = self.cls
|
|
954
|
+
self.assertEqual(P('c:').stem, '')
|
|
955
|
+
self.assertEqual(P('c:.').stem, '')
|
|
956
|
+
self.assertEqual(P('c:..').stem, '..')
|
|
957
|
+
self.assertEqual(P('c:/').stem, '')
|
|
958
|
+
self.assertEqual(P('c:a/b').stem, 'b')
|
|
959
|
+
self.assertEqual(P('c:a/b.py').stem, 'b')
|
|
960
|
+
self.assertEqual(P('c:a/.hgrc').stem, '.hgrc')
|
|
961
|
+
self.assertEqual(P('c:a/.hg.rc').stem, '.hg')
|
|
962
|
+
self.assertEqual(P('c:a/b.tar.gz').stem, 'b.tar')
|
|
963
|
+
self.assertEqual(P('c:a/Some name. Ending with a dot.').stem,
|
|
964
|
+
'Some name. Ending with a dot.')
|
|
965
|
+
|
|
966
|
+
def test_with_name(self):
|
|
967
|
+
P = self.cls
|
|
968
|
+
self.assertEqual(P('c:a/b').with_name('d.xml'), P('c:a/d.xml'))
|
|
969
|
+
self.assertEqual(P('c:/a/b').with_name('d.xml'), P('c:/a/d.xml'))
|
|
970
|
+
self.assertEqual(P('c:a/Dot ending.').with_name('d.xml'), P('c:a/d.xml'))
|
|
971
|
+
self.assertEqual(P('c:/a/Dot ending.').with_name('d.xml'), P('c:/a/d.xml'))
|
|
972
|
+
self.assertRaises(ValueError, P('c:').with_name, 'd.xml')
|
|
973
|
+
self.assertRaises(ValueError, P('c:/').with_name, 'd.xml')
|
|
974
|
+
self.assertRaises(ValueError, P('//My/Share').with_name, 'd.xml')
|
|
975
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, 'd:')
|
|
976
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, 'd:e')
|
|
977
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, 'd:/e')
|
|
978
|
+
self.assertRaises(ValueError, P('c:a/b').with_name, '//My/Share')
|
|
979
|
+
|
|
980
|
+
def test_with_suffix(self):
|
|
981
|
+
P = self.cls
|
|
982
|
+
self.assertEqual(P('c:a/b').with_suffix('.gz'), P('c:a/b.gz'))
|
|
983
|
+
self.assertEqual(P('c:/a/b').with_suffix('.gz'), P('c:/a/b.gz'))
|
|
984
|
+
self.assertEqual(P('c:a/b.py').with_suffix('.gz'), P('c:a/b.gz'))
|
|
985
|
+
self.assertEqual(P('c:/a/b.py').with_suffix('.gz'), P('c:/a/b.gz'))
|
|
986
|
+
# Path doesn't have a "filename" component
|
|
987
|
+
self.assertRaises(ValueError, P('').with_suffix, '.gz')
|
|
988
|
+
self.assertRaises(ValueError, P('.').with_suffix, '.gz')
|
|
989
|
+
self.assertRaises(ValueError, P('/').with_suffix, '.gz')
|
|
990
|
+
self.assertRaises(ValueError, P('//My/Share').with_suffix, '.gz')
|
|
991
|
+
# Invalid suffix
|
|
992
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'gz')
|
|
993
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '/')
|
|
994
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '\\')
|
|
995
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c:')
|
|
996
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '/.gz')
|
|
997
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '\\.gz')
|
|
998
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c:.gz')
|
|
999
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c/d')
|
|
1000
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, 'c\\d')
|
|
1001
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '.c/d')
|
|
1002
|
+
self.assertRaises(ValueError, P('c:a/b').with_suffix, '.c\\d')
|
|
1003
|
+
|
|
1004
|
+
def test_relative_to(self):
|
|
1005
|
+
P = self.cls
|
|
1006
|
+
p = P('C:Foo/Bar')
|
|
1007
|
+
self.assertEqual(p.relative_to(P('c:')), P('Foo/Bar'))
|
|
1008
|
+
self.assertEqual(p.relative_to('c:'), P('Foo/Bar'))
|
|
1009
|
+
self.assertEqual(p.relative_to(P('c:foO')), P('Bar'))
|
|
1010
|
+
self.assertEqual(p.relative_to('c:foO'), P('Bar'))
|
|
1011
|
+
self.assertEqual(p.relative_to('c:foO/'), P('Bar'))
|
|
1012
|
+
self.assertEqual(p.relative_to(P('c:foO/baR')), P())
|
|
1013
|
+
self.assertEqual(p.relative_to('c:foO/baR'), P())
|
|
1014
|
+
# Unrelated paths
|
|
1015
|
+
self.assertRaises(ValueError, p.relative_to, P())
|
|
1016
|
+
self.assertRaises(ValueError, p.relative_to, '')
|
|
1017
|
+
self.assertRaises(ValueError, p.relative_to, P('d:'))
|
|
1018
|
+
self.assertRaises(ValueError, p.relative_to, P('/'))
|
|
1019
|
+
self.assertRaises(ValueError, p.relative_to, P('Foo'))
|
|
1020
|
+
self.assertRaises(ValueError, p.relative_to, P('/Foo'))
|
|
1021
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Foo'))
|
|
1022
|
+
self.assertRaises(ValueError, p.relative_to, P('C:Foo/Bar/Baz'))
|
|
1023
|
+
self.assertRaises(ValueError, p.relative_to, P('C:Foo/Baz'))
|
|
1024
|
+
p = P('C:/Foo/Bar')
|
|
1025
|
+
self.assertEqual(p.relative_to(P('c:')), P('/Foo/Bar'))
|
|
1026
|
+
self.assertEqual(p.relative_to('c:'), P('/Foo/Bar'))
|
|
1027
|
+
self.assertEqual(str(p.relative_to(P('c:'))), '\\Foo\\Bar')
|
|
1028
|
+
self.assertEqual(str(p.relative_to('c:')), '\\Foo\\Bar')
|
|
1029
|
+
self.assertEqual(p.relative_to(P('c:/')), P('Foo/Bar'))
|
|
1030
|
+
self.assertEqual(p.relative_to('c:/'), P('Foo/Bar'))
|
|
1031
|
+
self.assertEqual(p.relative_to(P('c:/foO')), P('Bar'))
|
|
1032
|
+
self.assertEqual(p.relative_to('c:/foO'), P('Bar'))
|
|
1033
|
+
self.assertEqual(p.relative_to('c:/foO/'), P('Bar'))
|
|
1034
|
+
self.assertEqual(p.relative_to(P('c:/foO/baR')), P())
|
|
1035
|
+
self.assertEqual(p.relative_to('c:/foO/baR'), P())
|
|
1036
|
+
# Unrelated paths
|
|
1037
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Baz'))
|
|
1038
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Foo/Bar/Baz'))
|
|
1039
|
+
self.assertRaises(ValueError, p.relative_to, P('C:/Foo/Baz'))
|
|
1040
|
+
self.assertRaises(ValueError, p.relative_to, P('C:Foo'))
|
|
1041
|
+
self.assertRaises(ValueError, p.relative_to, P('d:'))
|
|
1042
|
+
self.assertRaises(ValueError, p.relative_to, P('d:/'))
|
|
1043
|
+
self.assertRaises(ValueError, p.relative_to, P('/'))
|
|
1044
|
+
self.assertRaises(ValueError, p.relative_to, P('/Foo'))
|
|
1045
|
+
self.assertRaises(ValueError, p.relative_to, P('//C/Foo'))
|
|
1046
|
+
# UNC paths
|
|
1047
|
+
p = P('//Server/Share/Foo/Bar')
|
|
1048
|
+
self.assertEqual(p.relative_to(P('//sErver/sHare')), P('Foo/Bar'))
|
|
1049
|
+
self.assertEqual(p.relative_to('//sErver/sHare'), P('Foo/Bar'))
|
|
1050
|
+
self.assertEqual(p.relative_to('//sErver/sHare/'), P('Foo/Bar'))
|
|
1051
|
+
self.assertEqual(p.relative_to(P('//sErver/sHare/Foo')), P('Bar'))
|
|
1052
|
+
self.assertEqual(p.relative_to('//sErver/sHare/Foo'), P('Bar'))
|
|
1053
|
+
self.assertEqual(p.relative_to('//sErver/sHare/Foo/'), P('Bar'))
|
|
1054
|
+
self.assertEqual(p.relative_to(P('//sErver/sHare/Foo/Bar')), P())
|
|
1055
|
+
self.assertEqual(p.relative_to('//sErver/sHare/Foo/Bar'), P())
|
|
1056
|
+
# Unrelated paths
|
|
1057
|
+
self.assertRaises(ValueError, p.relative_to, P('/Server/Share/Foo'))
|
|
1058
|
+
self.assertRaises(ValueError, p.relative_to, P('c:/Server/Share/Foo'))
|
|
1059
|
+
self.assertRaises(ValueError, p.relative_to, P('//z/Share/Foo'))
|
|
1060
|
+
self.assertRaises(ValueError, p.relative_to, P('//Server/z/Foo'))
|
|
1061
|
+
|
|
1062
|
+
def test_is_absolute(self):
|
|
1063
|
+
P = self.cls
|
|
1064
|
+
# Under NT, only paths with both a drive and a root are absolute
|
|
1065
|
+
self.assertFalse(P().is_absolute())
|
|
1066
|
+
self.assertFalse(P('a').is_absolute())
|
|
1067
|
+
self.assertFalse(P('a/b/').is_absolute())
|
|
1068
|
+
self.assertFalse(P('/').is_absolute())
|
|
1069
|
+
self.assertFalse(P('/a').is_absolute())
|
|
1070
|
+
self.assertFalse(P('/a/b/').is_absolute())
|
|
1071
|
+
self.assertFalse(P('c:').is_absolute())
|
|
1072
|
+
self.assertFalse(P('c:a').is_absolute())
|
|
1073
|
+
self.assertFalse(P('c:a/b/').is_absolute())
|
|
1074
|
+
self.assertTrue(P('c:/').is_absolute())
|
|
1075
|
+
self.assertTrue(P('c:/a').is_absolute())
|
|
1076
|
+
self.assertTrue(P('c:/a/b/').is_absolute())
|
|
1077
|
+
# UNC paths are absolute by definition
|
|
1078
|
+
self.assertTrue(P('//a/b').is_absolute())
|
|
1079
|
+
self.assertTrue(P('//a/b/').is_absolute())
|
|
1080
|
+
self.assertTrue(P('//a/b/c').is_absolute())
|
|
1081
|
+
self.assertTrue(P('//a/b/c/d').is_absolute())
|
|
1082
|
+
|
|
1083
|
+
def test_join(self):
|
|
1084
|
+
P = self.cls
|
|
1085
|
+
p = P('C:/a/b')
|
|
1086
|
+
pp = p.joinpath('x/y')
|
|
1087
|
+
self.assertEqual(pp, P('C:/a/b/x/y'))
|
|
1088
|
+
pp = p.joinpath('/x/y')
|
|
1089
|
+
self.assertEqual(pp, P('C:/x/y'))
|
|
1090
|
+
# Joining with a different drive => the first path is ignored, even
|
|
1091
|
+
# if the second path is relative.
|
|
1092
|
+
pp = p.joinpath('D:x/y')
|
|
1093
|
+
self.assertEqual(pp, P('D:x/y'))
|
|
1094
|
+
pp = p.joinpath('D:/x/y')
|
|
1095
|
+
self.assertEqual(pp, P('D:/x/y'))
|
|
1096
|
+
pp = p.joinpath('//host/share/x/y')
|
|
1097
|
+
self.assertEqual(pp, P('//host/share/x/y'))
|
|
1098
|
+
# Joining with the same drive => the first path is appended to if
|
|
1099
|
+
# the second path is relative.
|
|
1100
|
+
pp = p.joinpath('c:x/y')
|
|
1101
|
+
self.assertEqual(pp, P('C:/a/b/x/y'))
|
|
1102
|
+
pp = p.joinpath('c:/x/y')
|
|
1103
|
+
self.assertEqual(pp, P('C:/x/y'))
|
|
1104
|
+
|
|
1105
|
+
def test_div(self):
|
|
1106
|
+
# Basically the same as joinpath()
|
|
1107
|
+
P = self.cls
|
|
1108
|
+
p = P('C:/a/b')
|
|
1109
|
+
self.assertEqual(p / 'x/y', P('C:/a/b/x/y'))
|
|
1110
|
+
self.assertEqual(p / 'x' / 'y', P('C:/a/b/x/y'))
|
|
1111
|
+
self.assertEqual(p / '/x/y', P('C:/x/y'))
|
|
1112
|
+
self.assertEqual(p / '/x' / 'y', P('C:/x/y'))
|
|
1113
|
+
# Joining with a different drive => the first path is ignored, even
|
|
1114
|
+
# if the second path is relative.
|
|
1115
|
+
self.assertEqual(p / 'D:x/y', P('D:x/y'))
|
|
1116
|
+
self.assertEqual(p / 'D:' / 'x/y', P('D:x/y'))
|
|
1117
|
+
self.assertEqual(p / 'D:/x/y', P('D:/x/y'))
|
|
1118
|
+
self.assertEqual(p / 'D:' / '/x/y', P('D:/x/y'))
|
|
1119
|
+
self.assertEqual(p / '//host/share/x/y', P('//host/share/x/y'))
|
|
1120
|
+
# Joining with the same drive => the first path is appended to if
|
|
1121
|
+
# the second path is relative.
|
|
1122
|
+
self.assertEqual(p / 'c:x/y', P('C:/a/b/x/y'))
|
|
1123
|
+
self.assertEqual(p / 'c:/x/y', P('C:/x/y'))
|
|
1124
|
+
|
|
1125
|
+
def test_is_reserved(self):
|
|
1126
|
+
P = self.cls
|
|
1127
|
+
self.assertIs(False, P('').is_reserved())
|
|
1128
|
+
self.assertIs(False, P('/').is_reserved())
|
|
1129
|
+
self.assertIs(False, P('/foo/bar').is_reserved())
|
|
1130
|
+
self.assertIs(True, P('con').is_reserved())
|
|
1131
|
+
self.assertIs(True, P('NUL').is_reserved())
|
|
1132
|
+
self.assertIs(True, P('NUL.txt').is_reserved())
|
|
1133
|
+
self.assertIs(True, P('com1').is_reserved())
|
|
1134
|
+
self.assertIs(True, P('com9.bar').is_reserved())
|
|
1135
|
+
self.assertIs(False, P('bar.com9').is_reserved())
|
|
1136
|
+
self.assertIs(True, P('lpt1').is_reserved())
|
|
1137
|
+
self.assertIs(True, P('lpt9.bar').is_reserved())
|
|
1138
|
+
self.assertIs(False, P('bar.lpt9').is_reserved())
|
|
1139
|
+
# Only the last component matters
|
|
1140
|
+
self.assertIs(False, P('c:/NUL/con/baz').is_reserved())
|
|
1141
|
+
# UNC paths are never reserved
|
|
1142
|
+
self.assertIs(False, P('//my/share/nul/con/aux').is_reserved())
|
|
1143
|
+
|
|
1144
|
+
class PurePathTest(_BasePurePathTest, unittest.TestCase):
|
|
1145
|
+
cls = pathlib.PurePath
|
|
1146
|
+
|
|
1147
|
+
def test_concrete_class(self):
|
|
1148
|
+
p = self.cls('a')
|
|
1149
|
+
self.assertIs(type(p),
|
|
1150
|
+
pathlib.PureWindowsPath if os.name == 'nt' else pathlib.PurePosixPath)
|
|
1151
|
+
|
|
1152
|
+
def test_different_flavours_unequal(self):
|
|
1153
|
+
p = pathlib.PurePosixPath('a')
|
|
1154
|
+
q = pathlib.PureWindowsPath('a')
|
|
1155
|
+
self.assertNotEqual(p, q)
|
|
1156
|
+
|
|
1157
|
+
def test_different_flavours_unordered(self):
|
|
1158
|
+
p = pathlib.PurePosixPath('a')
|
|
1159
|
+
q = pathlib.PureWindowsPath('a')
|
|
1160
|
+
with self.assertRaises(TypeError):
|
|
1161
|
+
p < q
|
|
1162
|
+
with self.assertRaises(TypeError):
|
|
1163
|
+
p <= q
|
|
1164
|
+
with self.assertRaises(TypeError):
|
|
1165
|
+
p > q
|
|
1166
|
+
with self.assertRaises(TypeError):
|
|
1167
|
+
p >= q
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
#
|
|
1171
|
+
# Tests for the concrete classes
|
|
1172
|
+
#
|
|
1173
|
+
|
|
1174
|
+
# Make sure any symbolic links in the base test path are resolved
|
|
1175
|
+
BASE = os.path.realpath(TESTFN)
|
|
1176
|
+
join = lambda *x: os.path.join(BASE, *x)
|
|
1177
|
+
rel_join = lambda *x: os.path.join(TESTFN, *x)
|
|
1178
|
+
|
|
1179
|
+
def symlink_skip_reason():
|
|
1180
|
+
if not pathlib.supports_symlinks:
|
|
1181
|
+
return "no system support for symlinks"
|
|
1182
|
+
try:
|
|
1183
|
+
os.symlink(__file__, BASE)
|
|
1184
|
+
except OSError as e:
|
|
1185
|
+
return str(e)
|
|
1186
|
+
else:
|
|
1187
|
+
support.unlink(BASE)
|
|
1188
|
+
return None
|
|
1189
|
+
|
|
1190
|
+
symlink_skip_reason = symlink_skip_reason()
|
|
1191
|
+
|
|
1192
|
+
only_nt = unittest.skipIf(os.name != 'nt',
|
|
1193
|
+
'test requires a Windows-compatible system')
|
|
1194
|
+
only_posix = unittest.skipIf(os.name == 'nt',
|
|
1195
|
+
'test requires a POSIX-compatible system')
|
|
1196
|
+
with_symlinks = unittest.skipIf(symlink_skip_reason, symlink_skip_reason)
|
|
1197
|
+
|
|
1198
|
+
|
|
1199
|
+
@only_posix
|
|
1200
|
+
class PosixPathAsPureTest(PurePosixPathTest):
|
|
1201
|
+
cls = pathlib.PosixPath
|
|
1202
|
+
|
|
1203
|
+
@only_nt
|
|
1204
|
+
class WindowsPathAsPureTest(PureWindowsPathTest):
|
|
1205
|
+
cls = pathlib.WindowsPath
|
|
1206
|
+
|
|
1207
|
+
def test_owner(self):
|
|
1208
|
+
P = self.cls
|
|
1209
|
+
with self.assertRaises(NotImplementedError):
|
|
1210
|
+
P('c:/').owner()
|
|
1211
|
+
|
|
1212
|
+
def test_group(self):
|
|
1213
|
+
P = self.cls
|
|
1214
|
+
with self.assertRaises(NotImplementedError):
|
|
1215
|
+
P('c:/').group()
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
class _BasePathTest(object):
|
|
1219
|
+
"""Tests for the FS-accessing functionalities of the Path classes."""
|
|
1220
|
+
|
|
1221
|
+
# (BASE)
|
|
1222
|
+
# |
|
|
1223
|
+
# |-- brokenLink -> non-existing
|
|
1224
|
+
# |-- dirA
|
|
1225
|
+
# | `-- linkC -> ../dirB
|
|
1226
|
+
# |-- dirB
|
|
1227
|
+
# | |-- fileB
|
|
1228
|
+
# | `-- linkD -> ../dirB
|
|
1229
|
+
# |-- dirC
|
|
1230
|
+
# | |-- dirD
|
|
1231
|
+
# | | `-- fileD
|
|
1232
|
+
# | `-- fileC
|
|
1233
|
+
# |-- dirE # No permissions
|
|
1234
|
+
# |-- fileA
|
|
1235
|
+
# |-- linkA -> fileA
|
|
1236
|
+
# `-- linkB -> dirB
|
|
1237
|
+
#
|
|
1238
|
+
|
|
1239
|
+
def setUp(self):
|
|
1240
|
+
def cleanup():
|
|
1241
|
+
os.chmod(join('dirE'), 0o777)
|
|
1242
|
+
support.rmtree(BASE)
|
|
1243
|
+
self.addCleanup(cleanup)
|
|
1244
|
+
os.mkdir(BASE)
|
|
1245
|
+
os.mkdir(join('dirA'))
|
|
1246
|
+
os.mkdir(join('dirB'))
|
|
1247
|
+
os.mkdir(join('dirC'))
|
|
1248
|
+
os.mkdir(join('dirC', 'dirD'))
|
|
1249
|
+
os.mkdir(join('dirE'))
|
|
1250
|
+
with open(join('fileA'), 'wb') as f:
|
|
1251
|
+
f.write(b"this is file A\n")
|
|
1252
|
+
with open(join('dirB', 'fileB'), 'wb') as f:
|
|
1253
|
+
f.write(b"this is file B\n")
|
|
1254
|
+
with open(join('dirC', 'fileC'), 'wb') as f:
|
|
1255
|
+
f.write(b"this is file C\n")
|
|
1256
|
+
with open(join('dirC', 'dirD', 'fileD'), 'wb') as f:
|
|
1257
|
+
f.write(b"this is file D\n")
|
|
1258
|
+
os.chmod(join('dirE'), 0)
|
|
1259
|
+
if not symlink_skip_reason:
|
|
1260
|
+
# Relative symlinks
|
|
1261
|
+
os.symlink('fileA', join('linkA'))
|
|
1262
|
+
os.symlink('non-existing', join('brokenLink'))
|
|
1263
|
+
self.dirlink('dirB', join('linkB'))
|
|
1264
|
+
self.dirlink(os.path.join('..', 'dirB'), join('dirA', 'linkC'))
|
|
1265
|
+
# This one goes upwards, creating a loop
|
|
1266
|
+
self.dirlink(os.path.join('..', 'dirB'), join('dirB', 'linkD'))
|
|
1267
|
+
|
|
1268
|
+
if os.name == 'nt':
|
|
1269
|
+
# Workaround for http://bugs.python.org/issue13772
|
|
1270
|
+
def dirlink(self, src, dest):
|
|
1271
|
+
os.symlink(src, dest, target_is_directory=True)
|
|
1272
|
+
else:
|
|
1273
|
+
def dirlink(self, src, dest):
|
|
1274
|
+
os.symlink(src, dest)
|
|
1275
|
+
|
|
1276
|
+
def assertSame(self, path_a, path_b):
|
|
1277
|
+
self.assertTrue(os.path.samefile(str(path_a), str(path_b)),
|
|
1278
|
+
"%r and %r don't point to the same file" %
|
|
1279
|
+
(path_a, path_b))
|
|
1280
|
+
|
|
1281
|
+
def assertFileNotFound(self, func, *args, **kwargs):
|
|
1282
|
+
with self.assertRaises(FileNotFoundError) as cm:
|
|
1283
|
+
func(*args, **kwargs)
|
|
1284
|
+
self.assertEqual(cm.exception.errno, errno.ENOENT)
|
|
1285
|
+
|
|
1286
|
+
def _test_cwd(self, p):
|
|
1287
|
+
q = self.cls(os.getcwd())
|
|
1288
|
+
self.assertEqual(p, q)
|
|
1289
|
+
self.assertEqual(str(p), str(q))
|
|
1290
|
+
self.assertIs(type(p), type(q))
|
|
1291
|
+
self.assertTrue(p.is_absolute())
|
|
1292
|
+
|
|
1293
|
+
def test_cwd(self):
|
|
1294
|
+
p = self.cls.cwd()
|
|
1295
|
+
self._test_cwd(p)
|
|
1296
|
+
|
|
1297
|
+
def _test_home(self, p):
|
|
1298
|
+
q = self.cls(os.path.expanduser('~'))
|
|
1299
|
+
self.assertEqual(p, q)
|
|
1300
|
+
self.assertEqual(str(p), str(q))
|
|
1301
|
+
self.assertIs(type(p), type(q))
|
|
1302
|
+
self.assertTrue(p.is_absolute())
|
|
1303
|
+
|
|
1304
|
+
def test_home(self):
|
|
1305
|
+
p = self.cls.home()
|
|
1306
|
+
self._test_home(p)
|
|
1307
|
+
|
|
1308
|
+
def test_samefile(self):
|
|
1309
|
+
fileA_path = os.path.join(BASE, 'fileA')
|
|
1310
|
+
fileB_path = os.path.join(BASE, 'dirB', 'fileB')
|
|
1311
|
+
p = self.cls(fileA_path)
|
|
1312
|
+
pp = self.cls(fileA_path)
|
|
1313
|
+
q = self.cls(fileB_path)
|
|
1314
|
+
self.assertTrue(p.samefile(fileA_path))
|
|
1315
|
+
self.assertTrue(p.samefile(pp))
|
|
1316
|
+
self.assertFalse(p.samefile(fileB_path))
|
|
1317
|
+
self.assertFalse(p.samefile(q))
|
|
1318
|
+
# Test the non-existent file case
|
|
1319
|
+
non_existent = os.path.join(BASE, 'foo')
|
|
1320
|
+
r = self.cls(non_existent)
|
|
1321
|
+
self.assertRaises(FileNotFoundError, p.samefile, r)
|
|
1322
|
+
self.assertRaises(FileNotFoundError, p.samefile, non_existent)
|
|
1323
|
+
self.assertRaises(FileNotFoundError, r.samefile, p)
|
|
1324
|
+
self.assertRaises(FileNotFoundError, r.samefile, non_existent)
|
|
1325
|
+
self.assertRaises(FileNotFoundError, r.samefile, r)
|
|
1326
|
+
self.assertRaises(FileNotFoundError, r.samefile, non_existent)
|
|
1327
|
+
|
|
1328
|
+
def test_empty_path(self):
|
|
1329
|
+
# The empty path points to '.'
|
|
1330
|
+
p = self.cls('')
|
|
1331
|
+
self.assertEqual(p.stat(), os.stat('.'))
|
|
1332
|
+
|
|
1333
|
+
def test_expanduser_common(self):
|
|
1334
|
+
P = self.cls
|
|
1335
|
+
p = P('~')
|
|
1336
|
+
self.assertEqual(p.expanduser(), P(os.path.expanduser('~')))
|
|
1337
|
+
p = P('foo')
|
|
1338
|
+
self.assertEqual(p.expanduser(), p)
|
|
1339
|
+
p = P('/~')
|
|
1340
|
+
self.assertEqual(p.expanduser(), p)
|
|
1341
|
+
p = P('../~')
|
|
1342
|
+
self.assertEqual(p.expanduser(), p)
|
|
1343
|
+
p = P(P('').absolute().anchor) / '~'
|
|
1344
|
+
self.assertEqual(p.expanduser(), p)
|
|
1345
|
+
|
|
1346
|
+
def test_exists(self):
|
|
1347
|
+
P = self.cls
|
|
1348
|
+
p = P(BASE)
|
|
1349
|
+
self.assertIs(True, p.exists())
|
|
1350
|
+
self.assertIs(True, (p / 'dirA').exists())
|
|
1351
|
+
self.assertIs(True, (p / 'fileA').exists())
|
|
1352
|
+
self.assertIs(False, (p / 'fileA' / 'bah').exists())
|
|
1353
|
+
if not symlink_skip_reason:
|
|
1354
|
+
self.assertIs(True, (p / 'linkA').exists())
|
|
1355
|
+
self.assertIs(True, (p / 'linkB').exists())
|
|
1356
|
+
self.assertIs(True, (p / 'linkB' / 'fileB').exists())
|
|
1357
|
+
self.assertIs(False, (p / 'linkA' / 'bah').exists())
|
|
1358
|
+
self.assertIs(False, (p / 'foo').exists())
|
|
1359
|
+
self.assertIs(False, P('/xyzzy').exists())
|
|
1360
|
+
|
|
1361
|
+
def test_open_common(self):
|
|
1362
|
+
p = self.cls(BASE)
|
|
1363
|
+
with (p / 'fileA').open('r') as f:
|
|
1364
|
+
self.assertIsInstance(f, io.TextIOBase)
|
|
1365
|
+
self.assertEqual(f.read(), "this is file A\n")
|
|
1366
|
+
with (p / 'fileA').open('rb') as f:
|
|
1367
|
+
self.assertIsInstance(f, io.BufferedIOBase)
|
|
1368
|
+
self.assertEqual(f.read().strip(), b"this is file A")
|
|
1369
|
+
with (p / 'fileA').open('rb', buffering=0) as f:
|
|
1370
|
+
self.assertIsInstance(f, io.RawIOBase)
|
|
1371
|
+
self.assertEqual(f.read().strip(), b"this is file A")
|
|
1372
|
+
|
|
1373
|
+
def test_read_write_bytes(self):
|
|
1374
|
+
p = self.cls(BASE)
|
|
1375
|
+
(p / 'fileA').write_bytes(b'abcdefg')
|
|
1376
|
+
self.assertEqual((p / 'fileA').read_bytes(), b'abcdefg')
|
|
1377
|
+
# check that trying to write str does not truncate the file
|
|
1378
|
+
self.assertRaises(TypeError, (p / 'fileA').write_bytes, 'somestr')
|
|
1379
|
+
self.assertEqual((p / 'fileA').read_bytes(), b'abcdefg')
|
|
1380
|
+
|
|
1381
|
+
def test_read_write_text(self):
|
|
1382
|
+
p = self.cls(BASE)
|
|
1383
|
+
(p / 'fileA').write_text('äbcdefg', encoding='latin-1')
|
|
1384
|
+
self.assertEqual((p / 'fileA').read_text(
|
|
1385
|
+
encoding='utf-8', errors='ignore'), 'bcdefg')
|
|
1386
|
+
# check that trying to write bytes does not truncate the file
|
|
1387
|
+
self.assertRaises(TypeError, (p / 'fileA').write_text, b'somebytes')
|
|
1388
|
+
self.assertEqual((p / 'fileA').read_text(encoding='latin-1'), 'äbcdefg')
|
|
1389
|
+
|
|
1390
|
+
def test_iterdir(self):
|
|
1391
|
+
P = self.cls
|
|
1392
|
+
p = P(BASE)
|
|
1393
|
+
it = p.iterdir()
|
|
1394
|
+
paths = set(it)
|
|
1395
|
+
expected = ['dirA', 'dirB', 'dirC', 'dirE', 'fileA']
|
|
1396
|
+
if not symlink_skip_reason:
|
|
1397
|
+
expected += ['linkA', 'linkB', 'brokenLink']
|
|
1398
|
+
self.assertEqual(paths, { P(BASE, q) for q in expected })
|
|
1399
|
+
|
|
1400
|
+
@with_symlinks
|
|
1401
|
+
def test_iterdir_symlink(self):
|
|
1402
|
+
# __iter__ on a symlink to a directory
|
|
1403
|
+
P = self.cls
|
|
1404
|
+
p = P(BASE, 'linkB')
|
|
1405
|
+
paths = set(p.iterdir())
|
|
1406
|
+
expected = { P(BASE, 'linkB', q) for q in ['fileB', 'linkD'] }
|
|
1407
|
+
self.assertEqual(paths, expected)
|
|
1408
|
+
|
|
1409
|
+
def test_iterdir_nodir(self):
|
|
1410
|
+
# __iter__ on something that is not a directory
|
|
1411
|
+
p = self.cls(BASE, 'fileA')
|
|
1412
|
+
with self.assertRaises(OSError) as cm:
|
|
1413
|
+
next(p.iterdir())
|
|
1414
|
+
# ENOENT or EINVAL under Windows, ENOTDIR otherwise
|
|
1415
|
+
# (see issue #12802)
|
|
1416
|
+
self.assertIn(cm.exception.errno, (errno.ENOTDIR,
|
|
1417
|
+
errno.ENOENT, errno.EINVAL))
|
|
1418
|
+
|
|
1419
|
+
def test_glob_common(self):
|
|
1420
|
+
def _check(glob, expected):
|
|
1421
|
+
self.assertEqual(set(glob), { P(BASE, q) for q in expected })
|
|
1422
|
+
P = self.cls
|
|
1423
|
+
p = P(BASE)
|
|
1424
|
+
it = p.glob("fileA")
|
|
1425
|
+
self.assertIsInstance(it, collections.Iterator)
|
|
1426
|
+
_check(it, ["fileA"])
|
|
1427
|
+
_check(p.glob("fileB"), [])
|
|
1428
|
+
_check(p.glob("dir*/file*"), ["dirB/fileB", "dirC/fileC"])
|
|
1429
|
+
if symlink_skip_reason:
|
|
1430
|
+
_check(p.glob("*A"), ['dirA', 'fileA'])
|
|
1431
|
+
else:
|
|
1432
|
+
_check(p.glob("*A"), ['dirA', 'fileA', 'linkA'])
|
|
1433
|
+
if symlink_skip_reason:
|
|
1434
|
+
_check(p.glob("*B/*"), ['dirB/fileB'])
|
|
1435
|
+
else:
|
|
1436
|
+
_check(p.glob("*B/*"), ['dirB/fileB', 'dirB/linkD',
|
|
1437
|
+
'linkB/fileB', 'linkB/linkD'])
|
|
1438
|
+
if symlink_skip_reason:
|
|
1439
|
+
_check(p.glob("*/fileB"), ['dirB/fileB'])
|
|
1440
|
+
else:
|
|
1441
|
+
_check(p.glob("*/fileB"), ['dirB/fileB', 'linkB/fileB'])
|
|
1442
|
+
|
|
1443
|
+
def test_rglob_common(self):
|
|
1444
|
+
def _check(glob, expected):
|
|
1445
|
+
self.assertEqual(set(glob), { P(BASE, q) for q in expected })
|
|
1446
|
+
P = self.cls
|
|
1447
|
+
p = P(BASE)
|
|
1448
|
+
it = p.rglob("fileA")
|
|
1449
|
+
self.assertIsInstance(it, collections.Iterator)
|
|
1450
|
+
_check(it, ["fileA"])
|
|
1451
|
+
_check(p.rglob("fileB"), ["dirB/fileB"])
|
|
1452
|
+
_check(p.rglob("*/fileA"), [])
|
|
1453
|
+
if symlink_skip_reason:
|
|
1454
|
+
_check(p.rglob("*/fileB"), ["dirB/fileB"])
|
|
1455
|
+
else:
|
|
1456
|
+
_check(p.rglob("*/fileB"), ["dirB/fileB", "dirB/linkD/fileB",
|
|
1457
|
+
"linkB/fileB", "dirA/linkC/fileB"])
|
|
1458
|
+
_check(p.rglob("file*"), ["fileA", "dirB/fileB",
|
|
1459
|
+
"dirC/fileC", "dirC/dirD/fileD"])
|
|
1460
|
+
p = P(BASE, "dirC")
|
|
1461
|
+
_check(p.rglob("file*"), ["dirC/fileC", "dirC/dirD/fileD"])
|
|
1462
|
+
_check(p.rglob("*/*"), ["dirC/dirD/fileD"])
|
|
1463
|
+
|
|
1464
|
+
@with_symlinks
|
|
1465
|
+
def test_rglob_symlink_loop(self):
|
|
1466
|
+
# Don't get fooled by symlink loops (Issue #26012)
|
|
1467
|
+
P = self.cls
|
|
1468
|
+
p = P(BASE)
|
|
1469
|
+
given = set(p.rglob('*'))
|
|
1470
|
+
expect = {'brokenLink',
|
|
1471
|
+
'dirA', 'dirA/linkC',
|
|
1472
|
+
'dirB', 'dirB/fileB', 'dirB/linkD',
|
|
1473
|
+
'dirC', 'dirC/dirD', 'dirC/dirD/fileD', 'dirC/fileC',
|
|
1474
|
+
'dirE',
|
|
1475
|
+
'fileA',
|
|
1476
|
+
'linkA',
|
|
1477
|
+
'linkB',
|
|
1478
|
+
}
|
|
1479
|
+
self.assertEqual(given, {p / x for x in expect})
|
|
1480
|
+
|
|
1481
|
+
def test_glob_dotdot(self):
|
|
1482
|
+
# ".." is not special in globs
|
|
1483
|
+
P = self.cls
|
|
1484
|
+
p = P(BASE)
|
|
1485
|
+
self.assertEqual(set(p.glob("..")), { P(BASE, "..") })
|
|
1486
|
+
self.assertEqual(set(p.glob("dirA/../file*")), { P(BASE, "dirA/../fileA") })
|
|
1487
|
+
self.assertEqual(set(p.glob("../xyzzy")), set())
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
def _check_resolve(self, p, expected, strict=True):
|
|
1491
|
+
q = p.resolve(strict)
|
|
1492
|
+
self.assertEqual(q, expected)
|
|
1493
|
+
|
|
1494
|
+
# this can be used to check both relative and absolute resolutions
|
|
1495
|
+
_check_resolve_relative = _check_resolve_absolute = _check_resolve
|
|
1496
|
+
|
|
1497
|
+
@with_symlinks
|
|
1498
|
+
def test_resolve_common(self):
|
|
1499
|
+
P = self.cls
|
|
1500
|
+
p = P(BASE, 'foo')
|
|
1501
|
+
with self.assertRaises(OSError) as cm:
|
|
1502
|
+
p.resolve(strict=True)
|
|
1503
|
+
self.assertEqual(cm.exception.errno, errno.ENOENT)
|
|
1504
|
+
# Non-strict
|
|
1505
|
+
self.assertEqual(str(p.resolve(strict=False)),
|
|
1506
|
+
os.path.join(BASE, 'foo'))
|
|
1507
|
+
p = P(BASE, 'foo', 'in', 'spam')
|
|
1508
|
+
self.assertEqual(str(p.resolve(strict=False)),
|
|
1509
|
+
os.path.join(BASE, 'foo', 'in', 'spam'))
|
|
1510
|
+
p = P(BASE, '..', 'foo', 'in', 'spam')
|
|
1511
|
+
self.assertEqual(str(p.resolve(strict=False)),
|
|
1512
|
+
os.path.abspath(os.path.join('foo', 'in', 'spam')))
|
|
1513
|
+
# These are all relative symlinks
|
|
1514
|
+
p = P(BASE, 'dirB', 'fileB')
|
|
1515
|
+
self._check_resolve_relative(p, p)
|
|
1516
|
+
p = P(BASE, 'linkA')
|
|
1517
|
+
self._check_resolve_relative(p, P(BASE, 'fileA'))
|
|
1518
|
+
p = P(BASE, 'dirA', 'linkC', 'fileB')
|
|
1519
|
+
self._check_resolve_relative(p, P(BASE, 'dirB', 'fileB'))
|
|
1520
|
+
p = P(BASE, 'dirB', 'linkD', 'fileB')
|
|
1521
|
+
self._check_resolve_relative(p, P(BASE, 'dirB', 'fileB'))
|
|
1522
|
+
# Non-strict
|
|
1523
|
+
p = P(BASE, 'dirA', 'linkC', 'fileB', 'foo', 'in', 'spam')
|
|
1524
|
+
self._check_resolve_relative(p, P(BASE, 'dirB', 'fileB', 'foo', 'in',
|
|
1525
|
+
'spam'), False)
|
|
1526
|
+
p = P(BASE, 'dirA', 'linkC', '..', 'foo', 'in', 'spam')
|
|
1527
|
+
if os.name == 'nt':
|
|
1528
|
+
# In Windows, if linkY points to dirB, 'dirA\linkY\..'
|
|
1529
|
+
# resolves to 'dirA' without resolving linkY first.
|
|
1530
|
+
self._check_resolve_relative(p, P(BASE, 'dirA', 'foo', 'in',
|
|
1531
|
+
'spam'), False)
|
|
1532
|
+
else:
|
|
1533
|
+
# In Posix, if linkY points to dirB, 'dirA/linkY/..'
|
|
1534
|
+
# resolves to 'dirB/..' first before resolving to parent of dirB.
|
|
1535
|
+
self._check_resolve_relative(p, P(BASE, 'foo', 'in', 'spam'), False)
|
|
1536
|
+
# Now create absolute symlinks
|
|
1537
|
+
d = tempfile.mkdtemp(suffix='-dirD')
|
|
1538
|
+
self.addCleanup(support.rmtree, d)
|
|
1539
|
+
os.symlink(os.path.join(d), join('dirA', 'linkX'))
|
|
1540
|
+
os.symlink(join('dirB'), os.path.join(d, 'linkY'))
|
|
1541
|
+
p = P(BASE, 'dirA', 'linkX', 'linkY', 'fileB')
|
|
1542
|
+
self._check_resolve_absolute(p, P(BASE, 'dirB', 'fileB'))
|
|
1543
|
+
# Non-strict
|
|
1544
|
+
p = P(BASE, 'dirA', 'linkX', 'linkY', 'foo', 'in', 'spam')
|
|
1545
|
+
self._check_resolve_relative(p, P(BASE, 'dirB', 'foo', 'in', 'spam'),
|
|
1546
|
+
False)
|
|
1547
|
+
p = P(BASE, 'dirA', 'linkX', 'linkY', '..', 'foo', 'in', 'spam')
|
|
1548
|
+
if os.name == 'nt':
|
|
1549
|
+
# In Windows, if linkY points to dirB, 'dirA\linkY\..'
|
|
1550
|
+
# resolves to 'dirA' without resolving linkY first.
|
|
1551
|
+
self._check_resolve_relative(p, P(d, 'foo', 'in', 'spam'), False)
|
|
1552
|
+
else:
|
|
1553
|
+
# In Posix, if linkY points to dirB, 'dirA/linkY/..'
|
|
1554
|
+
# resolves to 'dirB/..' first before resolving to parent of dirB.
|
|
1555
|
+
self._check_resolve_relative(p, P(BASE, 'foo', 'in', 'spam'), False)
|
|
1556
|
+
|
|
1557
|
+
@with_symlinks
|
|
1558
|
+
def test_resolve_dot(self):
|
|
1559
|
+
# See https://bitbucket.org/pitrou/pathlib/issue/9/pathresolve-fails-on-complex-symlinks
|
|
1560
|
+
p = self.cls(BASE)
|
|
1561
|
+
self.dirlink('.', join('0'))
|
|
1562
|
+
self.dirlink(os.path.join('0', '0'), join('1'))
|
|
1563
|
+
self.dirlink(os.path.join('1', '1'), join('2'))
|
|
1564
|
+
q = p / '2'
|
|
1565
|
+
self.assertEqual(q.resolve(strict=True), p)
|
|
1566
|
+
r = q / '3' / '4'
|
|
1567
|
+
self.assertRaises(FileNotFoundError, r.resolve, strict=True)
|
|
1568
|
+
# Non-strict
|
|
1569
|
+
self.assertEqual(r.resolve(strict=False), p / '3' / '4')
|
|
1570
|
+
|
|
1571
|
+
def test_with(self):
|
|
1572
|
+
p = self.cls(BASE)
|
|
1573
|
+
it = p.iterdir()
|
|
1574
|
+
it2 = p.iterdir()
|
|
1575
|
+
next(it2)
|
|
1576
|
+
with p:
|
|
1577
|
+
pass
|
|
1578
|
+
# I/O operation on closed path
|
|
1579
|
+
self.assertRaises(ValueError, next, it)
|
|
1580
|
+
self.assertRaises(ValueError, next, it2)
|
|
1581
|
+
self.assertRaises(ValueError, p.open)
|
|
1582
|
+
self.assertRaises(ValueError, p.resolve)
|
|
1583
|
+
self.assertRaises(ValueError, p.absolute)
|
|
1584
|
+
self.assertRaises(ValueError, p.__enter__)
|
|
1585
|
+
|
|
1586
|
+
def test_chmod(self):
|
|
1587
|
+
p = self.cls(BASE) / 'fileA'
|
|
1588
|
+
mode = p.stat().st_mode
|
|
1589
|
+
# Clear writable bit
|
|
1590
|
+
new_mode = mode & ~0o222
|
|
1591
|
+
p.chmod(new_mode)
|
|
1592
|
+
self.assertEqual(p.stat().st_mode, new_mode)
|
|
1593
|
+
# Set writable bit
|
|
1594
|
+
new_mode = mode | 0o222
|
|
1595
|
+
p.chmod(new_mode)
|
|
1596
|
+
self.assertEqual(p.stat().st_mode, new_mode)
|
|
1597
|
+
|
|
1598
|
+
# XXX also need a test for lchmod
|
|
1599
|
+
|
|
1600
|
+
def test_stat(self):
|
|
1601
|
+
p = self.cls(BASE) / 'fileA'
|
|
1602
|
+
st = p.stat()
|
|
1603
|
+
self.assertEqual(p.stat(), st)
|
|
1604
|
+
# Change file mode by flipping write bit
|
|
1605
|
+
p.chmod(st.st_mode ^ 0o222)
|
|
1606
|
+
self.addCleanup(p.chmod, st.st_mode)
|
|
1607
|
+
self.assertNotEqual(p.stat(), st)
|
|
1608
|
+
|
|
1609
|
+
@with_symlinks
|
|
1610
|
+
def test_lstat(self):
|
|
1611
|
+
p = self.cls(BASE)/ 'linkA'
|
|
1612
|
+
st = p.stat()
|
|
1613
|
+
self.assertNotEqual(st, p.lstat())
|
|
1614
|
+
|
|
1615
|
+
def test_lstat_nosymlink(self):
|
|
1616
|
+
p = self.cls(BASE) / 'fileA'
|
|
1617
|
+
st = p.stat()
|
|
1618
|
+
self.assertEqual(st, p.lstat())
|
|
1619
|
+
|
|
1620
|
+
@unittest.skipUnless(pwd, "the pwd module is needed for this test")
|
|
1621
|
+
def test_owner(self):
|
|
1622
|
+
p = self.cls(BASE) / 'fileA'
|
|
1623
|
+
uid = p.stat().st_uid
|
|
1624
|
+
try:
|
|
1625
|
+
name = pwd.getpwuid(uid).pw_name
|
|
1626
|
+
except KeyError:
|
|
1627
|
+
self.skipTest(
|
|
1628
|
+
"user %d doesn't have an entry in the system database" % uid)
|
|
1629
|
+
self.assertEqual(name, p.owner())
|
|
1630
|
+
|
|
1631
|
+
@unittest.skipUnless(grp, "the grp module is needed for this test")
|
|
1632
|
+
def test_group(self):
|
|
1633
|
+
p = self.cls(BASE) / 'fileA'
|
|
1634
|
+
gid = p.stat().st_gid
|
|
1635
|
+
try:
|
|
1636
|
+
name = grp.getgrgid(gid).gr_name
|
|
1637
|
+
except KeyError:
|
|
1638
|
+
self.skipTest(
|
|
1639
|
+
"group %d doesn't have an entry in the system database" % gid)
|
|
1640
|
+
self.assertEqual(name, p.group())
|
|
1641
|
+
|
|
1642
|
+
def test_unlink(self):
|
|
1643
|
+
p = self.cls(BASE) / 'fileA'
|
|
1644
|
+
p.unlink()
|
|
1645
|
+
self.assertFileNotFound(p.stat)
|
|
1646
|
+
self.assertFileNotFound(p.unlink)
|
|
1647
|
+
|
|
1648
|
+
def test_rmdir(self):
|
|
1649
|
+
p = self.cls(BASE) / 'dirA'
|
|
1650
|
+
for q in p.iterdir():
|
|
1651
|
+
q.unlink()
|
|
1652
|
+
p.rmdir()
|
|
1653
|
+
self.assertFileNotFound(p.stat)
|
|
1654
|
+
self.assertFileNotFound(p.unlink)
|
|
1655
|
+
|
|
1656
|
+
def test_rename(self):
|
|
1657
|
+
P = self.cls(BASE)
|
|
1658
|
+
p = P / 'fileA'
|
|
1659
|
+
size = p.stat().st_size
|
|
1660
|
+
# Renaming to another path
|
|
1661
|
+
q = P / 'dirA' / 'fileAA'
|
|
1662
|
+
p.rename(q)
|
|
1663
|
+
self.assertEqual(q.stat().st_size, size)
|
|
1664
|
+
self.assertFileNotFound(p.stat)
|
|
1665
|
+
# Renaming to a str of a relative path
|
|
1666
|
+
r = rel_join('fileAAA')
|
|
1667
|
+
q.rename(r)
|
|
1668
|
+
self.assertEqual(os.stat(r).st_size, size)
|
|
1669
|
+
self.assertFileNotFound(q.stat)
|
|
1670
|
+
|
|
1671
|
+
def test_replace(self):
|
|
1672
|
+
P = self.cls(BASE)
|
|
1673
|
+
p = P / 'fileA'
|
|
1674
|
+
size = p.stat().st_size
|
|
1675
|
+
# Replacing a non-existing path
|
|
1676
|
+
q = P / 'dirA' / 'fileAA'
|
|
1677
|
+
p.replace(q)
|
|
1678
|
+
self.assertEqual(q.stat().st_size, size)
|
|
1679
|
+
self.assertFileNotFound(p.stat)
|
|
1680
|
+
# Replacing another (existing) path
|
|
1681
|
+
r = rel_join('dirB', 'fileB')
|
|
1682
|
+
q.replace(r)
|
|
1683
|
+
self.assertEqual(os.stat(r).st_size, size)
|
|
1684
|
+
self.assertFileNotFound(q.stat)
|
|
1685
|
+
|
|
1686
|
+
def test_touch_common(self):
|
|
1687
|
+
P = self.cls(BASE)
|
|
1688
|
+
p = P / 'newfileA'
|
|
1689
|
+
self.assertFalse(p.exists())
|
|
1690
|
+
p.touch()
|
|
1691
|
+
self.assertTrue(p.exists())
|
|
1692
|
+
st = p.stat()
|
|
1693
|
+
old_mtime = st.st_mtime
|
|
1694
|
+
old_mtime_ns = st.st_mtime_ns
|
|
1695
|
+
# Rewind the mtime sufficiently far in the past to work around
|
|
1696
|
+
# filesystem-specific timestamp granularity.
|
|
1697
|
+
os.utime(str(p), (old_mtime - 10, old_mtime - 10))
|
|
1698
|
+
# The file mtime should be refreshed by calling touch() again
|
|
1699
|
+
p.touch()
|
|
1700
|
+
st = p.stat()
|
|
1701
|
+
self.assertGreaterEqual(st.st_mtime_ns, old_mtime_ns)
|
|
1702
|
+
self.assertGreaterEqual(st.st_mtime, old_mtime)
|
|
1703
|
+
# Now with exist_ok=False
|
|
1704
|
+
p = P / 'newfileB'
|
|
1705
|
+
self.assertFalse(p.exists())
|
|
1706
|
+
p.touch(mode=0o700, exist_ok=False)
|
|
1707
|
+
self.assertTrue(p.exists())
|
|
1708
|
+
self.assertRaises(OSError, p.touch, exist_ok=False)
|
|
1709
|
+
|
|
1710
|
+
def test_touch_nochange(self):
|
|
1711
|
+
P = self.cls(BASE)
|
|
1712
|
+
p = P / 'fileA'
|
|
1713
|
+
p.touch()
|
|
1714
|
+
with p.open('rb') as f:
|
|
1715
|
+
self.assertEqual(f.read().strip(), b"this is file A")
|
|
1716
|
+
|
|
1717
|
+
def test_mkdir(self):
|
|
1718
|
+
P = self.cls(BASE)
|
|
1719
|
+
p = P / 'newdirA'
|
|
1720
|
+
self.assertFalse(p.exists())
|
|
1721
|
+
p.mkdir()
|
|
1722
|
+
self.assertTrue(p.exists())
|
|
1723
|
+
self.assertTrue(p.is_dir())
|
|
1724
|
+
with self.assertRaises(OSError) as cm:
|
|
1725
|
+
p.mkdir()
|
|
1726
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1727
|
+
|
|
1728
|
+
def test_mkdir_parents(self):
|
|
1729
|
+
# Creating a chain of directories
|
|
1730
|
+
p = self.cls(BASE, 'newdirB', 'newdirC')
|
|
1731
|
+
self.assertFalse(p.exists())
|
|
1732
|
+
with self.assertRaises(OSError) as cm:
|
|
1733
|
+
p.mkdir()
|
|
1734
|
+
self.assertEqual(cm.exception.errno, errno.ENOENT)
|
|
1735
|
+
p.mkdir(parents=True)
|
|
1736
|
+
self.assertTrue(p.exists())
|
|
1737
|
+
self.assertTrue(p.is_dir())
|
|
1738
|
+
with self.assertRaises(OSError) as cm:
|
|
1739
|
+
p.mkdir(parents=True)
|
|
1740
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1741
|
+
# test `mode` arg
|
|
1742
|
+
mode = stat.S_IMODE(p.stat().st_mode) # default mode
|
|
1743
|
+
p = self.cls(BASE, 'newdirD', 'newdirE')
|
|
1744
|
+
p.mkdir(0o555, parents=True)
|
|
1745
|
+
self.assertTrue(p.exists())
|
|
1746
|
+
self.assertTrue(p.is_dir())
|
|
1747
|
+
if os.name != 'nt':
|
|
1748
|
+
# the directory's permissions follow the mode argument
|
|
1749
|
+
self.assertEqual(stat.S_IMODE(p.stat().st_mode), 0o7555 & mode)
|
|
1750
|
+
# the parent's permissions follow the default process settings
|
|
1751
|
+
self.assertEqual(stat.S_IMODE(p.parent.stat().st_mode), mode)
|
|
1752
|
+
|
|
1753
|
+
def test_mkdir_exist_ok(self):
|
|
1754
|
+
p = self.cls(BASE, 'dirB')
|
|
1755
|
+
st_ctime_first = p.stat().st_ctime
|
|
1756
|
+
self.assertTrue(p.exists())
|
|
1757
|
+
self.assertTrue(p.is_dir())
|
|
1758
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1759
|
+
p.mkdir()
|
|
1760
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1761
|
+
p.mkdir(exist_ok=True)
|
|
1762
|
+
self.assertTrue(p.exists())
|
|
1763
|
+
self.assertEqual(p.stat().st_ctime, st_ctime_first)
|
|
1764
|
+
|
|
1765
|
+
def test_mkdir_exist_ok_with_parent(self):
|
|
1766
|
+
p = self.cls(BASE, 'dirC')
|
|
1767
|
+
self.assertTrue(p.exists())
|
|
1768
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1769
|
+
p.mkdir()
|
|
1770
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1771
|
+
p = p / 'newdirC'
|
|
1772
|
+
p.mkdir(parents=True)
|
|
1773
|
+
st_ctime_first = p.stat().st_ctime
|
|
1774
|
+
self.assertTrue(p.exists())
|
|
1775
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1776
|
+
p.mkdir(parents=True)
|
|
1777
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1778
|
+
p.mkdir(parents=True, exist_ok=True)
|
|
1779
|
+
self.assertTrue(p.exists())
|
|
1780
|
+
self.assertEqual(p.stat().st_ctime, st_ctime_first)
|
|
1781
|
+
|
|
1782
|
+
def test_mkdir_exist_ok_root(self):
|
|
1783
|
+
# Issue #25803: A drive root could raise PermissionError on Windows
|
|
1784
|
+
self.cls('/').resolve().mkdir(exist_ok=True)
|
|
1785
|
+
self.cls('/').resolve().mkdir(parents=True, exist_ok=True)
|
|
1786
|
+
|
|
1787
|
+
@only_nt # XXX: not sure how to test this on POSIX
|
|
1788
|
+
def test_mkdir_with_unknown_drive(self):
|
|
1789
|
+
for d in 'ZYXWVUTSRQPONMLKJIHGFEDCBA':
|
|
1790
|
+
p = self.cls(d + ':\\')
|
|
1791
|
+
if not p.is_dir():
|
|
1792
|
+
break
|
|
1793
|
+
else:
|
|
1794
|
+
self.skipTest("cannot find a drive that doesn't exist")
|
|
1795
|
+
with self.assertRaises(OSError):
|
|
1796
|
+
(p / 'child' / 'path').mkdir(parents=True)
|
|
1797
|
+
|
|
1798
|
+
def test_mkdir_with_child_file(self):
|
|
1799
|
+
p = self.cls(BASE, 'dirB', 'fileB')
|
|
1800
|
+
self.assertTrue(p.exists())
|
|
1801
|
+
# An exception is raised when the last path component is an existing
|
|
1802
|
+
# regular file, regardless of whether exist_ok is true or not.
|
|
1803
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1804
|
+
p.mkdir(parents=True)
|
|
1805
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1806
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1807
|
+
p.mkdir(parents=True, exist_ok=True)
|
|
1808
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1809
|
+
|
|
1810
|
+
def test_mkdir_no_parents_file(self):
|
|
1811
|
+
p = self.cls(BASE, 'fileA')
|
|
1812
|
+
self.assertTrue(p.exists())
|
|
1813
|
+
# An exception is raised when the last path component is an existing
|
|
1814
|
+
# regular file, regardless of whether exist_ok is true or not.
|
|
1815
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1816
|
+
p.mkdir()
|
|
1817
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1818
|
+
with self.assertRaises(FileExistsError) as cm:
|
|
1819
|
+
p.mkdir(exist_ok=True)
|
|
1820
|
+
self.assertEqual(cm.exception.errno, errno.EEXIST)
|
|
1821
|
+
|
|
1822
|
+
def test_mkdir_concurrent_parent_creation(self):
|
|
1823
|
+
for pattern_num in range(32):
|
|
1824
|
+
p = self.cls(BASE, 'dirCPC%d' % pattern_num)
|
|
1825
|
+
self.assertFalse(p.exists())
|
|
1826
|
+
|
|
1827
|
+
def my_mkdir(path, mode=0o777):
|
|
1828
|
+
path = str(path)
|
|
1829
|
+
# Emulate another process that would create the directory
|
|
1830
|
+
# just before we try to create it ourselves. We do it
|
|
1831
|
+
# in all possible pattern combinations, assuming that this
|
|
1832
|
+
# function is called at most 5 times (dirCPC/dir1/dir2,
|
|
1833
|
+
# dirCPC/dir1, dirCPC, dirCPC/dir1, dirCPC/dir1/dir2).
|
|
1834
|
+
if pattern.pop():
|
|
1835
|
+
os.mkdir(path, mode) # from another process
|
|
1836
|
+
concurrently_created.add(path)
|
|
1837
|
+
os.mkdir(path, mode) # our real call
|
|
1838
|
+
|
|
1839
|
+
pattern = [bool(pattern_num & (1 << n)) for n in range(5)]
|
|
1840
|
+
concurrently_created = set()
|
|
1841
|
+
p12 = p / 'dir1' / 'dir2'
|
|
1842
|
+
try:
|
|
1843
|
+
with mock.patch("pathlib._normal_accessor.mkdir", my_mkdir):
|
|
1844
|
+
p12.mkdir(parents=True, exist_ok=False)
|
|
1845
|
+
except FileExistsError:
|
|
1846
|
+
self.assertIn(str(p12), concurrently_created)
|
|
1847
|
+
else:
|
|
1848
|
+
self.assertNotIn(str(p12), concurrently_created)
|
|
1849
|
+
self.assertTrue(p.exists())
|
|
1850
|
+
|
|
1851
|
+
@with_symlinks
|
|
1852
|
+
def test_symlink_to(self):
|
|
1853
|
+
P = self.cls(BASE)
|
|
1854
|
+
target = P / 'fileA'
|
|
1855
|
+
# Symlinking a path target
|
|
1856
|
+
link = P / 'dirA' / 'linkAA'
|
|
1857
|
+
link.symlink_to(target)
|
|
1858
|
+
self.assertEqual(link.stat(), target.stat())
|
|
1859
|
+
self.assertNotEqual(link.lstat(), target.stat())
|
|
1860
|
+
# Symlinking a str target
|
|
1861
|
+
link = P / 'dirA' / 'linkAAA'
|
|
1862
|
+
link.symlink_to(str(target))
|
|
1863
|
+
self.assertEqual(link.stat(), target.stat())
|
|
1864
|
+
self.assertNotEqual(link.lstat(), target.stat())
|
|
1865
|
+
self.assertFalse(link.is_dir())
|
|
1866
|
+
# Symlinking to a directory
|
|
1867
|
+
target = P / 'dirB'
|
|
1868
|
+
link = P / 'dirA' / 'linkAAAA'
|
|
1869
|
+
link.symlink_to(target, target_is_directory=True)
|
|
1870
|
+
self.assertEqual(link.stat(), target.stat())
|
|
1871
|
+
self.assertNotEqual(link.lstat(), target.stat())
|
|
1872
|
+
self.assertTrue(link.is_dir())
|
|
1873
|
+
self.assertTrue(list(link.iterdir()))
|
|
1874
|
+
|
|
1875
|
+
def test_is_dir(self):
|
|
1876
|
+
P = self.cls(BASE)
|
|
1877
|
+
self.assertTrue((P / 'dirA').is_dir())
|
|
1878
|
+
self.assertFalse((P / 'fileA').is_dir())
|
|
1879
|
+
self.assertFalse((P / 'non-existing').is_dir())
|
|
1880
|
+
self.assertFalse((P / 'fileA' / 'bah').is_dir())
|
|
1881
|
+
if not symlink_skip_reason:
|
|
1882
|
+
self.assertFalse((P / 'linkA').is_dir())
|
|
1883
|
+
self.assertTrue((P / 'linkB').is_dir())
|
|
1884
|
+
self.assertFalse((P/ 'brokenLink').is_dir())
|
|
1885
|
+
|
|
1886
|
+
def test_is_file(self):
|
|
1887
|
+
P = self.cls(BASE)
|
|
1888
|
+
self.assertTrue((P / 'fileA').is_file())
|
|
1889
|
+
self.assertFalse((P / 'dirA').is_file())
|
|
1890
|
+
self.assertFalse((P / 'non-existing').is_file())
|
|
1891
|
+
self.assertFalse((P / 'fileA' / 'bah').is_file())
|
|
1892
|
+
if not symlink_skip_reason:
|
|
1893
|
+
self.assertTrue((P / 'linkA').is_file())
|
|
1894
|
+
self.assertFalse((P / 'linkB').is_file())
|
|
1895
|
+
self.assertFalse((P/ 'brokenLink').is_file())
|
|
1896
|
+
|
|
1897
|
+
def test_is_symlink(self):
|
|
1898
|
+
P = self.cls(BASE)
|
|
1899
|
+
self.assertFalse((P / 'fileA').is_symlink())
|
|
1900
|
+
self.assertFalse((P / 'dirA').is_symlink())
|
|
1901
|
+
self.assertFalse((P / 'non-existing').is_symlink())
|
|
1902
|
+
self.assertFalse((P / 'fileA' / 'bah').is_symlink())
|
|
1903
|
+
if not symlink_skip_reason:
|
|
1904
|
+
self.assertTrue((P / 'linkA').is_symlink())
|
|
1905
|
+
self.assertTrue((P / 'linkB').is_symlink())
|
|
1906
|
+
self.assertTrue((P/ 'brokenLink').is_symlink())
|
|
1907
|
+
|
|
1908
|
+
def test_is_fifo_false(self):
|
|
1909
|
+
P = self.cls(BASE)
|
|
1910
|
+
self.assertFalse((P / 'fileA').is_fifo())
|
|
1911
|
+
self.assertFalse((P / 'dirA').is_fifo())
|
|
1912
|
+
self.assertFalse((P / 'non-existing').is_fifo())
|
|
1913
|
+
self.assertFalse((P / 'fileA' / 'bah').is_fifo())
|
|
1914
|
+
|
|
1915
|
+
@unittest.skipUnless(hasattr(os, "mkfifo"), "os.mkfifo() required")
|
|
1916
|
+
def test_is_fifo_true(self):
|
|
1917
|
+
P = self.cls(BASE, 'myfifo')
|
|
1918
|
+
try:
|
|
1919
|
+
os.mkfifo(str(P))
|
|
1920
|
+
except PermissionError as e:
|
|
1921
|
+
self.skipTest('os.mkfifo(): %s' % e)
|
|
1922
|
+
self.assertTrue(P.is_fifo())
|
|
1923
|
+
self.assertFalse(P.is_socket())
|
|
1924
|
+
self.assertFalse(P.is_file())
|
|
1925
|
+
|
|
1926
|
+
def test_is_socket_false(self):
|
|
1927
|
+
P = self.cls(BASE)
|
|
1928
|
+
self.assertFalse((P / 'fileA').is_socket())
|
|
1929
|
+
self.assertFalse((P / 'dirA').is_socket())
|
|
1930
|
+
self.assertFalse((P / 'non-existing').is_socket())
|
|
1931
|
+
self.assertFalse((P / 'fileA' / 'bah').is_socket())
|
|
1932
|
+
|
|
1933
|
+
@unittest.skipUnless(hasattr(socket, "AF_UNIX"), "Unix sockets required")
|
|
1934
|
+
def test_is_socket_true(self):
|
|
1935
|
+
P = self.cls(BASE, 'mysock')
|
|
1936
|
+
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
|
1937
|
+
self.addCleanup(sock.close)
|
|
1938
|
+
try:
|
|
1939
|
+
sock.bind(str(P))
|
|
1940
|
+
except OSError as e:
|
|
1941
|
+
if (isinstance(e, PermissionError) or
|
|
1942
|
+
"AF_UNIX path too long" in str(e)):
|
|
1943
|
+
self.skipTest("cannot bind Unix socket: " + str(e))
|
|
1944
|
+
self.assertTrue(P.is_socket())
|
|
1945
|
+
self.assertFalse(P.is_fifo())
|
|
1946
|
+
self.assertFalse(P.is_file())
|
|
1947
|
+
|
|
1948
|
+
def test_is_block_device_false(self):
|
|
1949
|
+
P = self.cls(BASE)
|
|
1950
|
+
self.assertFalse((P / 'fileA').is_block_device())
|
|
1951
|
+
self.assertFalse((P / 'dirA').is_block_device())
|
|
1952
|
+
self.assertFalse((P / 'non-existing').is_block_device())
|
|
1953
|
+
self.assertFalse((P / 'fileA' / 'bah').is_block_device())
|
|
1954
|
+
|
|
1955
|
+
def test_is_char_device_false(self):
|
|
1956
|
+
P = self.cls(BASE)
|
|
1957
|
+
self.assertFalse((P / 'fileA').is_char_device())
|
|
1958
|
+
self.assertFalse((P / 'dirA').is_char_device())
|
|
1959
|
+
self.assertFalse((P / 'non-existing').is_char_device())
|
|
1960
|
+
self.assertFalse((P / 'fileA' / 'bah').is_char_device())
|
|
1961
|
+
|
|
1962
|
+
def test_is_char_device_true(self):
|
|
1963
|
+
# Under Unix, /dev/null should generally be a char device
|
|
1964
|
+
P = self.cls('/dev/null')
|
|
1965
|
+
if not P.exists():
|
|
1966
|
+
self.skipTest("/dev/null required")
|
|
1967
|
+
self.assertTrue(P.is_char_device())
|
|
1968
|
+
self.assertFalse(P.is_block_device())
|
|
1969
|
+
self.assertFalse(P.is_file())
|
|
1970
|
+
|
|
1971
|
+
def test_pickling_common(self):
|
|
1972
|
+
p = self.cls(BASE, 'fileA')
|
|
1973
|
+
for proto in range(0, pickle.HIGHEST_PROTOCOL + 1):
|
|
1974
|
+
dumped = pickle.dumps(p, proto)
|
|
1975
|
+
pp = pickle.loads(dumped)
|
|
1976
|
+
self.assertEqual(pp.stat(), p.stat())
|
|
1977
|
+
|
|
1978
|
+
def test_parts_interning(self):
|
|
1979
|
+
P = self.cls
|
|
1980
|
+
p = P('/usr/bin/foo')
|
|
1981
|
+
q = P('/usr/local/bin')
|
|
1982
|
+
# 'usr'
|
|
1983
|
+
self.assertIs(p.parts[1], q.parts[1])
|
|
1984
|
+
# 'bin'
|
|
1985
|
+
self.assertIs(p.parts[2], q.parts[3])
|
|
1986
|
+
|
|
1987
|
+
def _check_complex_symlinks(self, link0_target):
|
|
1988
|
+
# Test solving a non-looping chain of symlinks (issue #19887)
|
|
1989
|
+
P = self.cls(BASE)
|
|
1990
|
+
self.dirlink(os.path.join('link0', 'link0'), join('link1'))
|
|
1991
|
+
self.dirlink(os.path.join('link1', 'link1'), join('link2'))
|
|
1992
|
+
self.dirlink(os.path.join('link2', 'link2'), join('link3'))
|
|
1993
|
+
self.dirlink(link0_target, join('link0'))
|
|
1994
|
+
|
|
1995
|
+
# Resolve absolute paths
|
|
1996
|
+
p = (P / 'link0').resolve()
|
|
1997
|
+
self.assertEqual(p, P)
|
|
1998
|
+
self.assertEqual(str(p), BASE)
|
|
1999
|
+
p = (P / 'link1').resolve()
|
|
2000
|
+
self.assertEqual(p, P)
|
|
2001
|
+
self.assertEqual(str(p), BASE)
|
|
2002
|
+
p = (P / 'link2').resolve()
|
|
2003
|
+
self.assertEqual(p, P)
|
|
2004
|
+
self.assertEqual(str(p), BASE)
|
|
2005
|
+
p = (P / 'link3').resolve()
|
|
2006
|
+
self.assertEqual(p, P)
|
|
2007
|
+
self.assertEqual(str(p), BASE)
|
|
2008
|
+
|
|
2009
|
+
# Resolve relative paths
|
|
2010
|
+
old_path = os.getcwd()
|
|
2011
|
+
os.chdir(BASE)
|
|
2012
|
+
try:
|
|
2013
|
+
p = self.cls('link0').resolve()
|
|
2014
|
+
self.assertEqual(p, P)
|
|
2015
|
+
self.assertEqual(str(p), BASE)
|
|
2016
|
+
p = self.cls('link1').resolve()
|
|
2017
|
+
self.assertEqual(p, P)
|
|
2018
|
+
self.assertEqual(str(p), BASE)
|
|
2019
|
+
p = self.cls('link2').resolve()
|
|
2020
|
+
self.assertEqual(p, P)
|
|
2021
|
+
self.assertEqual(str(p), BASE)
|
|
2022
|
+
p = self.cls('link3').resolve()
|
|
2023
|
+
self.assertEqual(p, P)
|
|
2024
|
+
self.assertEqual(str(p), BASE)
|
|
2025
|
+
finally:
|
|
2026
|
+
os.chdir(old_path)
|
|
2027
|
+
|
|
2028
|
+
@with_symlinks
|
|
2029
|
+
def test_complex_symlinks_absolute(self):
|
|
2030
|
+
self._check_complex_symlinks(BASE)
|
|
2031
|
+
|
|
2032
|
+
@with_symlinks
|
|
2033
|
+
def test_complex_symlinks_relative(self):
|
|
2034
|
+
self._check_complex_symlinks('.')
|
|
2035
|
+
|
|
2036
|
+
@with_symlinks
|
|
2037
|
+
def test_complex_symlinks_relative_dot_dot(self):
|
|
2038
|
+
self._check_complex_symlinks(os.path.join('dirA', '..'))
|
|
2039
|
+
|
|
2040
|
+
|
|
2041
|
+
class PathTest(_BasePathTest, unittest.TestCase):
|
|
2042
|
+
cls = pathlib.Path
|
|
2043
|
+
|
|
2044
|
+
def test_concrete_class(self):
|
|
2045
|
+
p = self.cls('a')
|
|
2046
|
+
self.assertIs(type(p),
|
|
2047
|
+
pathlib.WindowsPath if os.name == 'nt' else pathlib.PosixPath)
|
|
2048
|
+
|
|
2049
|
+
def test_unsupported_flavour(self):
|
|
2050
|
+
if os.name == 'nt':
|
|
2051
|
+
self.assertRaises(NotImplementedError, pathlib.PosixPath)
|
|
2052
|
+
else:
|
|
2053
|
+
self.assertRaises(NotImplementedError, pathlib.WindowsPath)
|
|
2054
|
+
|
|
2055
|
+
def test_glob_empty_pattern(self):
|
|
2056
|
+
p = self.cls()
|
|
2057
|
+
with self.assertRaisesRegex(ValueError, 'Unacceptable pattern'):
|
|
2058
|
+
list(p.glob(''))
|
|
2059
|
+
|
|
2060
|
+
|
|
2061
|
+
@only_posix
|
|
2062
|
+
class PosixPathTest(_BasePathTest, unittest.TestCase):
|
|
2063
|
+
cls = pathlib.PosixPath
|
|
2064
|
+
|
|
2065
|
+
def _check_symlink_loop(self, *args, strict=True):
|
|
2066
|
+
path = self.cls(*args)
|
|
2067
|
+
with self.assertRaises(RuntimeError):
|
|
2068
|
+
print(path.resolve(strict))
|
|
2069
|
+
|
|
2070
|
+
def test_open_mode(self):
|
|
2071
|
+
old_mask = os.umask(0)
|
|
2072
|
+
self.addCleanup(os.umask, old_mask)
|
|
2073
|
+
p = self.cls(BASE)
|
|
2074
|
+
with (p / 'new_file').open('wb'):
|
|
2075
|
+
pass
|
|
2076
|
+
st = os.stat(join('new_file'))
|
|
2077
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o666)
|
|
2078
|
+
os.umask(0o022)
|
|
2079
|
+
with (p / 'other_new_file').open('wb'):
|
|
2080
|
+
pass
|
|
2081
|
+
st = os.stat(join('other_new_file'))
|
|
2082
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o644)
|
|
2083
|
+
|
|
2084
|
+
def test_touch_mode(self):
|
|
2085
|
+
old_mask = os.umask(0)
|
|
2086
|
+
self.addCleanup(os.umask, old_mask)
|
|
2087
|
+
p = self.cls(BASE)
|
|
2088
|
+
(p / 'new_file').touch()
|
|
2089
|
+
st = os.stat(join('new_file'))
|
|
2090
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o666)
|
|
2091
|
+
os.umask(0o022)
|
|
2092
|
+
(p / 'other_new_file').touch()
|
|
2093
|
+
st = os.stat(join('other_new_file'))
|
|
2094
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o644)
|
|
2095
|
+
(p / 'masked_new_file').touch(mode=0o750)
|
|
2096
|
+
st = os.stat(join('masked_new_file'))
|
|
2097
|
+
self.assertEqual(stat.S_IMODE(st.st_mode), 0o750)
|
|
2098
|
+
|
|
2099
|
+
@with_symlinks
|
|
2100
|
+
def test_resolve_loop(self):
|
|
2101
|
+
# Loops with relative symlinks
|
|
2102
|
+
os.symlink('linkX/inside', join('linkX'))
|
|
2103
|
+
self._check_symlink_loop(BASE, 'linkX')
|
|
2104
|
+
os.symlink('linkY', join('linkY'))
|
|
2105
|
+
self._check_symlink_loop(BASE, 'linkY')
|
|
2106
|
+
os.symlink('linkZ/../linkZ', join('linkZ'))
|
|
2107
|
+
self._check_symlink_loop(BASE, 'linkZ')
|
|
2108
|
+
# Non-strict
|
|
2109
|
+
self._check_symlink_loop(BASE, 'linkZ', 'foo', strict=False)
|
|
2110
|
+
# Loops with absolute symlinks
|
|
2111
|
+
os.symlink(join('linkU/inside'), join('linkU'))
|
|
2112
|
+
self._check_symlink_loop(BASE, 'linkU')
|
|
2113
|
+
os.symlink(join('linkV'), join('linkV'))
|
|
2114
|
+
self._check_symlink_loop(BASE, 'linkV')
|
|
2115
|
+
os.symlink(join('linkW/../linkW'), join('linkW'))
|
|
2116
|
+
self._check_symlink_loop(BASE, 'linkW')
|
|
2117
|
+
# Non-strict
|
|
2118
|
+
self._check_symlink_loop(BASE, 'linkW', 'foo', strict=False)
|
|
2119
|
+
|
|
2120
|
+
def test_glob(self):
|
|
2121
|
+
P = self.cls
|
|
2122
|
+
p = P(BASE)
|
|
2123
|
+
given = set(p.glob("FILEa"))
|
|
2124
|
+
expect = set() if not support.fs_is_case_insensitive(BASE) else given
|
|
2125
|
+
self.assertEqual(given, expect)
|
|
2126
|
+
self.assertEqual(set(p.glob("FILEa*")), set())
|
|
2127
|
+
|
|
2128
|
+
def test_rglob(self):
|
|
2129
|
+
P = self.cls
|
|
2130
|
+
p = P(BASE, "dirC")
|
|
2131
|
+
given = set(p.rglob("FILEd"))
|
|
2132
|
+
expect = set() if not support.fs_is_case_insensitive(BASE) else given
|
|
2133
|
+
self.assertEqual(given, expect)
|
|
2134
|
+
self.assertEqual(set(p.rglob("FILEd*")), set())
|
|
2135
|
+
|
|
2136
|
+
@unittest.skipUnless(hasattr(pwd, 'getpwall'),
|
|
2137
|
+
'pwd module does not expose getpwall()')
|
|
2138
|
+
def test_expanduser(self):
|
|
2139
|
+
P = self.cls
|
|
2140
|
+
support.import_module('pwd')
|
|
2141
|
+
import pwd
|
|
2142
|
+
pwdent = pwd.getpwuid(os.getuid())
|
|
2143
|
+
username = pwdent.pw_name
|
|
2144
|
+
userhome = pwdent.pw_dir.rstrip('/') or '/'
|
|
2145
|
+
# find arbitrary different user (if exists)
|
|
2146
|
+
for pwdent in pwd.getpwall():
|
|
2147
|
+
othername = pwdent.pw_name
|
|
2148
|
+
otherhome = pwdent.pw_dir.rstrip('/')
|
|
2149
|
+
if othername != username and otherhome:
|
|
2150
|
+
break
|
|
2151
|
+
|
|
2152
|
+
p1 = P('~/Documents')
|
|
2153
|
+
p2 = P('~' + username + '/Documents')
|
|
2154
|
+
p3 = P('~' + othername + '/Documents')
|
|
2155
|
+
p4 = P('../~' + username + '/Documents')
|
|
2156
|
+
p5 = P('/~' + username + '/Documents')
|
|
2157
|
+
p6 = P('')
|
|
2158
|
+
p7 = P('~fakeuser/Documents')
|
|
2159
|
+
|
|
2160
|
+
with support.EnvironmentVarGuard() as env:
|
|
2161
|
+
env.pop('HOME', None)
|
|
2162
|
+
|
|
2163
|
+
self.assertEqual(p1.expanduser(), P(userhome) / 'Documents')
|
|
2164
|
+
self.assertEqual(p2.expanduser(), P(userhome) / 'Documents')
|
|
2165
|
+
self.assertEqual(p3.expanduser(), P(otherhome) / 'Documents')
|
|
2166
|
+
self.assertEqual(p4.expanduser(), p4)
|
|
2167
|
+
self.assertEqual(p5.expanduser(), p5)
|
|
2168
|
+
self.assertEqual(p6.expanduser(), p6)
|
|
2169
|
+
self.assertRaises(RuntimeError, p7.expanduser)
|
|
2170
|
+
|
|
2171
|
+
env['HOME'] = '/tmp'
|
|
2172
|
+
self.assertEqual(p1.expanduser(), P('/tmp/Documents'))
|
|
2173
|
+
self.assertEqual(p2.expanduser(), P(userhome) / 'Documents')
|
|
2174
|
+
self.assertEqual(p3.expanduser(), P(otherhome) / 'Documents')
|
|
2175
|
+
self.assertEqual(p4.expanduser(), p4)
|
|
2176
|
+
self.assertEqual(p5.expanduser(), p5)
|
|
2177
|
+
self.assertEqual(p6.expanduser(), p6)
|
|
2178
|
+
self.assertRaises(RuntimeError, p7.expanduser)
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
@only_nt
|
|
2182
|
+
class WindowsPathTest(_BasePathTest, unittest.TestCase):
|
|
2183
|
+
cls = pathlib.WindowsPath
|
|
2184
|
+
|
|
2185
|
+
def test_glob(self):
|
|
2186
|
+
P = self.cls
|
|
2187
|
+
p = P(BASE)
|
|
2188
|
+
self.assertEqual(set(p.glob("FILEa")), { P(BASE, "fileA") })
|
|
2189
|
+
|
|
2190
|
+
def test_rglob(self):
|
|
2191
|
+
P = self.cls
|
|
2192
|
+
p = P(BASE, "dirC")
|
|
2193
|
+
self.assertEqual(set(p.rglob("FILEd")), { P(BASE, "dirC/dirD/fileD") })
|
|
2194
|
+
|
|
2195
|
+
def test_expanduser(self):
|
|
2196
|
+
P = self.cls
|
|
2197
|
+
with support.EnvironmentVarGuard() as env:
|
|
2198
|
+
env.pop('HOME', None)
|
|
2199
|
+
env.pop('USERPROFILE', None)
|
|
2200
|
+
env.pop('HOMEPATH', None)
|
|
2201
|
+
env.pop('HOMEDRIVE', None)
|
|
2202
|
+
env['USERNAME'] = 'alice'
|
|
2203
|
+
|
|
2204
|
+
# test that the path returns unchanged
|
|
2205
|
+
p1 = P('~/My Documents')
|
|
2206
|
+
p2 = P('~alice/My Documents')
|
|
2207
|
+
p3 = P('~bob/My Documents')
|
|
2208
|
+
p4 = P('/~/My Documents')
|
|
2209
|
+
p5 = P('d:~/My Documents')
|
|
2210
|
+
p6 = P('')
|
|
2211
|
+
self.assertRaises(RuntimeError, p1.expanduser)
|
|
2212
|
+
self.assertRaises(RuntimeError, p2.expanduser)
|
|
2213
|
+
self.assertRaises(RuntimeError, p3.expanduser)
|
|
2214
|
+
self.assertEqual(p4.expanduser(), p4)
|
|
2215
|
+
self.assertEqual(p5.expanduser(), p5)
|
|
2216
|
+
self.assertEqual(p6.expanduser(), p6)
|
|
2217
|
+
|
|
2218
|
+
def check():
|
|
2219
|
+
env.pop('USERNAME', None)
|
|
2220
|
+
self.assertEqual(p1.expanduser(),
|
|
2221
|
+
P('C:/Users/alice/My Documents'))
|
|
2222
|
+
self.assertRaises(KeyError, p2.expanduser)
|
|
2223
|
+
env['USERNAME'] = 'alice'
|
|
2224
|
+
self.assertEqual(p2.expanduser(),
|
|
2225
|
+
P('C:/Users/alice/My Documents'))
|
|
2226
|
+
self.assertEqual(p3.expanduser(),
|
|
2227
|
+
P('C:/Users/bob/My Documents'))
|
|
2228
|
+
self.assertEqual(p4.expanduser(), p4)
|
|
2229
|
+
self.assertEqual(p5.expanduser(), p5)
|
|
2230
|
+
self.assertEqual(p6.expanduser(), p6)
|
|
2231
|
+
|
|
2232
|
+
# test the first lookup key in the env vars
|
|
2233
|
+
env['HOME'] = 'C:\\Users\\alice'
|
|
2234
|
+
check()
|
|
2235
|
+
|
|
2236
|
+
# test that HOMEPATH is available instead
|
|
2237
|
+
env.pop('HOME', None)
|
|
2238
|
+
env['HOMEPATH'] = 'C:\\Users\\alice'
|
|
2239
|
+
check()
|
|
2240
|
+
|
|
2241
|
+
env['HOMEDRIVE'] = 'C:\\'
|
|
2242
|
+
env['HOMEPATH'] = 'Users\\alice'
|
|
2243
|
+
check()
|
|
2244
|
+
|
|
2245
|
+
env.pop('HOMEDRIVE', None)
|
|
2246
|
+
env.pop('HOMEPATH', None)
|
|
2247
|
+
env['USERPROFILE'] = 'C:\\Users\\alice'
|
|
2248
|
+
check()
|
|
2249
|
+
|
|
2250
|
+
|
|
2251
|
+
if __name__ == "__main__":
|
|
2252
|
+
unittest.main()
|