com.googler.python 1.0.0

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.
Files changed (2352) hide show
  1. package/package.json +7 -0
  2. package/python3 +6 -0
  3. package/python3.4.2/bin/2to3 +5 -0
  4. package/python3.4.2/bin/2to3-3.4 +5 -0
  5. package/python3.4.2/bin/android-debian-builder +10 -0
  6. package/python3.4.2/bin/easy_install-3.4 +11 -0
  7. package/python3.4.2/bin/idle3 +5 -0
  8. package/python3.4.2/bin/idle3.4 +5 -0
  9. package/python3.4.2/bin/pip3 +11 -0
  10. package/python3.4.2/bin/pip3.4 +11 -0
  11. package/python3.4.2/bin/pydoc3 +5 -0
  12. package/python3.4.2/bin/pydoc3.4 +5 -0
  13. package/python3.4.2/bin/python3-config +111 -0
  14. package/python3.4.2/bin/python3.4 +0 -0
  15. package/python3.4.2/bin/python3.4-config +111 -0
  16. package/python3.4.2/bin/python3.4m-config +111 -0
  17. package/python3.4.2/bin/pyvenv +11 -0
  18. package/python3.4.2/bin/pyvenv-3.4 +11 -0
  19. package/python3.4.2/include/python3.4m/Python-ast.h +569 -0
  20. package/python3.4.2/include/python3.4m/Python.h +133 -0
  21. package/python3.4.2/include/python3.4m/abstract.h +1267 -0
  22. package/python3.4.2/include/python3.4m/accu.h +37 -0
  23. package/python3.4.2/include/python3.4m/asdl.h +45 -0
  24. package/python3.4.2/include/python3.4m/ast.h +22 -0
  25. package/python3.4.2/include/python3.4m/bitset.h +32 -0
  26. package/python3.4.2/include/python3.4m/bltinmodule.h +14 -0
  27. package/python3.4.2/include/python3.4m/boolobject.h +34 -0
  28. package/python3.4.2/include/python3.4m/bytearrayobject.h +62 -0
  29. package/python3.4.2/include/python3.4m/bytes_methods.h +46 -0
  30. package/python3.4.2/include/python3.4m/bytesobject.h +128 -0
  31. package/python3.4.2/include/python3.4m/cellobject.h +29 -0
  32. package/python3.4.2/include/python3.4m/ceval.h +205 -0
  33. package/python3.4.2/include/python3.4m/classobject.h +58 -0
  34. package/python3.4.2/include/python3.4m/code.h +115 -0
  35. package/python3.4.2/include/python3.4m/codecs.h +233 -0
  36. package/python3.4.2/include/python3.4m/compile.h +72 -0
  37. package/python3.4.2/include/python3.4m/complexobject.h +77 -0
  38. package/python3.4.2/include/python3.4m/datetime.h +243 -0
  39. package/python3.4.2/include/python3.4m/descrobject.h +105 -0
  40. package/python3.4.2/include/python3.4m/dictobject.h +126 -0
  41. package/python3.4.2/include/python3.4m/dtoa.h +19 -0
  42. package/python3.4.2/include/python3.4m/dynamic_annotations.h +499 -0
  43. package/python3.4.2/include/python3.4m/enumobject.h +17 -0
  44. package/python3.4.2/include/python3.4m/errcode.h +38 -0
  45. package/python3.4.2/include/python3.4m/eval.h +27 -0
  46. package/python3.4.2/include/python3.4m/fileobject.h +58 -0
  47. package/python3.4.2/include/python3.4m/fileutils.h +79 -0
  48. package/python3.4.2/include/python3.4m/floatobject.h +128 -0
  49. package/python3.4.2/include/python3.4m/frameobject.h +95 -0
  50. package/python3.4.2/include/python3.4m/funcobject.h +89 -0
  51. package/python3.4.2/include/python3.4m/genobject.h +46 -0
  52. package/python3.4.2/include/python3.4m/graminit.h +84 -0
  53. package/python3.4.2/include/python3.4m/grammar.h +93 -0
  54. package/python3.4.2/include/python3.4m/import.h +130 -0
  55. package/python3.4.2/include/python3.4m/intrcheck.h +21 -0
  56. package/python3.4.2/include/python3.4m/iterobject.h +25 -0
  57. package/python3.4.2/include/python3.4m/listobject.h +80 -0
  58. package/python3.4.2/include/python3.4m/longintrepr.h +103 -0
  59. package/python3.4.2/include/python3.4m/longobject.h +204 -0
  60. package/python3.4.2/include/python3.4m/marshal.h +28 -0
  61. package/python3.4.2/include/python3.4m/memoryobject.h +74 -0
  62. package/python3.4.2/include/python3.4m/metagrammar.h +18 -0
  63. package/python3.4.2/include/python3.4m/methodobject.h +93 -0
  64. package/python3.4.2/include/python3.4m/modsupport.h +132 -0
  65. package/python3.4.2/include/python3.4m/moduleobject.h +63 -0
  66. package/python3.4.2/include/python3.4m/namespaceobject.h +17 -0
  67. package/python3.4.2/include/python3.4m/node.h +44 -0
  68. package/python3.4.2/include/python3.4m/object.h +1015 -0
  69. package/python3.4.2/include/python3.4m/objimpl.h +361 -0
  70. package/python3.4.2/include/python3.4m/opcode.h +159 -0
  71. package/python3.4.2/include/python3.4m/osdefs.h +50 -0
  72. package/python3.4.2/include/python3.4m/parsetok.h +108 -0
  73. package/python3.4.2/include/python3.4m/patchlevel.h +35 -0
  74. package/python3.4.2/include/python3.4m/pgen.h +18 -0
  75. package/python3.4.2/include/python3.4m/pgenheaders.h +42 -0
  76. package/python3.4.2/include/python3.4m/py_curses.h +177 -0
  77. package/python3.4.2/include/python3.4m/pyarena.h +64 -0
  78. package/python3.4.2/include/python3.4m/pyatomic.h +184 -0
  79. package/python3.4.2/include/python3.4m/pycapsule.h +59 -0
  80. package/python3.4.2/include/python3.4m/pyconfig.h +1503 -0
  81. package/python3.4.2/include/python3.4m/pyctype.h +33 -0
  82. package/python3.4.2/include/python3.4m/pydebug.h +34 -0
  83. package/python3.4.2/include/python3.4m/pyerrors.h +464 -0
  84. package/python3.4.2/include/python3.4m/pyexpat.h +53 -0
  85. package/python3.4.2/include/python3.4m/pyfpe.h +176 -0
  86. package/python3.4.2/include/python3.4m/pygetopt.h +21 -0
  87. package/python3.4.2/include/python3.4m/pyhash.h +149 -0
  88. package/python3.4.2/include/python3.4m/pymacconfig.h +102 -0
  89. package/python3.4.2/include/python3.4m/pymacro.h +78 -0
  90. package/python3.4.2/include/python3.4m/pymath.h +190 -0
  91. package/python3.4.2/include/python3.4m/pymem.h +183 -0
  92. package/python3.4.2/include/python3.4m/pyport.h +883 -0
  93. package/python3.4.2/include/python3.4m/pystate.h +271 -0
  94. package/python3.4.2/include/python3.4m/pystrcmp.h +23 -0
  95. package/python3.4.2/include/python3.4m/pystrtod.h +41 -0
  96. package/python3.4.2/include/python3.4m/pythonrun.h +304 -0
  97. package/python3.4.2/include/python3.4m/pythread.h +93 -0
  98. package/python3.4.2/include/python3.4m/pytime.h +105 -0
  99. package/python3.4.2/include/python3.4m/rangeobject.h +27 -0
  100. package/python3.4.2/include/python3.4m/setobject.h +113 -0
  101. package/python3.4.2/include/python3.4m/sliceobject.h +50 -0
  102. package/python3.4.2/include/python3.4m/structmember.h +76 -0
  103. package/python3.4.2/include/python3.4m/structseq.h +49 -0
  104. package/python3.4.2/include/python3.4m/symtable.h +122 -0
  105. package/python3.4.2/include/python3.4m/sysmodule.h +43 -0
  106. package/python3.4.2/include/python3.4m/token.h +87 -0
  107. package/python3.4.2/include/python3.4m/traceback.h +72 -0
  108. package/python3.4.2/include/python3.4m/tupleobject.h +73 -0
  109. package/python3.4.2/include/python3.4m/typeslots.h +76 -0
  110. package/python3.4.2/include/python3.4m/ucnhash.h +36 -0
  111. package/python3.4.2/include/python3.4m/unicodeobject.h +2271 -0
  112. package/python3.4.2/include/python3.4m/warnings.h +54 -0
  113. package/python3.4.2/include/python3.4m/weakrefobject.h +86 -0
  114. package/python3.4.2/lib/pkgconfig/python-3.4.pc +13 -0
  115. package/python3.4.2/lib/pkgconfig/python-3.4m.pc +13 -0
  116. package/python3.4.2/lib/pkgconfig/python3.pc +13 -0
  117. package/python3.4.2/lib/python3.4/LICENSE.txt +254 -0
  118. package/python3.4.2/lib/python3.4/__future__.py +134 -0
  119. package/python3.4.2/lib/python3.4/__phello__.foo.py +1 -0
  120. package/python3.4.2/lib/python3.4/__pycache__/_bootlocale.cpython-34.pyc +0 -0
  121. package/python3.4.2/lib/python3.4/__pycache__/_collections_abc.cpython-34.pyc +0 -0
  122. package/python3.4.2/lib/python3.4/__pycache__/_sitebuiltins.cpython-34.pyc +0 -0
  123. package/python3.4.2/lib/python3.4/__pycache__/_sysconfigdata.cpython-34.pyc +0 -0
  124. package/python3.4.2/lib/python3.4/__pycache__/_weakrefset.cpython-34.pyc +0 -0
  125. package/python3.4.2/lib/python3.4/__pycache__/abc.cpython-34.pyc +0 -0
  126. package/python3.4.2/lib/python3.4/__pycache__/codecs.cpython-34.pyc +0 -0
  127. package/python3.4.2/lib/python3.4/__pycache__/genericpath.cpython-34.pyc +0 -0
  128. package/python3.4.2/lib/python3.4/__pycache__/io.cpython-34.pyc +0 -0
  129. package/python3.4.2/lib/python3.4/__pycache__/os.cpython-34.pyc +0 -0
  130. package/python3.4.2/lib/python3.4/__pycache__/posixpath.cpython-34.pyc +0 -0
  131. package/python3.4.2/lib/python3.4/__pycache__/rlcompleter.cpython-34.pyc +0 -0
  132. package/python3.4.2/lib/python3.4/__pycache__/site.cpython-34.pyc +0 -0
  133. package/python3.4.2/lib/python3.4/__pycache__/stat.cpython-34.pyc +0 -0
  134. package/python3.4.2/lib/python3.4/__pycache__/sysconfig.cpython-34.pyc +0 -0
  135. package/python3.4.2/lib/python3.4/_bootlocale.py +34 -0
  136. package/python3.4.2/lib/python3.4/_collections_abc.py +753 -0
  137. package/python3.4.2/lib/python3.4/_compat_pickle.py +137 -0
  138. package/python3.4.2/lib/python3.4/_dummy_thread.py +155 -0
  139. package/python3.4.2/lib/python3.4/_markupbase.py +395 -0
  140. package/python3.4.2/lib/python3.4/_osx_support.py +502 -0
  141. package/python3.4.2/lib/python3.4/_pyio.py +2105 -0
  142. package/python3.4.2/lib/python3.4/_sitebuiltins.py +103 -0
  143. package/python3.4.2/lib/python3.4/_strptime.py +511 -0
  144. package/python3.4.2/lib/python3.4/_sysconfigdata.py +710 -0
  145. package/python3.4.2/lib/python3.4/_threading_local.py +246 -0
  146. package/python3.4.2/lib/python3.4/_weakrefset.py +196 -0
  147. package/python3.4.2/lib/python3.4/abc.py +248 -0
  148. package/python3.4.2/lib/python3.4/aifc.py +918 -0
  149. package/python3.4.2/lib/python3.4/antigravity.py +17 -0
  150. package/python3.4.2/lib/python3.4/argparse.py +2379 -0
  151. package/python3.4.2/lib/python3.4/ast.py +315 -0
  152. package/python3.4.2/lib/python3.4/asynchat.py +333 -0
  153. package/python3.4.2/lib/python3.4/asyncio/__init__.py +48 -0
  154. package/python3.4.2/lib/python3.4/asyncio/base_events.py +1055 -0
  155. package/python3.4.2/lib/python3.4/asyncio/base_subprocess.py +197 -0
  156. package/python3.4.2/lib/python3.4/asyncio/constants.py +7 -0
  157. package/python3.4.2/lib/python3.4/asyncio/coroutines.py +195 -0
  158. package/python3.4.2/lib/python3.4/asyncio/events.py +586 -0
  159. package/python3.4.2/lib/python3.4/asyncio/futures.py +411 -0
  160. package/python3.4.2/lib/python3.4/asyncio/locks.py +469 -0
  161. package/python3.4.2/lib/python3.4/asyncio/log.py +7 -0
  162. package/python3.4.2/lib/python3.4/asyncio/proactor_events.py +499 -0
  163. package/python3.4.2/lib/python3.4/asyncio/protocols.py +129 -0
  164. package/python3.4.2/lib/python3.4/asyncio/queues.py +288 -0
  165. package/python3.4.2/lib/python3.4/asyncio/selector_events.py +996 -0
  166. package/python3.4.2/lib/python3.4/asyncio/streams.py +485 -0
  167. package/python3.4.2/lib/python3.4/asyncio/subprocess.py +228 -0
  168. package/python3.4.2/lib/python3.4/asyncio/tasks.py +658 -0
  169. package/python3.4.2/lib/python3.4/asyncio/test_utils.py +425 -0
  170. package/python3.4.2/lib/python3.4/asyncio/transports.py +298 -0
  171. package/python3.4.2/lib/python3.4/asyncio/unix_events.py +922 -0
  172. package/python3.4.2/lib/python3.4/asyncio/windows_events.py +634 -0
  173. package/python3.4.2/lib/python3.4/asyncio/windows_utils.py +207 -0
  174. package/python3.4.2/lib/python3.4/asyncore.py +666 -0
  175. package/python3.4.2/lib/python3.4/base64.py +602 -0
  176. package/python3.4.2/lib/python3.4/bdb.py +673 -0
  177. package/python3.4.2/lib/python3.4/binhex.py +471 -0
  178. package/python3.4.2/lib/python3.4/bisect.py +92 -0
  179. package/python3.4.2/lib/python3.4/bz2.py +521 -0
  180. package/python3.4.2/lib/python3.4/cProfile.py +160 -0
  181. package/python3.4.2/lib/python3.4/calendar.py +703 -0
  182. package/python3.4.2/lib/python3.4/cgi.py +1061 -0
  183. package/python3.4.2/lib/python3.4/cgitb.py +320 -0
  184. package/python3.4.2/lib/python3.4/chunk.py +167 -0
  185. package/python3.4.2/lib/python3.4/cmd.py +401 -0
  186. package/python3.4.2/lib/python3.4/code.py +302 -0
  187. package/python3.4.2/lib/python3.4/codecs.py +1110 -0
  188. package/python3.4.2/lib/python3.4/codeop.py +168 -0
  189. package/python3.4.2/lib/python3.4/collections/__init__.py +1132 -0
  190. package/python3.4.2/lib/python3.4/collections/__main__.py +38 -0
  191. package/python3.4.2/lib/python3.4/collections/abc.py +2 -0
  192. package/python3.4.2/lib/python3.4/colorsys.py +164 -0
  193. package/python3.4.2/lib/python3.4/compileall.py +241 -0
  194. package/python3.4.2/lib/python3.4/concurrent/__init__.py +1 -0
  195. package/python3.4.2/lib/python3.4/concurrent/futures/__init__.py +18 -0
  196. package/python3.4.2/lib/python3.4/concurrent/futures/_base.py +575 -0
  197. package/python3.4.2/lib/python3.4/concurrent/futures/process.py +427 -0
  198. package/python3.4.2/lib/python3.4/concurrent/futures/thread.py +132 -0
  199. package/python3.4.2/lib/python3.4/config-3.4m/Makefile +1835 -0
  200. package/python3.4.2/lib/python3.4/config-3.4m/Setup +466 -0
  201. package/python3.4.2/lib/python3.4/config-3.4m/Setup.config +13 -0
  202. package/python3.4.2/lib/python3.4/config-3.4m/Setup.local +1 -0
  203. package/python3.4.2/lib/python3.4/config-3.4m/config.c +234 -0
  204. package/python3.4.2/lib/python3.4/config-3.4m/config.c.in +67 -0
  205. package/python3.4.2/lib/python3.4/config-3.4m/install-sh +294 -0
  206. package/python3.4.2/lib/python3.4/config-3.4m/makesetup +293 -0
  207. package/python3.4.2/lib/python3.4/config-3.4m/python-config.py +68 -0
  208. package/python3.4.2/lib/python3.4/configparser.py +1254 -0
  209. package/python3.4.2/lib/python3.4/contextlib.py +340 -0
  210. package/python3.4.2/lib/python3.4/copy.py +333 -0
  211. package/python3.4.2/lib/python3.4/copyreg.py +202 -0
  212. package/python3.4.2/lib/python3.4/crypt.py +62 -0
  213. package/python3.4.2/lib/python3.4/csv.py +449 -0
  214. package/python3.4.2/lib/python3.4/ctypes/__init__.py +541 -0
  215. package/python3.4.2/lib/python3.4/ctypes/_endian.py +59 -0
  216. package/python3.4.2/lib/python3.4/ctypes/macholib/README.ctypes +7 -0
  217. package/python3.4.2/lib/python3.4/ctypes/macholib/__init__.py +9 -0
  218. package/python3.4.2/lib/python3.4/ctypes/macholib/dyld.py +158 -0
  219. package/python3.4.2/lib/python3.4/ctypes/macholib/dylib.py +63 -0
  220. package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib +2 -0
  221. package/python3.4.2/lib/python3.4/ctypes/macholib/fetch_macholib.bat +1 -0
  222. package/python3.4.2/lib/python3.4/ctypes/macholib/framework.py +65 -0
  223. package/python3.4.2/lib/python3.4/ctypes/test/__init__.py +14 -0
  224. package/python3.4.2/lib/python3.4/ctypes/test/__main__.py +4 -0
  225. package/python3.4.2/lib/python3.4/ctypes/test/test_anon.py +60 -0
  226. package/python3.4.2/lib/python3.4/ctypes/test/test_array_in_pointer.py +64 -0
  227. package/python3.4.2/lib/python3.4/ctypes/test/test_arrays.py +181 -0
  228. package/python3.4.2/lib/python3.4/ctypes/test/test_as_parameter.py +226 -0
  229. package/python3.4.2/lib/python3.4/ctypes/test/test_bitfields.py +263 -0
  230. package/python3.4.2/lib/python3.4/ctypes/test/test_buffers.py +64 -0
  231. package/python3.4.2/lib/python3.4/ctypes/test/test_bytes.py +65 -0
  232. package/python3.4.2/lib/python3.4/ctypes/test/test_byteswap.py +295 -0
  233. package/python3.4.2/lib/python3.4/ctypes/test/test_callbacks.py +247 -0
  234. package/python3.4.2/lib/python3.4/ctypes/test/test_cast.py +86 -0
  235. package/python3.4.2/lib/python3.4/ctypes/test/test_cfuncs.py +212 -0
  236. package/python3.4.2/lib/python3.4/ctypes/test/test_checkretval.py +36 -0
  237. package/python3.4.2/lib/python3.4/ctypes/test/test_delattr.py +21 -0
  238. package/python3.4.2/lib/python3.4/ctypes/test/test_errno.py +79 -0
  239. package/python3.4.2/lib/python3.4/ctypes/test/test_find.py +81 -0
  240. package/python3.4.2/lib/python3.4/ctypes/test/test_frombuffer.py +81 -0
  241. package/python3.4.2/lib/python3.4/ctypes/test/test_funcptr.py +127 -0
  242. package/python3.4.2/lib/python3.4/ctypes/test/test_functions.py +402 -0
  243. package/python3.4.2/lib/python3.4/ctypes/test/test_incomplete.py +42 -0
  244. package/python3.4.2/lib/python3.4/ctypes/test/test_init.py +40 -0
  245. package/python3.4.2/lib/python3.4/ctypes/test/test_internals.py +100 -0
  246. package/python3.4.2/lib/python3.4/ctypes/test/test_keeprefs.py +153 -0
  247. package/python3.4.2/lib/python3.4/ctypes/test/test_libc.py +33 -0
  248. package/python3.4.2/lib/python3.4/ctypes/test/test_loading.py +119 -0
  249. package/python3.4.2/lib/python3.4/ctypes/test/test_macholib.py +63 -0
  250. package/python3.4.2/lib/python3.4/ctypes/test/test_memfunctions.py +79 -0
  251. package/python3.4.2/lib/python3.4/ctypes/test/test_numbers.py +290 -0
  252. package/python3.4.2/lib/python3.4/ctypes/test/test_objects.py +67 -0
  253. package/python3.4.2/lib/python3.4/ctypes/test/test_parameters.py +176 -0
  254. package/python3.4.2/lib/python3.4/ctypes/test/test_pep3118.py +206 -0
  255. package/python3.4.2/lib/python3.4/ctypes/test/test_pickling.py +83 -0
  256. package/python3.4.2/lib/python3.4/ctypes/test/test_pointers.py +192 -0
  257. package/python3.4.2/lib/python3.4/ctypes/test/test_prototypes.py +219 -0
  258. package/python3.4.2/lib/python3.4/ctypes/test/test_python_api.py +89 -0
  259. package/python3.4.2/lib/python3.4/ctypes/test/test_random_things.py +74 -0
  260. package/python3.4.2/lib/python3.4/ctypes/test/test_refcounts.py +101 -0
  261. package/python3.4.2/lib/python3.4/ctypes/test/test_repr.py +29 -0
  262. package/python3.4.2/lib/python3.4/ctypes/test/test_returnfuncptrs.py +67 -0
  263. package/python3.4.2/lib/python3.4/ctypes/test/test_simplesubclasses.py +55 -0
  264. package/python3.4.2/lib/python3.4/ctypes/test/test_sizes.py +34 -0
  265. package/python3.4.2/lib/python3.4/ctypes/test/test_slicing.py +167 -0
  266. package/python3.4.2/lib/python3.4/ctypes/test/test_stringptr.py +77 -0
  267. package/python3.4.2/lib/python3.4/ctypes/test/test_strings.py +225 -0
  268. package/python3.4.2/lib/python3.4/ctypes/test/test_struct_fields.py +50 -0
  269. package/python3.4.2/lib/python3.4/ctypes/test/test_structures.py +468 -0
  270. package/python3.4.2/lib/python3.4/ctypes/test/test_unaligned_structures.py +45 -0
  271. package/python3.4.2/lib/python3.4/ctypes/test/test_unicode.py +56 -0
  272. package/python3.4.2/lib/python3.4/ctypes/test/test_values.py +95 -0
  273. package/python3.4.2/lib/python3.4/ctypes/test/test_varsize_struct.py +50 -0
  274. package/python3.4.2/lib/python3.4/ctypes/test/test_win32.py +119 -0
  275. package/python3.4.2/lib/python3.4/ctypes/test/test_wintypes.py +41 -0
  276. package/python3.4.2/lib/python3.4/ctypes/util.py +267 -0
  277. package/python3.4.2/lib/python3.4/ctypes/wintypes.py +202 -0
  278. package/python3.4.2/lib/python3.4/curses/__init__.py +101 -0
  279. package/python3.4.2/lib/python3.4/curses/ascii.py +99 -0
  280. package/python3.4.2/lib/python3.4/curses/has_key.py +192 -0
  281. package/python3.4.2/lib/python3.4/curses/panel.py +6 -0
  282. package/python3.4.2/lib/python3.4/curses/textpad.py +188 -0
  283. package/python3.4.2/lib/python3.4/datetime.py +2136 -0
  284. package/python3.4.2/lib/python3.4/dbm/__init__.py +188 -0
  285. package/python3.4.2/lib/python3.4/dbm/dumb.py +291 -0
  286. package/python3.4.2/lib/python3.4/dbm/gnu.py +3 -0
  287. package/python3.4.2/lib/python3.4/dbm/ndbm.py +3 -0
  288. package/python3.4.2/lib/python3.4/decimal.py +6414 -0
  289. package/python3.4.2/lib/python3.4/difflib.py +2039 -0
  290. package/python3.4.2/lib/python3.4/dis.py +475 -0
  291. package/python3.4.2/lib/python3.4/distutils/README +13 -0
  292. package/python3.4.2/lib/python3.4/distutils/__init__.py +17 -0
  293. package/python3.4.2/lib/python3.4/distutils/archive_util.py +245 -0
  294. package/python3.4.2/lib/python3.4/distutils/bcppcompiler.py +393 -0
  295. package/python3.4.2/lib/python3.4/distutils/ccompiler.py +1115 -0
  296. package/python3.4.2/lib/python3.4/distutils/cmd.py +435 -0
  297. package/python3.4.2/lib/python3.4/distutils/command/__init__.py +31 -0
  298. package/python3.4.2/lib/python3.4/distutils/command/bdist.py +142 -0
  299. package/python3.4.2/lib/python3.4/distutils/command/bdist_dumb.py +122 -0
  300. package/python3.4.2/lib/python3.4/distutils/command/bdist_msi.py +741 -0
  301. package/python3.4.2/lib/python3.4/distutils/command/bdist_rpm.py +582 -0
  302. package/python3.4.2/lib/python3.4/distutils/command/bdist_wininst.py +349 -0
  303. package/python3.4.2/lib/python3.4/distutils/command/build.py +148 -0
  304. package/python3.4.2/lib/python3.4/distutils/command/build_clib.py +209 -0
  305. package/python3.4.2/lib/python3.4/distutils/command/build_ext.py +735 -0
  306. package/python3.4.2/lib/python3.4/distutils/command/build_py.py +416 -0
  307. package/python3.4.2/lib/python3.4/distutils/command/build_scripts.py +160 -0
  308. package/python3.4.2/lib/python3.4/distutils/command/check.py +145 -0
  309. package/python3.4.2/lib/python3.4/distutils/command/clean.py +76 -0
  310. package/python3.4.2/lib/python3.4/distutils/command/command_template +33 -0
  311. package/python3.4.2/lib/python3.4/distutils/command/config.py +347 -0
  312. package/python3.4.2/lib/python3.4/distutils/command/install.py +650 -0
  313. package/python3.4.2/lib/python3.4/distutils/command/install_data.py +79 -0
  314. package/python3.4.2/lib/python3.4/distutils/command/install_egg_info.py +77 -0
  315. package/python3.4.2/lib/python3.4/distutils/command/install_headers.py +47 -0
  316. package/python3.4.2/lib/python3.4/distutils/command/install_lib.py +217 -0
  317. package/python3.4.2/lib/python3.4/distutils/command/install_scripts.py +60 -0
  318. package/python3.4.2/lib/python3.4/distutils/command/register.py +304 -0
  319. package/python3.4.2/lib/python3.4/distutils/command/sdist.py +467 -0
  320. package/python3.4.2/lib/python3.4/distutils/command/upload.py +202 -0
  321. package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0-amd64.exe +0 -0
  322. package/python3.4.2/lib/python3.4/distutils/command/wininst-10.0.exe +0 -0
  323. package/python3.4.2/lib/python3.4/distutils/command/wininst-6.0.exe +0 -0
  324. package/python3.4.2/lib/python3.4/distutils/command/wininst-7.1.exe +0 -0
  325. package/python3.4.2/lib/python3.4/distutils/command/wininst-8.0.exe +0 -0
  326. package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0-amd64.exe +0 -0
  327. package/python3.4.2/lib/python3.4/distutils/command/wininst-9.0.exe +0 -0
  328. package/python3.4.2/lib/python3.4/distutils/config.py +131 -0
  329. package/python3.4.2/lib/python3.4/distutils/core.py +237 -0
  330. package/python3.4.2/lib/python3.4/distutils/cygwinccompiler.py +405 -0
  331. package/python3.4.2/lib/python3.4/distutils/debug.py +5 -0
  332. package/python3.4.2/lib/python3.4/distutils/dep_util.py +92 -0
  333. package/python3.4.2/lib/python3.4/distutils/dir_util.py +210 -0
  334. package/python3.4.2/lib/python3.4/distutils/dist.py +1238 -0
  335. package/python3.4.2/lib/python3.4/distutils/errors.py +97 -0
  336. package/python3.4.2/lib/python3.4/distutils/extension.py +233 -0
  337. package/python3.4.2/lib/python3.4/distutils/fancy_getopt.py +457 -0
  338. package/python3.4.2/lib/python3.4/distutils/file_util.py +230 -0
  339. package/python3.4.2/lib/python3.4/distutils/filelist.py +328 -0
  340. package/python3.4.2/lib/python3.4/distutils/log.py +75 -0
  341. package/python3.4.2/lib/python3.4/distutils/msvc9compiler.py +788 -0
  342. package/python3.4.2/lib/python3.4/distutils/msvccompiler.py +640 -0
  343. package/python3.4.2/lib/python3.4/distutils/spawn.py +195 -0
  344. package/python3.4.2/lib/python3.4/distutils/sysconfig.py +562 -0
  345. package/python3.4.2/lib/python3.4/distutils/tests/Setup.sample +67 -0
  346. package/python3.4.2/lib/python3.4/distutils/tests/__init__.py +36 -0
  347. package/python3.4.2/lib/python3.4/distutils/tests/support.py +210 -0
  348. package/python3.4.2/lib/python3.4/distutils/tests/test_archive_util.py +341 -0
  349. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist.py +50 -0
  350. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_dumb.py +97 -0
  351. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_msi.py +25 -0
  352. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_rpm.py +134 -0
  353. package/python3.4.2/lib/python3.4/distutils/tests/test_bdist_wininst.py +31 -0
  354. package/python3.4.2/lib/python3.4/distutils/tests/test_build.py +55 -0
  355. package/python3.4.2/lib/python3.4/distutils/tests/test_build_clib.py +143 -0
  356. package/python3.4.2/lib/python3.4/distutils/tests/test_build_ext.py +488 -0
  357. package/python3.4.2/lib/python3.4/distutils/tests/test_build_py.py +178 -0
  358. package/python3.4.2/lib/python3.4/distutils/tests/test_build_scripts.py +112 -0
  359. package/python3.4.2/lib/python3.4/distutils/tests/test_check.py +106 -0
  360. package/python3.4.2/lib/python3.4/distutils/tests/test_clean.py +51 -0
  361. package/python3.4.2/lib/python3.4/distutils/tests/test_cmd.py +126 -0
  362. package/python3.4.2/lib/python3.4/distutils/tests/test_config.py +120 -0
  363. package/python3.4.2/lib/python3.4/distutils/tests/test_config_cmd.py +89 -0
  364. package/python3.4.2/lib/python3.4/distutils/tests/test_core.py +108 -0
  365. package/python3.4.2/lib/python3.4/distutils/tests/test_cygwinccompiler.py +155 -0
  366. package/python3.4.2/lib/python3.4/distutils/tests/test_dep_util.py +81 -0
  367. package/python3.4.2/lib/python3.4/distutils/tests/test_dir_util.py +139 -0
  368. package/python3.4.2/lib/python3.4/distutils/tests/test_dist.py +454 -0
  369. package/python3.4.2/lib/python3.4/distutils/tests/test_extension.py +69 -0
  370. package/python3.4.2/lib/python3.4/distutils/tests/test_file_util.py +85 -0
  371. package/python3.4.2/lib/python3.4/distutils/tests/test_filelist.py +299 -0
  372. package/python3.4.2/lib/python3.4/distutils/tests/test_install.py +246 -0
  373. package/python3.4.2/lib/python3.4/distutils/tests/test_install_data.py +77 -0
  374. package/python3.4.2/lib/python3.4/distutils/tests/test_install_headers.py +41 -0
  375. package/python3.4.2/lib/python3.4/distutils/tests/test_install_lib.py +115 -0
  376. package/python3.4.2/lib/python3.4/distutils/tests/test_install_scripts.py +82 -0
  377. package/python3.4.2/lib/python3.4/distutils/tests/test_log.py +37 -0
  378. package/python3.4.2/lib/python3.4/distutils/tests/test_msvc9compiler.py +184 -0
  379. package/python3.4.2/lib/python3.4/distutils/tests/test_register.py +309 -0
  380. package/python3.4.2/lib/python3.4/distutils/tests/test_sdist.py +484 -0
  381. package/python3.4.2/lib/python3.4/distutils/tests/test_spawn.py +58 -0
  382. package/python3.4.2/lib/python3.4/distutils/tests/test_sysconfig.py +207 -0
  383. package/python3.4.2/lib/python3.4/distutils/tests/test_text_file.py +107 -0
  384. package/python3.4.2/lib/python3.4/distutils/tests/test_unixccompiler.py +150 -0
  385. package/python3.4.2/lib/python3.4/distutils/tests/test_upload.py +151 -0
  386. package/python3.4.2/lib/python3.4/distutils/tests/test_util.py +300 -0
  387. package/python3.4.2/lib/python3.4/distutils/tests/test_version.py +71 -0
  388. package/python3.4.2/lib/python3.4/distutils/tests/test_versionpredicate.py +13 -0
  389. package/python3.4.2/lib/python3.4/distutils/tests/xxmodule.c +396 -0
  390. package/python3.4.2/lib/python3.4/distutils/text_file.py +285 -0
  391. package/python3.4.2/lib/python3.4/distutils/unixccompiler.py +298 -0
  392. package/python3.4.2/lib/python3.4/distutils/util.py +553 -0
  393. package/python3.4.2/lib/python3.4/distutils/version.py +349 -0
  394. package/python3.4.2/lib/python3.4/distutils/versionpredicate.py +166 -0
  395. package/python3.4.2/lib/python3.4/doctest.py +2793 -0
  396. package/python3.4.2/lib/python3.4/dummy_threading.py +78 -0
  397. package/python3.4.2/lib/python3.4/email/__init__.py +64 -0
  398. package/python3.4.2/lib/python3.4/email/_encoded_words.py +221 -0
  399. package/python3.4.2/lib/python3.4/email/_header_value_parser.py +2947 -0
  400. package/python3.4.2/lib/python3.4/email/_parseaddr.py +540 -0
  401. package/python3.4.2/lib/python3.4/email/_policybase.py +358 -0
  402. package/python3.4.2/lib/python3.4/email/architecture.rst +216 -0
  403. package/python3.4.2/lib/python3.4/email/base64mime.py +119 -0
  404. package/python3.4.2/lib/python3.4/email/charset.py +409 -0
  405. package/python3.4.2/lib/python3.4/email/contentmanager.py +249 -0
  406. package/python3.4.2/lib/python3.4/email/encoders.py +69 -0
  407. package/python3.4.2/lib/python3.4/email/errors.py +107 -0
  408. package/python3.4.2/lib/python3.4/email/feedparser.py +526 -0
  409. package/python3.4.2/lib/python3.4/email/generator.py +507 -0
  410. package/python3.4.2/lib/python3.4/email/header.py +581 -0
  411. package/python3.4.2/lib/python3.4/email/headerregistry.py +583 -0
  412. package/python3.4.2/lib/python3.4/email/iterators.py +71 -0
  413. package/python3.4.2/lib/python3.4/email/message.py +1147 -0
  414. package/python3.4.2/lib/python3.4/email/mime/__init__.py +0 -0
  415. package/python3.4.2/lib/python3.4/email/mime/application.py +36 -0
  416. package/python3.4.2/lib/python3.4/email/mime/audio.py +73 -0
  417. package/python3.4.2/lib/python3.4/email/mime/base.py +26 -0
  418. package/python3.4.2/lib/python3.4/email/mime/image.py +46 -0
  419. package/python3.4.2/lib/python3.4/email/mime/message.py +34 -0
  420. package/python3.4.2/lib/python3.4/email/mime/multipart.py +47 -0
  421. package/python3.4.2/lib/python3.4/email/mime/nonmultipart.py +22 -0
  422. package/python3.4.2/lib/python3.4/email/mime/text.py +41 -0
  423. package/python3.4.2/lib/python3.4/email/parser.py +132 -0
  424. package/python3.4.2/lib/python3.4/email/policy.py +201 -0
  425. package/python3.4.2/lib/python3.4/email/quoprimime.py +299 -0
  426. package/python3.4.2/lib/python3.4/email/utils.py +399 -0
  427. package/python3.4.2/lib/python3.4/encodings/__init__.py +152 -0
  428. package/python3.4.2/lib/python3.4/encodings/__pycache__/__init__.cpython-34.pyc +0 -0
  429. package/python3.4.2/lib/python3.4/encodings/__pycache__/aliases.cpython-34.pyc +0 -0
  430. package/python3.4.2/lib/python3.4/encodings/__pycache__/ascii.cpython-34.pyc +0 -0
  431. package/python3.4.2/lib/python3.4/encodings/__pycache__/latin_1.cpython-34.pyc +0 -0
  432. package/python3.4.2/lib/python3.4/encodings/__pycache__/utf_8.cpython-34.pyc +0 -0
  433. package/python3.4.2/lib/python3.4/encodings/aliases.py +544 -0
  434. package/python3.4.2/lib/python3.4/encodings/ascii.py +50 -0
  435. package/python3.4.2/lib/python3.4/encodings/base64_codec.py +55 -0
  436. package/python3.4.2/lib/python3.4/encodings/big5.py +39 -0
  437. package/python3.4.2/lib/python3.4/encodings/big5hkscs.py +39 -0
  438. package/python3.4.2/lib/python3.4/encodings/bz2_codec.py +78 -0
  439. package/python3.4.2/lib/python3.4/encodings/charmap.py +69 -0
  440. package/python3.4.2/lib/python3.4/encodings/cp037.py +307 -0
  441. package/python3.4.2/lib/python3.4/encodings/cp1006.py +307 -0
  442. package/python3.4.2/lib/python3.4/encodings/cp1026.py +307 -0
  443. package/python3.4.2/lib/python3.4/encodings/cp1125.py +698 -0
  444. package/python3.4.2/lib/python3.4/encodings/cp1140.py +307 -0
  445. package/python3.4.2/lib/python3.4/encodings/cp1250.py +307 -0
  446. package/python3.4.2/lib/python3.4/encodings/cp1251.py +307 -0
  447. package/python3.4.2/lib/python3.4/encodings/cp1252.py +307 -0
  448. package/python3.4.2/lib/python3.4/encodings/cp1253.py +307 -0
  449. package/python3.4.2/lib/python3.4/encodings/cp1254.py +307 -0
  450. package/python3.4.2/lib/python3.4/encodings/cp1255.py +307 -0
  451. package/python3.4.2/lib/python3.4/encodings/cp1256.py +307 -0
  452. package/python3.4.2/lib/python3.4/encodings/cp1257.py +307 -0
  453. package/python3.4.2/lib/python3.4/encodings/cp1258.py +307 -0
  454. package/python3.4.2/lib/python3.4/encodings/cp273.py +307 -0
  455. package/python3.4.2/lib/python3.4/encodings/cp424.py +307 -0
  456. package/python3.4.2/lib/python3.4/encodings/cp437.py +698 -0
  457. package/python3.4.2/lib/python3.4/encodings/cp500.py +307 -0
  458. package/python3.4.2/lib/python3.4/encodings/cp65001.py +40 -0
  459. package/python3.4.2/lib/python3.4/encodings/cp720.py +309 -0
  460. package/python3.4.2/lib/python3.4/encodings/cp737.py +698 -0
  461. package/python3.4.2/lib/python3.4/encodings/cp775.py +697 -0
  462. package/python3.4.2/lib/python3.4/encodings/cp850.py +698 -0
  463. package/python3.4.2/lib/python3.4/encodings/cp852.py +698 -0
  464. package/python3.4.2/lib/python3.4/encodings/cp855.py +698 -0
  465. package/python3.4.2/lib/python3.4/encodings/cp856.py +307 -0
  466. package/python3.4.2/lib/python3.4/encodings/cp857.py +694 -0
  467. package/python3.4.2/lib/python3.4/encodings/cp858.py +698 -0
  468. package/python3.4.2/lib/python3.4/encodings/cp860.py +698 -0
  469. package/python3.4.2/lib/python3.4/encodings/cp861.py +698 -0
  470. package/python3.4.2/lib/python3.4/encodings/cp862.py +698 -0
  471. package/python3.4.2/lib/python3.4/encodings/cp863.py +698 -0
  472. package/python3.4.2/lib/python3.4/encodings/cp864.py +690 -0
  473. package/python3.4.2/lib/python3.4/encodings/cp865.py +698 -0
  474. package/python3.4.2/lib/python3.4/encodings/cp866.py +698 -0
  475. package/python3.4.2/lib/python3.4/encodings/cp869.py +689 -0
  476. package/python3.4.2/lib/python3.4/encodings/cp874.py +307 -0
  477. package/python3.4.2/lib/python3.4/encodings/cp875.py +307 -0
  478. package/python3.4.2/lib/python3.4/encodings/cp932.py +39 -0
  479. package/python3.4.2/lib/python3.4/encodings/cp949.py +39 -0
  480. package/python3.4.2/lib/python3.4/encodings/cp950.py +39 -0
  481. package/python3.4.2/lib/python3.4/encodings/euc_jis_2004.py +39 -0
  482. package/python3.4.2/lib/python3.4/encodings/euc_jisx0213.py +39 -0
  483. package/python3.4.2/lib/python3.4/encodings/euc_jp.py +39 -0
  484. package/python3.4.2/lib/python3.4/encodings/euc_kr.py +39 -0
  485. package/python3.4.2/lib/python3.4/encodings/gb18030.py +39 -0
  486. package/python3.4.2/lib/python3.4/encodings/gb2312.py +39 -0
  487. package/python3.4.2/lib/python3.4/encodings/gbk.py +39 -0
  488. package/python3.4.2/lib/python3.4/encodings/hex_codec.py +55 -0
  489. package/python3.4.2/lib/python3.4/encodings/hp_roman8.py +312 -0
  490. package/python3.4.2/lib/python3.4/encodings/hz.py +39 -0
  491. package/python3.4.2/lib/python3.4/encodings/idna.py +309 -0
  492. package/python3.4.2/lib/python3.4/encodings/iso2022_jp.py +39 -0
  493. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_1.py +39 -0
  494. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2.py +39 -0
  495. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_2004.py +39 -0
  496. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_3.py +39 -0
  497. package/python3.4.2/lib/python3.4/encodings/iso2022_jp_ext.py +39 -0
  498. package/python3.4.2/lib/python3.4/encodings/iso2022_kr.py +39 -0
  499. package/python3.4.2/lib/python3.4/encodings/iso8859_1.py +307 -0
  500. package/python3.4.2/lib/python3.4/encodings/iso8859_10.py +307 -0
  501. package/python3.4.2/lib/python3.4/encodings/iso8859_11.py +307 -0
  502. package/python3.4.2/lib/python3.4/encodings/iso8859_13.py +307 -0
  503. package/python3.4.2/lib/python3.4/encodings/iso8859_14.py +307 -0
  504. package/python3.4.2/lib/python3.4/encodings/iso8859_15.py +307 -0
  505. package/python3.4.2/lib/python3.4/encodings/iso8859_16.py +307 -0
  506. package/python3.4.2/lib/python3.4/encodings/iso8859_2.py +307 -0
  507. package/python3.4.2/lib/python3.4/encodings/iso8859_3.py +307 -0
  508. package/python3.4.2/lib/python3.4/encodings/iso8859_4.py +307 -0
  509. package/python3.4.2/lib/python3.4/encodings/iso8859_5.py +307 -0
  510. package/python3.4.2/lib/python3.4/encodings/iso8859_6.py +307 -0
  511. package/python3.4.2/lib/python3.4/encodings/iso8859_7.py +307 -0
  512. package/python3.4.2/lib/python3.4/encodings/iso8859_8.py +307 -0
  513. package/python3.4.2/lib/python3.4/encodings/iso8859_9.py +307 -0
  514. package/python3.4.2/lib/python3.4/encodings/johab.py +39 -0
  515. package/python3.4.2/lib/python3.4/encodings/koi8_r.py +307 -0
  516. package/python3.4.2/lib/python3.4/encodings/koi8_u.py +307 -0
  517. package/python3.4.2/lib/python3.4/encodings/latin_1.py +50 -0
  518. package/python3.4.2/lib/python3.4/encodings/mac_arabic.py +698 -0
  519. package/python3.4.2/lib/python3.4/encodings/mac_centeuro.py +307 -0
  520. package/python3.4.2/lib/python3.4/encodings/mac_croatian.py +307 -0
  521. package/python3.4.2/lib/python3.4/encodings/mac_cyrillic.py +307 -0
  522. package/python3.4.2/lib/python3.4/encodings/mac_farsi.py +307 -0
  523. package/python3.4.2/lib/python3.4/encodings/mac_greek.py +307 -0
  524. package/python3.4.2/lib/python3.4/encodings/mac_iceland.py +307 -0
  525. package/python3.4.2/lib/python3.4/encodings/mac_latin2.py +312 -0
  526. package/python3.4.2/lib/python3.4/encodings/mac_roman.py +307 -0
  527. package/python3.4.2/lib/python3.4/encodings/mac_romanian.py +307 -0
  528. package/python3.4.2/lib/python3.4/encodings/mac_turkish.py +307 -0
  529. package/python3.4.2/lib/python3.4/encodings/mbcs.py +47 -0
  530. package/python3.4.2/lib/python3.4/encodings/palmos.py +308 -0
  531. package/python3.4.2/lib/python3.4/encodings/ptcp154.py +312 -0
  532. package/python3.4.2/lib/python3.4/encodings/punycode.py +237 -0
  533. package/python3.4.2/lib/python3.4/encodings/quopri_codec.py +56 -0
  534. package/python3.4.2/lib/python3.4/encodings/raw_unicode_escape.py +45 -0
  535. package/python3.4.2/lib/python3.4/encodings/rot_13.py +113 -0
  536. package/python3.4.2/lib/python3.4/encodings/shift_jis.py +39 -0
  537. package/python3.4.2/lib/python3.4/encodings/shift_jis_2004.py +39 -0
  538. package/python3.4.2/lib/python3.4/encodings/shift_jisx0213.py +39 -0
  539. package/python3.4.2/lib/python3.4/encodings/tis_620.py +307 -0
  540. package/python3.4.2/lib/python3.4/encodings/undefined.py +49 -0
  541. package/python3.4.2/lib/python3.4/encodings/unicode_escape.py +45 -0
  542. package/python3.4.2/lib/python3.4/encodings/unicode_internal.py +45 -0
  543. package/python3.4.2/lib/python3.4/encodings/utf_16.py +155 -0
  544. package/python3.4.2/lib/python3.4/encodings/utf_16_be.py +42 -0
  545. package/python3.4.2/lib/python3.4/encodings/utf_16_le.py +42 -0
  546. package/python3.4.2/lib/python3.4/encodings/utf_32.py +150 -0
  547. package/python3.4.2/lib/python3.4/encodings/utf_32_be.py +37 -0
  548. package/python3.4.2/lib/python3.4/encodings/utf_32_le.py +37 -0
  549. package/python3.4.2/lib/python3.4/encodings/utf_7.py +38 -0
  550. package/python3.4.2/lib/python3.4/encodings/utf_8.py +42 -0
  551. package/python3.4.2/lib/python3.4/encodings/utf_8_sig.py +130 -0
  552. package/python3.4.2/lib/python3.4/encodings/uu_codec.py +99 -0
  553. package/python3.4.2/lib/python3.4/encodings/zlib_codec.py +77 -0
  554. package/python3.4.2/lib/python3.4/ensurepip/__init__.py +210 -0
  555. package/python3.4.2/lib/python3.4/ensurepip/__main__.py +4 -0
  556. package/python3.4.2/lib/python3.4/ensurepip/_bundled/pip-1.5.6-py2.py3-none-any.whl +0 -0
  557. package/python3.4.2/lib/python3.4/ensurepip/_bundled/setuptools-2.1-py2.py3-none-any.whl +0 -0
  558. package/python3.4.2/lib/python3.4/ensurepip/_uninstall.py +30 -0
  559. package/python3.4.2/lib/python3.4/enum.py +525 -0
  560. package/python3.4.2/lib/python3.4/filecmp.py +305 -0
  561. package/python3.4.2/lib/python3.4/fileinput.py +429 -0
  562. package/python3.4.2/lib/python3.4/fnmatch.py +109 -0
  563. package/python3.4.2/lib/python3.4/formatter.py +448 -0
  564. package/python3.4.2/lib/python3.4/fractions.py +630 -0
  565. package/python3.4.2/lib/python3.4/ftplib.py +1088 -0
  566. package/python3.4.2/lib/python3.4/functools.py +721 -0
  567. package/python3.4.2/lib/python3.4/genericpath.py +132 -0
  568. package/python3.4.2/lib/python3.4/getopt.py +215 -0
  569. package/python3.4.2/lib/python3.4/getpass.py +186 -0
  570. package/python3.4.2/lib/python3.4/gettext.py +523 -0
  571. package/python3.4.2/lib/python3.4/glob.py +110 -0
  572. package/python3.4.2/lib/python3.4/gzip.py +674 -0
  573. package/python3.4.2/lib/python3.4/hashlib.py +217 -0
  574. package/python3.4.2/lib/python3.4/heapq.py +476 -0
  575. package/python3.4.2/lib/python3.4/hmac.py +144 -0
  576. package/python3.4.2/lib/python3.4/html/__init__.py +132 -0
  577. package/python3.4.2/lib/python3.4/html/entities.py +2506 -0
  578. package/python3.4.2/lib/python3.4/html/parser.py +550 -0
  579. package/python3.4.2/lib/python3.4/http/__init__.py +1 -0
  580. package/python3.4.2/lib/python3.4/http/client.py +1302 -0
  581. package/python3.4.2/lib/python3.4/http/cookiejar.py +2080 -0
  582. package/python3.4.2/lib/python3.4/http/cookies.py +578 -0
  583. package/python3.4.2/lib/python3.4/http/server.py +1241 -0
  584. package/python3.4.2/lib/python3.4/idlelib/AutoComplete.py +233 -0
  585. package/python3.4.2/lib/python3.4/idlelib/AutoCompleteWindow.py +415 -0
  586. package/python3.4.2/lib/python3.4/idlelib/AutoExpand.py +104 -0
  587. package/python3.4.2/lib/python3.4/idlelib/Bindings.py +94 -0
  588. package/python3.4.2/lib/python3.4/idlelib/CREDITS.txt +37 -0
  589. package/python3.4.2/lib/python3.4/idlelib/CallTipWindow.py +170 -0
  590. package/python3.4.2/lib/python3.4/idlelib/CallTips.py +175 -0
  591. package/python3.4.2/lib/python3.4/idlelib/ChangeLog +1591 -0
  592. package/python3.4.2/lib/python3.4/idlelib/ClassBrowser.py +229 -0
  593. package/python3.4.2/lib/python3.4/idlelib/CodeContext.py +176 -0
  594. package/python3.4.2/lib/python3.4/idlelib/ColorDelegator.py +254 -0
  595. package/python3.4.2/lib/python3.4/idlelib/Debugger.py +490 -0
  596. package/python3.4.2/lib/python3.4/idlelib/Delegator.py +25 -0
  597. package/python3.4.2/lib/python3.4/idlelib/EditorWindow.py +1729 -0
  598. package/python3.4.2/lib/python3.4/idlelib/FileList.py +129 -0
  599. package/python3.4.2/lib/python3.4/idlelib/FormatParagraph.py +193 -0
  600. package/python3.4.2/lib/python3.4/idlelib/GrepDialog.py +159 -0
  601. package/python3.4.2/lib/python3.4/idlelib/HISTORY.txt +296 -0
  602. package/python3.4.2/lib/python3.4/idlelib/HyperParser.py +313 -0
  603. package/python3.4.2/lib/python3.4/idlelib/IOBinding.py +555 -0
  604. package/python3.4.2/lib/python3.4/idlelib/Icons/folder.gif +0 -0
  605. package/python3.4.2/lib/python3.4/idlelib/Icons/idle.icns +0 -0
  606. package/python3.4.2/lib/python3.4/idlelib/Icons/idle.ico +0 -0
  607. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.gif +0 -0
  608. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_16.png +0 -0
  609. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.gif +0 -0
  610. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_32.png +0 -0
  611. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.gif +0 -0
  612. package/python3.4.2/lib/python3.4/idlelib/Icons/idle_48.png +0 -0
  613. package/python3.4.2/lib/python3.4/idlelib/Icons/minusnode.gif +0 -0
  614. package/python3.4.2/lib/python3.4/idlelib/Icons/openfolder.gif +0 -0
  615. package/python3.4.2/lib/python3.4/idlelib/Icons/plusnode.gif +0 -0
  616. package/python3.4.2/lib/python3.4/idlelib/Icons/python.gif +0 -0
  617. package/python3.4.2/lib/python3.4/idlelib/Icons/tk.gif +0 -0
  618. package/python3.4.2/lib/python3.4/idlelib/IdleHistory.py +104 -0
  619. package/python3.4.2/lib/python3.4/idlelib/MultiCall.py +453 -0
  620. package/python3.4.2/lib/python3.4/idlelib/MultiStatusBar.py +45 -0
  621. package/python3.4.2/lib/python3.4/idlelib/NEWS.txt +877 -0
  622. package/python3.4.2/lib/python3.4/idlelib/ObjectBrowser.py +143 -0
  623. package/python3.4.2/lib/python3.4/idlelib/OutputWindow.py +144 -0
  624. package/python3.4.2/lib/python3.4/idlelib/ParenMatch.py +178 -0
  625. package/python3.4.2/lib/python3.4/idlelib/PathBrowser.py +106 -0
  626. package/python3.4.2/lib/python3.4/idlelib/Percolator.py +104 -0
  627. package/python3.4.2/lib/python3.4/idlelib/PyParse.py +618 -0
  628. package/python3.4.2/lib/python3.4/idlelib/PyShell.py +1619 -0
  629. package/python3.4.2/lib/python3.4/idlelib/README.txt +60 -0
  630. package/python3.4.2/lib/python3.4/idlelib/RemoteDebugger.py +389 -0
  631. package/python3.4.2/lib/python3.4/idlelib/RemoteObjectBrowser.py +36 -0
  632. package/python3.4.2/lib/python3.4/idlelib/ReplaceDialog.py +221 -0
  633. package/python3.4.2/lib/python3.4/idlelib/RstripExtension.py +33 -0
  634. package/python3.4.2/lib/python3.4/idlelib/ScriptBinding.py +207 -0
  635. package/python3.4.2/lib/python3.4/idlelib/ScrolledList.py +140 -0
  636. package/python3.4.2/lib/python3.4/idlelib/SearchDialog.py +89 -0
  637. package/python3.4.2/lib/python3.4/idlelib/SearchDialogBase.py +184 -0
  638. package/python3.4.2/lib/python3.4/idlelib/SearchEngine.py +233 -0
  639. package/python3.4.2/lib/python3.4/idlelib/StackViewer.py +152 -0
  640. package/python3.4.2/lib/python3.4/idlelib/TODO.txt +210 -0
  641. package/python3.4.2/lib/python3.4/idlelib/ToolTip.py +97 -0
  642. package/python3.4.2/lib/python3.4/idlelib/TreeWidget.py +465 -0
  643. package/python3.4.2/lib/python3.4/idlelib/UndoDelegator.py +365 -0
  644. package/python3.4.2/lib/python3.4/idlelib/WidgetRedirector.py +174 -0
  645. package/python3.4.2/lib/python3.4/idlelib/WindowList.py +90 -0
  646. package/python3.4.2/lib/python3.4/idlelib/ZoomHeight.py +51 -0
  647. package/python3.4.2/lib/python3.4/idlelib/__init__.py +1 -0
  648. package/python3.4.2/lib/python3.4/idlelib/__main__.py +9 -0
  649. package/python3.4.2/lib/python3.4/idlelib/aboutDialog.py +145 -0
  650. package/python3.4.2/lib/python3.4/idlelib/config-extensions.def +96 -0
  651. package/python3.4.2/lib/python3.4/idlelib/config-highlight.def +64 -0
  652. package/python3.4.2/lib/python3.4/idlelib/config-keys.def +214 -0
  653. package/python3.4.2/lib/python3.4/idlelib/config-main.def +79 -0
  654. package/python3.4.2/lib/python3.4/idlelib/configDialog.py +1195 -0
  655. package/python3.4.2/lib/python3.4/idlelib/configHandler.py +722 -0
  656. package/python3.4.2/lib/python3.4/idlelib/configHelpSourceEdit.py +166 -0
  657. package/python3.4.2/lib/python3.4/idlelib/configSectionNameDialog.py +98 -0
  658. package/python3.4.2/lib/python3.4/idlelib/dynOptionMenuWidget.py +57 -0
  659. package/python3.4.2/lib/python3.4/idlelib/extend.txt +83 -0
  660. package/python3.4.2/lib/python3.4/idlelib/help.txt +368 -0
  661. package/python3.4.2/lib/python3.4/idlelib/idle.bat +4 -0
  662. package/python3.4.2/lib/python3.4/idlelib/idle.py +11 -0
  663. package/python3.4.2/lib/python3.4/idlelib/idle.pyw +21 -0
  664. package/python3.4.2/lib/python3.4/idlelib/idle_test/README.txt +115 -0
  665. package/python3.4.2/lib/python3.4/idlelib/idle_test/__init__.py +9 -0
  666. package/python3.4.2/lib/python3.4/idlelib/idle_test/htest.py +369 -0
  667. package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_idle.py +55 -0
  668. package/python3.4.2/lib/python3.4/idlelib/idle_test/mock_tk.py +298 -0
  669. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autocomplete.py +143 -0
  670. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_autoexpand.py +141 -0
  671. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_calltips.py +172 -0
  672. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_config_name.py +75 -0
  673. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_configdialog.py +32 -0
  674. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_delegator.py +37 -0
  675. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_formatparagraph.py +377 -0
  676. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_grep.py +80 -0
  677. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_hyperparser.py +273 -0
  678. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_idlehistory.py +167 -0
  679. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_parenmatch.py +109 -0
  680. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_pathbrowser.py +12 -0
  681. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_rstrip.py +49 -0
  682. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchdialogbase.py +165 -0
  683. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_searchengine.py +329 -0
  684. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_text.py +228 -0
  685. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_textview.py +97 -0
  686. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_warning.py +73 -0
  687. package/python3.4.2/lib/python3.4/idlelib/idle_test/test_widgetredir.py +122 -0
  688. package/python3.4.2/lib/python3.4/idlelib/idlever.py +1 -0
  689. package/python3.4.2/lib/python3.4/idlelib/keybindingDialog.py +266 -0
  690. package/python3.4.2/lib/python3.4/idlelib/macosxSupport.py +239 -0
  691. package/python3.4.2/lib/python3.4/idlelib/rpc.py +624 -0
  692. package/python3.4.2/lib/python3.4/idlelib/run.py +404 -0
  693. package/python3.4.2/lib/python3.4/idlelib/tabbedpages.py +498 -0
  694. package/python3.4.2/lib/python3.4/idlelib/testcode.py +31 -0
  695. package/python3.4.2/lib/python3.4/idlelib/textView.py +86 -0
  696. package/python3.4.2/lib/python3.4/imaplib.py +1549 -0
  697. package/python3.4.2/lib/python3.4/imghdr.py +154 -0
  698. package/python3.4.2/lib/python3.4/imp.py +315 -0
  699. package/python3.4.2/lib/python3.4/importlib/__init__.py +156 -0
  700. package/python3.4.2/lib/python3.4/importlib/_bootstrap.py +2461 -0
  701. package/python3.4.2/lib/python3.4/importlib/abc.py +323 -0
  702. package/python3.4.2/lib/python3.4/importlib/machinery.py +21 -0
  703. package/python3.4.2/lib/python3.4/importlib/util.py +202 -0
  704. package/python3.4.2/lib/python3.4/inspect.py +2759 -0
  705. package/python3.4.2/lib/python3.4/io.py +92 -0
  706. package/python3.4.2/lib/python3.4/ipaddress.py +2183 -0
  707. package/python3.4.2/lib/python3.4/json/__init__.py +331 -0
  708. package/python3.4.2/lib/python3.4/json/decoder.py +362 -0
  709. package/python3.4.2/lib/python3.4/json/encoder.py +433 -0
  710. package/python3.4.2/lib/python3.4/json/scanner.py +73 -0
  711. package/python3.4.2/lib/python3.4/json/tool.py +39 -0
  712. package/python3.4.2/lib/python3.4/keyword.py +94 -0
  713. package/python3.4.2/lib/python3.4/lib2to3/Grammar.txt +159 -0
  714. package/python3.4.2/lib/python3.4/lib2to3/Grammar3.4.2.final.0.pickle +0 -0
  715. package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar.txt +28 -0
  716. package/python3.4.2/lib/python3.4/lib2to3/PatternGrammar3.4.2.final.0.pickle +0 -0
  717. package/python3.4.2/lib/python3.4/lib2to3/__init__.py +1 -0
  718. package/python3.4.2/lib/python3.4/lib2to3/__main__.py +4 -0
  719. package/python3.4.2/lib/python3.4/lib2to3/btm_matcher.py +168 -0
  720. package/python3.4.2/lib/python3.4/lib2to3/btm_utils.py +281 -0
  721. package/python3.4.2/lib/python3.4/lib2to3/fixer_base.py +187 -0
  722. package/python3.4.2/lib/python3.4/lib2to3/fixer_util.py +455 -0
  723. package/python3.4.2/lib/python3.4/lib2to3/fixes/__init__.py +1 -0
  724. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_apply.py +59 -0
  725. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_asserts.py +34 -0
  726. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_basestring.py +14 -0
  727. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_buffer.py +22 -0
  728. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_callable.py +37 -0
  729. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_dict.py +107 -0
  730. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_except.py +93 -0
  731. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exec.py +40 -0
  732. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_execfile.py +52 -0
  733. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_exitfunc.py +72 -0
  734. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_filter.py +76 -0
  735. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_funcattrs.py +21 -0
  736. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_future.py +22 -0
  737. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_getcwdu.py +19 -0
  738. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_has_key.py +110 -0
  739. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_idioms.py +152 -0
  740. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_import.py +99 -0
  741. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports.py +145 -0
  742. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_imports2.py +16 -0
  743. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_input.py +26 -0
  744. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_intern.py +31 -0
  745. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_isinstance.py +52 -0
  746. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools.py +43 -0
  747. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_itertools_imports.py +57 -0
  748. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_long.py +19 -0
  749. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_map.py +91 -0
  750. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_metaclass.py +228 -0
  751. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_methodattrs.py +24 -0
  752. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ne.py +23 -0
  753. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_next.py +103 -0
  754. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_nonzero.py +21 -0
  755. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_numliterals.py +28 -0
  756. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_operator.py +98 -0
  757. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_paren.py +44 -0
  758. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_print.py +87 -0
  759. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raise.py +90 -0
  760. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_raw_input.py +17 -0
  761. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reduce.py +35 -0
  762. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_reload.py +28 -0
  763. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_renames.py +70 -0
  764. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_repr.py +23 -0
  765. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_set_literal.py +53 -0
  766. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_standarderror.py +18 -0
  767. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_sys_exc.py +30 -0
  768. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_throw.py +56 -0
  769. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_tuple_params.py +175 -0
  770. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_types.py +62 -0
  771. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_unicode.py +42 -0
  772. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_urllib.py +197 -0
  773. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_ws_comma.py +39 -0
  774. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xrange.py +73 -0
  775. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_xreadlines.py +25 -0
  776. package/python3.4.2/lib/python3.4/lib2to3/fixes/fix_zip.py +35 -0
  777. package/python3.4.2/lib/python3.4/lib2to3/main.py +268 -0
  778. package/python3.4.2/lib/python3.4/lib2to3/patcomp.py +205 -0
  779. package/python3.4.2/lib/python3.4/lib2to3/pgen2/__init__.py +4 -0
  780. package/python3.4.2/lib/python3.4/lib2to3/pgen2/conv.py +257 -0
  781. package/python3.4.2/lib/python3.4/lib2to3/pgen2/driver.py +157 -0
  782. package/python3.4.2/lib/python3.4/lib2to3/pgen2/grammar.py +183 -0
  783. package/python3.4.2/lib/python3.4/lib2to3/pgen2/literals.py +60 -0
  784. package/python3.4.2/lib/python3.4/lib2to3/pgen2/parse.py +201 -0
  785. package/python3.4.2/lib/python3.4/lib2to3/pgen2/pgen.py +386 -0
  786. package/python3.4.2/lib/python3.4/lib2to3/pgen2/token.py +83 -0
  787. package/python3.4.2/lib/python3.4/lib2to3/pgen2/tokenize.py +502 -0
  788. package/python3.4.2/lib/python3.4/lib2to3/pygram.py +40 -0
  789. package/python3.4.2/lib/python3.4/lib2to3/pytree.py +864 -0
  790. package/python3.4.2/lib/python3.4/lib2to3/refactor.py +747 -0
  791. package/python3.4.2/lib/python3.4/lib2to3/tests/__init__.py +24 -0
  792. package/python3.4.2/lib/python3.4/lib2to3/tests/data/README +6 -0
  793. package/python3.4.2/lib/python3.4/lib2to3/tests/data/bom.py +2 -0
  794. package/python3.4.2/lib/python3.4/lib2to3/tests/data/crlf.py +3 -0
  795. package/python3.4.2/lib/python3.4/lib2to3/tests/data/different_encoding.py +6 -0
  796. package/python3.4.2/lib/python3.4/lib2to3/tests/data/false_encoding.py +2 -0
  797. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/bad_order.py +5 -0
  798. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/__init__.py +0 -0
  799. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_explicit.py +6 -0
  800. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_first.py +6 -0
  801. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_last.py +7 -0
  802. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_parrot.py +13 -0
  803. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/myfixes/fix_preorder.py +6 -0
  804. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/no_fixer_cls.py +1 -0
  805. package/python3.4.2/lib/python3.4/lib2to3/tests/data/fixers/parrot_example.py +2 -0
  806. package/python3.4.2/lib/python3.4/lib2to3/tests/data/infinite_recursion.py +2669 -0
  807. package/python3.4.2/lib/python3.4/lib2to3/tests/data/py2_test_grammar.py +974 -0
  808. package/python3.4.2/lib/python3.4/lib2to3/tests/data/py3_test_grammar.py +923 -0
  809. package/python3.4.2/lib/python3.4/lib2to3/tests/pytree_idempotency.py +92 -0
  810. package/python3.4.2/lib/python3.4/lib2to3/tests/support.py +54 -0
  811. package/python3.4.2/lib/python3.4/lib2to3/tests/test_all_fixers.py +23 -0
  812. package/python3.4.2/lib/python3.4/lib2to3/tests/test_fixers.py +4687 -0
  813. package/python3.4.2/lib/python3.4/lib2to3/tests/test_main.py +139 -0
  814. package/python3.4.2/lib/python3.4/lib2to3/tests/test_parser.py +249 -0
  815. package/python3.4.2/lib/python3.4/lib2to3/tests/test_pytree.py +477 -0
  816. package/python3.4.2/lib/python3.4/lib2to3/tests/test_refactor.py +321 -0
  817. package/python3.4.2/lib/python3.4/lib2to3/tests/test_util.py +594 -0
  818. package/python3.4.2/lib/python3.4/linecache.py +134 -0
  819. package/python3.4.2/lib/python3.4/locale.py +1559 -0
  820. package/python3.4.2/lib/python3.4/logging/__init__.py +1950 -0
  821. package/python3.4.2/lib/python3.4/logging/config.py +927 -0
  822. package/python3.4.2/lib/python3.4/logging/handlers.py +1452 -0
  823. package/python3.4.2/lib/python3.4/lzma.py +511 -0
  824. package/python3.4.2/lib/python3.4/macpath.py +205 -0
  825. package/python3.4.2/lib/python3.4/macurl2path.py +77 -0
  826. package/python3.4.2/lib/python3.4/mailbox.py +2136 -0
  827. package/python3.4.2/lib/python3.4/mailcap.py +253 -0
  828. package/python3.4.2/lib/python3.4/mimetypes.py +592 -0
  829. package/python3.4.2/lib/python3.4/modulefinder.py +642 -0
  830. package/python3.4.2/lib/python3.4/multiprocessing/__init__.py +38 -0
  831. package/python3.4.2/lib/python3.4/multiprocessing/connection.py +954 -0
  832. package/python3.4.2/lib/python3.4/multiprocessing/context.py +348 -0
  833. package/python3.4.2/lib/python3.4/multiprocessing/dummy/__init__.py +119 -0
  834. package/python3.4.2/lib/python3.4/multiprocessing/dummy/connection.py +74 -0
  835. package/python3.4.2/lib/python3.4/multiprocessing/forkserver.py +267 -0
  836. package/python3.4.2/lib/python3.4/multiprocessing/heap.py +249 -0
  837. package/python3.4.2/lib/python3.4/multiprocessing/managers.py +1131 -0
  838. package/python3.4.2/lib/python3.4/multiprocessing/pool.py +769 -0
  839. package/python3.4.2/lib/python3.4/multiprocessing/popen_fork.py +83 -0
  840. package/python3.4.2/lib/python3.4/multiprocessing/popen_forkserver.py +69 -0
  841. package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_posix.py +69 -0
  842. package/python3.4.2/lib/python3.4/multiprocessing/popen_spawn_win32.py +99 -0
  843. package/python3.4.2/lib/python3.4/multiprocessing/process.py +332 -0
  844. package/python3.4.2/lib/python3.4/multiprocessing/queues.py +367 -0
  845. package/python3.4.2/lib/python3.4/multiprocessing/reduction.py +240 -0
  846. package/python3.4.2/lib/python3.4/multiprocessing/resource_sharer.py +158 -0
  847. package/python3.4.2/lib/python3.4/multiprocessing/semaphore_tracker.py +143 -0
  848. package/python3.4.2/lib/python3.4/multiprocessing/sharedctypes.py +245 -0
  849. package/python3.4.2/lib/python3.4/multiprocessing/spawn.py +287 -0
  850. package/python3.4.2/lib/python3.4/multiprocessing/synchronize.py +418 -0
  851. package/python3.4.2/lib/python3.4/multiprocessing/util.py +367 -0
  852. package/python3.4.2/lib/python3.4/netrc.py +142 -0
  853. package/python3.4.2/lib/python3.4/nntplib.py +1134 -0
  854. package/python3.4.2/lib/python3.4/ntpath.py +625 -0
  855. package/python3.4.2/lib/python3.4/nturl2path.py +66 -0
  856. package/python3.4.2/lib/python3.4/numbers.py +394 -0
  857. package/python3.4.2/lib/python3.4/opcode.py +200 -0
  858. package/python3.4.2/lib/python3.4/operator.py +411 -0
  859. package/python3.4.2/lib/python3.4/optparse.py +1680 -0
  860. package/python3.4.2/lib/python3.4/os.py +980 -0
  861. package/python3.4.2/lib/python3.4/pathlib.py +1291 -0
  862. package/python3.4.2/lib/python3.4/pdb.py +1685 -0
  863. package/python3.4.2/lib/python3.4/pickle.py +1599 -0
  864. package/python3.4.2/lib/python3.4/pickletools.py +2818 -0
  865. package/python3.4.2/lib/python3.4/pipes.py +247 -0
  866. package/python3.4.2/lib/python3.4/pkgutil.py +629 -0
  867. package/python3.4.2/lib/python3.4/plat-linux/CDROM.py +207 -0
  868. package/python3.4.2/lib/python3.4/plat-linux/DLFCN.py +83 -0
  869. package/python3.4.2/lib/python3.4/plat-linux/IN.py +615 -0
  870. package/python3.4.2/lib/python3.4/plat-linux/TYPES.py +170 -0
  871. package/python3.4.2/lib/python3.4/plat-linux/regen +8 -0
  872. package/python3.4.2/lib/python3.4/platform.py +1476 -0
  873. package/python3.4.2/lib/python3.4/plistlib.py +1025 -0
  874. package/python3.4.2/lib/python3.4/poplib.py +461 -0
  875. package/python3.4.2/lib/python3.4/posixpath.py +457 -0
  876. package/python3.4.2/lib/python3.4/pprint.py +416 -0
  877. package/python3.4.2/lib/python3.4/profile.py +589 -0
  878. package/python3.4.2/lib/python3.4/pstats.py +691 -0
  879. package/python3.4.2/lib/python3.4/pty.py +170 -0
  880. package/python3.4.2/lib/python3.4/py_compile.py +185 -0
  881. package/python3.4.2/lib/python3.4/pyclbr.py +351 -0
  882. package/python3.4.2/lib/python3.4/pydoc.py +2622 -0
  883. package/python3.4.2/lib/python3.4/pydoc_data/__init__.py +0 -0
  884. package/python3.4.2/lib/python3.4/pydoc_data/_pydoc.css +6 -0
  885. package/python3.4.2/lib/python3.4/pydoc_data/topics.py +79 -0
  886. package/python3.4.2/lib/python3.4/queue.py +249 -0
  887. package/python3.4.2/lib/python3.4/quopri.py +242 -0
  888. package/python3.4.2/lib/python3.4/random.py +742 -0
  889. package/python3.4.2/lib/python3.4/re.py +368 -0
  890. package/python3.4.2/lib/python3.4/reprlib.py +157 -0
  891. package/python3.4.2/lib/python3.4/rlcompleter.py +165 -0
  892. package/python3.4.2/lib/python3.4/runpy.py +271 -0
  893. package/python3.4.2/lib/python3.4/sched.py +167 -0
  894. package/python3.4.2/lib/python3.4/selectors.py +525 -0
  895. package/python3.4.2/lib/python3.4/shelve.py +239 -0
  896. package/python3.4.2/lib/python3.4/shlex.py +304 -0
  897. package/python3.4.2/lib/python3.4/shutil.py +1127 -0
  898. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/PKG-INFO +55 -0
  899. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/SOURCES.txt +126 -0
  900. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
  901. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/entry_points.txt +4 -0
  902. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
  903. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/requires.txt +4 -0
  904. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/EGG-INFO/top_level.txt +1 -0
  905. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/__init__.py +69 -0
  906. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_compat.py +150 -0
  907. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/_stringdefs.py +132 -0
  908. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/bccache.py +344 -0
  909. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/compiler.py +1640 -0
  910. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/constants.py +32 -0
  911. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/debug.py +337 -0
  912. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/defaults.py +43 -0
  913. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/environment.py +1191 -0
  914. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/exceptions.py +146 -0
  915. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/ext.py +636 -0
  916. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/filters.py +987 -0
  917. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/lexer.py +733 -0
  918. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/loaders.py +471 -0
  919. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/meta.py +103 -0
  920. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/nodes.py +914 -0
  921. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/optimizer.py +68 -0
  922. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/parser.py +895 -0
  923. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/runtime.py +581 -0
  924. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/sandbox.py +368 -0
  925. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/tests.py +149 -0
  926. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/__init__.py +156 -0
  927. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/api.py +261 -0
  928. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/bytecode_cache.py +37 -0
  929. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/core_tags.py +305 -0
  930. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/debug.py +58 -0
  931. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/doctests.py +29 -0
  932. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/ext.py +459 -0
  933. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/filters.py +515 -0
  934. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/imports.py +141 -0
  935. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/inheritance.py +250 -0
  936. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/lexnparse.py +593 -0
  937. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/loader.py +226 -0
  938. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/regression.py +279 -0
  939. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/__init__.py +0 -0
  940. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/broken.html +3 -0
  941. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/foo/test.html +1 -0
  942. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/syntaxerror.html +4 -0
  943. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/res/templates/test.html +1 -0
  944. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/security.py +166 -0
  945. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/tests.py +93 -0
  946. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/testsuite/utils.py +82 -0
  947. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/utils.py +520 -0
  948. package/python3.4.2/lib/python3.4/site-packages/Jinja2-2.7.3-py3.4.egg/jinja2/visitor.py +87 -0
  949. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/PKG-INFO +119 -0
  950. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/SOURCES.txt +17 -0
  951. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
  952. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
  953. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/EGG-INFO/top_level.txt +1 -0
  954. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/__init__.py +298 -0
  955. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_compat.py +26 -0
  956. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_constants.py +267 -0
  957. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_native.py +46 -0
  958. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/_speedups.c +239 -0
  959. package/python3.4.2/lib/python3.4/site-packages/MarkupSafe-0.23-py3.4.egg/markupsafe/tests.py +179 -0
  960. package/python3.4.2/lib/python3.4/site-packages/README +2 -0
  961. package/python3.4.2/lib/python3.4/site-packages/_markerlib/__init__.py +16 -0
  962. package/python3.4.2/lib/python3.4/site-packages/_markerlib/markers.py +119 -0
  963. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/PKG-INFO +68 -0
  964. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/SOURCES.txt +23 -0
  965. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/dependency_links.txt +1 -0
  966. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/entry_points.txt +3 -0
  967. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/not-zip-safe +1 -0
  968. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/requires.txt +1 -0
  969. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/scripts/android-debian-builder +6 -0
  970. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/EGG-INFO/top_level.txt +1 -0
  971. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__init__.py +0 -0
  972. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/__main__.py +26 -0
  973. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/build.py +63 -0
  974. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/config.py +82 -0
  975. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/deb.sh +106 -0
  976. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/default-config +42 -0
  977. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/first-time-setup.sh +94 -0
  978. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/data/init.sh +27 -0
  979. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/examples/jessie-armhf.cfg +26 -0
  980. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/run_tests.py +38 -0
  981. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/script.py +110 -0
  982. package/python3.4.2/lib/python3.4/site-packages/android_debian_builder-1.0-py3.4.egg/android_debian_builder/util.py +177 -0
  983. package/python3.4.2/lib/python3.4/site-packages/easy-install.pth +4 -0
  984. package/python3.4.2/lib/python3.4/site-packages/easy_install.py +5 -0
  985. package/python3.4.2/lib/python3.4/site-packages/pip/__init__.py +277 -0
  986. package/python3.4.2/lib/python3.4/site-packages/pip/__main__.py +7 -0
  987. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/__init__.py +8 -0
  988. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/__init__.py +16 -0
  989. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/_markerlib/markers.py +119 -0
  990. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/__init__.py +7 -0
  991. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansi.py +50 -0
  992. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/ansitowin32.py +190 -0
  993. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/initialise.py +56 -0
  994. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/win32.py +137 -0
  995. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/colorama/winterm.py +120 -0
  996. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/__init__.py +23 -0
  997. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/__init__.py +6 -0
  998. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/misc.py +41 -0
  999. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/shutil.py +761 -0
  1000. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.cfg +84 -0
  1001. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/sysconfig.py +788 -0
  1002. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/_backport/tarfile.py +2607 -0
  1003. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/compat.py +1064 -0
  1004. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/database.py +1301 -0
  1005. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/index.py +488 -0
  1006. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/locators.py +1194 -0
  1007. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/manifest.py +364 -0
  1008. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/markers.py +190 -0
  1009. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/metadata.py +1026 -0
  1010. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/resources.py +317 -0
  1011. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/scripts.py +323 -0
  1012. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t32.exe +0 -0
  1013. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/t64.exe +0 -0
  1014. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/util.py +1575 -0
  1015. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/version.py +721 -0
  1016. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w32.exe +0 -0
  1017. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/w64.exe +0 -0
  1018. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/distlib/wheel.py +958 -0
  1019. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/__init__.py +23 -0
  1020. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/constants.py +3104 -0
  1021. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/__init__.py +0 -0
  1022. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/_base.py +12 -0
  1023. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/alphabeticalattributes.py +20 -0
  1024. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/inject_meta_charset.py +65 -0
  1025. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/lint.py +93 -0
  1026. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/optionaltags.py +205 -0
  1027. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/sanitizer.py +12 -0
  1028. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/filters/whitespace.py +38 -0
  1029. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/html5parser.py +2713 -0
  1030. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/ihatexml.py +285 -0
  1031. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/inputstream.py +881 -0
  1032. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/sanitizer.py +271 -0
  1033. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/__init__.py +16 -0
  1034. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/serializer/htmlserializer.py +320 -0
  1035. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/tokenizer.py +1731 -0
  1036. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/__init__.py +0 -0
  1037. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treeadapters/sax.py +44 -0
  1038. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/__init__.py +76 -0
  1039. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/_base.py +377 -0
  1040. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/dom.py +227 -0
  1041. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree.py +337 -0
  1042. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treebuilders/etree_lxml.py +369 -0
  1043. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/__init__.py +57 -0
  1044. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/_base.py +200 -0
  1045. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/dom.py +46 -0
  1046. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/etree.py +138 -0
  1047. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/genshistream.py +69 -0
  1048. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/lxmletree.py +208 -0
  1049. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/treewalkers/pulldom.py +63 -0
  1050. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/__init__.py +12 -0
  1051. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/_base.py +37 -0
  1052. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/datrie.py +44 -0
  1053. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/trie/py.py +67 -0
  1054. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/html5lib/utils.py +82 -0
  1055. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/pkg_resources.py +2762 -0
  1056. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/re-vendor.py +34 -0
  1057. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/__init__.py +77 -0
  1058. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/adapters.py +388 -0
  1059. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/api.py +120 -0
  1060. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/auth.py +193 -0
  1061. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cacert.pem +5026 -0
  1062. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/certs.py +24 -0
  1063. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/compat.py +115 -0
  1064. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/cookies.py +454 -0
  1065. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/exceptions.py +75 -0
  1066. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/hooks.py +45 -0
  1067. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/models.py +803 -0
  1068. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/__init__.py +3 -0
  1069. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/__init__.py +32 -0
  1070. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5freq.py +925 -0
  1071. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/big5prober.py +42 -0
  1072. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardetect.py +46 -0
  1073. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/chardistribution.py +231 -0
  1074. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetgroupprober.py +106 -0
  1075. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/charsetprober.py +62 -0
  1076. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/codingstatemachine.py +61 -0
  1077. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/compat.py +34 -0
  1078. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/constants.py +39 -0
  1079. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/cp949prober.py +44 -0
  1080. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escprober.py +86 -0
  1081. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/escsm.py +242 -0
  1082. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/eucjpprober.py +90 -0
  1083. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrfreq.py +596 -0
  1084. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euckrprober.py +42 -0
  1085. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwfreq.py +428 -0
  1086. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/euctwprober.py +41 -0
  1087. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312freq.py +472 -0
  1088. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/gb2312prober.py +41 -0
  1089. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/hebrewprober.py +283 -0
  1090. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jisfreq.py +569 -0
  1091. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/jpcntx.py +219 -0
  1092. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langbulgarianmodel.py +229 -0
  1093. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langcyrillicmodel.py +329 -0
  1094. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langgreekmodel.py +225 -0
  1095. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhebrewmodel.py +201 -0
  1096. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langhungarianmodel.py +225 -0
  1097. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/langthaimodel.py +200 -0
  1098. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/latin1prober.py +139 -0
  1099. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcharsetprober.py +86 -0
  1100. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcsgroupprober.py +54 -0
  1101. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/mbcssm.py +575 -0
  1102. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcharsetprober.py +120 -0
  1103. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sbcsgroupprober.py +69 -0
  1104. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/sjisprober.py +91 -0
  1105. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/universaldetector.py +170 -0
  1106. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/chardet/utf8prober.py +76 -0
  1107. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/__init__.py +58 -0
  1108. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/_collections.py +205 -0
  1109. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connection.py +204 -0
  1110. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/connectionpool.py +710 -0
  1111. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/__init__.py +0 -0
  1112. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/ntlmpool.py +120 -0
  1113. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/contrib/pyopenssl.py +422 -0
  1114. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/exceptions.py +126 -0
  1115. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/fields.py +177 -0
  1116. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/filepost.py +100 -0
  1117. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/__init__.py +4 -0
  1118. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ordered_dict.py +260 -0
  1119. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/six.py +385 -0
  1120. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/__init__.py +13 -0
  1121. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.py +105 -0
  1122. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/poolmanager.py +258 -0
  1123. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/request.py +141 -0
  1124. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/response.py +308 -0
  1125. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/__init__.py +27 -0
  1126. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/connection.py +45 -0
  1127. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/request.py +68 -0
  1128. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/response.py +13 -0
  1129. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py +133 -0
  1130. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/timeout.py +234 -0
  1131. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/packages/urllib3/util/url.py +162 -0
  1132. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/sessions.py +637 -0
  1133. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/status_codes.py +88 -0
  1134. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/structures.py +127 -0
  1135. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/requests/utils.py +673 -0
  1136. package/python3.4.2/lib/python3.4/site-packages/pip/_vendor/six.py +646 -0
  1137. package/python3.4.2/lib/python3.4/site-packages/pip/backwardcompat/__init__.py +138 -0
  1138. package/python3.4.2/lib/python3.4/site-packages/pip/basecommand.py +201 -0
  1139. package/python3.4.2/lib/python3.4/site-packages/pip/baseparser.py +224 -0
  1140. package/python3.4.2/lib/python3.4/site-packages/pip/cmdoptions.py +371 -0
  1141. package/python3.4.2/lib/python3.4/site-packages/pip/commands/__init__.py +88 -0
  1142. package/python3.4.2/lib/python3.4/site-packages/pip/commands/bundle.py +42 -0
  1143. package/python3.4.2/lib/python3.4/site-packages/pip/commands/completion.py +59 -0
  1144. package/python3.4.2/lib/python3.4/site-packages/pip/commands/freeze.py +114 -0
  1145. package/python3.4.2/lib/python3.4/site-packages/pip/commands/help.py +33 -0
  1146. package/python3.4.2/lib/python3.4/site-packages/pip/commands/install.py +314 -0
  1147. package/python3.4.2/lib/python3.4/site-packages/pip/commands/list.py +162 -0
  1148. package/python3.4.2/lib/python3.4/site-packages/pip/commands/search.py +132 -0
  1149. package/python3.4.2/lib/python3.4/site-packages/pip/commands/show.py +80 -0
  1150. package/python3.4.2/lib/python3.4/site-packages/pip/commands/uninstall.py +59 -0
  1151. package/python3.4.2/lib/python3.4/site-packages/pip/commands/unzip.py +7 -0
  1152. package/python3.4.2/lib/python3.4/site-packages/pip/commands/wheel.py +195 -0
  1153. package/python3.4.2/lib/python3.4/site-packages/pip/commands/zip.py +351 -0
  1154. package/python3.4.2/lib/python3.4/site-packages/pip/download.py +644 -0
  1155. package/python3.4.2/lib/python3.4/site-packages/pip/exceptions.py +46 -0
  1156. package/python3.4.2/lib/python3.4/site-packages/pip/index.py +990 -0
  1157. package/python3.4.2/lib/python3.4/site-packages/pip/locations.py +172 -0
  1158. package/python3.4.2/lib/python3.4/site-packages/pip/log.py +276 -0
  1159. package/python3.4.2/lib/python3.4/site-packages/pip/pep425tags.py +102 -0
  1160. package/python3.4.2/lib/python3.4/site-packages/pip/req.py +1931 -0
  1161. package/python3.4.2/lib/python3.4/site-packages/pip/runner.py +18 -0
  1162. package/python3.4.2/lib/python3.4/site-packages/pip/status_codes.py +6 -0
  1163. package/python3.4.2/lib/python3.4/site-packages/pip/util.py +720 -0
  1164. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/__init__.py +251 -0
  1165. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/bazaar.py +131 -0
  1166. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/git.py +194 -0
  1167. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/mercurial.py +151 -0
  1168. package/python3.4.2/lib/python3.4/site-packages/pip/vcs/subversion.py +273 -0
  1169. package/python3.4.2/lib/python3.4/site-packages/pip/wheel.py +560 -0
  1170. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/DESCRIPTION.rst +71 -0
  1171. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/METADATA +98 -0
  1172. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/RECORD +373 -0
  1173. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/WHEEL +6 -0
  1174. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/entry_points.txt +5 -0
  1175. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/metadata.json +1 -0
  1176. package/python3.4.2/lib/python3.4/site-packages/pip-1.5.6.dist-info/top_level.txt +1 -0
  1177. package/python3.4.2/lib/python3.4/site-packages/pkg_resources.py +2719 -0
  1178. package/python3.4.2/lib/python3.4/site-packages/setuptools/__init__.py +98 -0
  1179. package/python3.4.2/lib/python3.4/site-packages/setuptools/archive_util.py +210 -0
  1180. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-32.exe +0 -0
  1181. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-64.exe +0 -0
  1182. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli-arm-32.exe +0 -0
  1183. package/python3.4.2/lib/python3.4/site-packages/setuptools/cli.exe +0 -0
  1184. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/__init__.py +17 -0
  1185. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/alias.py +82 -0
  1186. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_egg.py +553 -0
  1187. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_rpm.py +82 -0
  1188. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/bdist_wininst.py +82 -0
  1189. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_ext.py +298 -0
  1190. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/build_py.py +221 -0
  1191. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/develop.py +167 -0
  1192. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/easy_install.py +1915 -0
  1193. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/egg_info.py +392 -0
  1194. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install.py +103 -0
  1195. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_egg_info.py +125 -0
  1196. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_lib.py +82 -0
  1197. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/install_scripts.py +54 -0
  1198. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/launcher manifest.xml +15 -0
  1199. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/register.py +10 -0
  1200. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/rotate.py +83 -0
  1201. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/saveopts.py +24 -0
  1202. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/sdist.py +238 -0
  1203. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/setopt.py +164 -0
  1204. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/test.py +198 -0
  1205. package/python3.4.2/lib/python3.4/site-packages/setuptools/command/upload_docs.py +193 -0
  1206. package/python3.4.2/lib/python3.4/site-packages/setuptools/compat.py +83 -0
  1207. package/python3.4.2/lib/python3.4/site-packages/setuptools/depends.py +246 -0
  1208. package/python3.4.2/lib/python3.4/site-packages/setuptools/dist.py +796 -0
  1209. package/python3.4.2/lib/python3.4/site-packages/setuptools/extension.py +46 -0
  1210. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-32.exe +0 -0
  1211. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-64.exe +0 -0
  1212. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui-arm-32.exe +0 -0
  1213. package/python3.4.2/lib/python3.4/site-packages/setuptools/gui.exe +0 -0
  1214. package/python3.4.2/lib/python3.4/site-packages/setuptools/lib2to3_ex.py +58 -0
  1215. package/python3.4.2/lib/python3.4/site-packages/setuptools/package_index.py +1057 -0
  1216. package/python3.4.2/lib/python3.4/site-packages/setuptools/py26compat.py +19 -0
  1217. package/python3.4.2/lib/python3.4/site-packages/setuptools/py27compat.py +15 -0
  1218. package/python3.4.2/lib/python3.4/site-packages/setuptools/py31compat.py +11 -0
  1219. package/python3.4.2/lib/python3.4/site-packages/setuptools/sandbox.py +322 -0
  1220. package/python3.4.2/lib/python3.4/site-packages/setuptools/script template (dev).py +11 -0
  1221. package/python3.4.2/lib/python3.4/site-packages/setuptools/script template.py +4 -0
  1222. package/python3.4.2/lib/python3.4/site-packages/setuptools/site-patch.py +83 -0
  1223. package/python3.4.2/lib/python3.4/site-packages/setuptools/ssl_support.py +234 -0
  1224. package/python3.4.2/lib/python3.4/site-packages/setuptools/svn_utils.py +564 -0
  1225. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/__init__.py +352 -0
  1226. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/doctest.py +2683 -0
  1227. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/environment.py +165 -0
  1228. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/py26compat.py +14 -0
  1229. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/script-with-bom.py +3 -0
  1230. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/server.py +82 -0
  1231. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_bdist_egg.py +69 -0
  1232. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_build_ext.py +20 -0
  1233. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_develop.py +122 -0
  1234. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_dist_info.py +83 -0
  1235. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_easy_install.py +394 -0
  1236. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_egg_info.py +173 -0
  1237. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_markerlib.py +68 -0
  1238. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_packageindex.py +203 -0
  1239. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_resources.py +620 -0
  1240. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sandbox.py +79 -0
  1241. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_sdist.py +535 -0
  1242. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_svn.py +246 -0
  1243. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_test.py +124 -0
  1244. package/python3.4.2/lib/python3.4/site-packages/setuptools/tests/test_upload_docs.py +72 -0
  1245. package/python3.4.2/lib/python3.4/site-packages/setuptools/version.py +1 -0
  1246. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/DESCRIPTION.rst +1742 -0
  1247. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/METADATA +1772 -0
  1248. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/RECORD +149 -0
  1249. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/WHEEL +6 -0
  1250. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/dependency_links.txt +2 -0
  1251. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt +62 -0
  1252. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/entry_points.txt.orig +62 -0
  1253. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/pydist.json +1 -0
  1254. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/requires.txt.orig +7 -0
  1255. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/top_level.txt +4 -0
  1256. package/python3.4.2/lib/python3.4/site-packages/setuptools-2.1.dist-info/zip-safe +1 -0
  1257. package/python3.4.2/lib/python3.4/site.py +616 -0
  1258. package/python3.4.2/lib/python3.4/smtpd.py +861 -0
  1259. package/python3.4.2/lib/python3.4/smtplib.py +999 -0
  1260. package/python3.4.2/lib/python3.4/sndhdr.py +240 -0
  1261. package/python3.4.2/lib/python3.4/socket.py +535 -0
  1262. package/python3.4.2/lib/python3.4/socketserver.py +748 -0
  1263. package/python3.4.2/lib/python3.4/sqlite3/__init__.py +23 -0
  1264. package/python3.4.2/lib/python3.4/sqlite3/dbapi2.py +89 -0
  1265. package/python3.4.2/lib/python3.4/sqlite3/dump.py +70 -0
  1266. package/python3.4.2/lib/python3.4/sqlite3/test/__init__.py +0 -0
  1267. package/python3.4.2/lib/python3.4/sqlite3/test/dbapi.py +911 -0
  1268. package/python3.4.2/lib/python3.4/sqlite3/test/dump.py +81 -0
  1269. package/python3.4.2/lib/python3.4/sqlite3/test/factory.py +253 -0
  1270. package/python3.4.2/lib/python3.4/sqlite3/test/hooks.py +258 -0
  1271. package/python3.4.2/lib/python3.4/sqlite3/test/regression.py +358 -0
  1272. package/python3.4.2/lib/python3.4/sqlite3/test/transactions.py +204 -0
  1273. package/python3.4.2/lib/python3.4/sqlite3/test/types.py +403 -0
  1274. package/python3.4.2/lib/python3.4/sqlite3/test/userfunctions.py +468 -0
  1275. package/python3.4.2/lib/python3.4/sre_compile.py +489 -0
  1276. package/python3.4.2/lib/python3.4/sre_constants.py +261 -0
  1277. package/python3.4.2/lib/python3.4/sre_parse.py +859 -0
  1278. package/python3.4.2/lib/python3.4/ssl.py +945 -0
  1279. package/python3.4.2/lib/python3.4/stat.py +155 -0
  1280. package/python3.4.2/lib/python3.4/statistics.py +595 -0
  1281. package/python3.4.2/lib/python3.4/string.py +282 -0
  1282. package/python3.4.2/lib/python3.4/stringprep.py +272 -0
  1283. package/python3.4.2/lib/python3.4/struct.py +15 -0
  1284. package/python3.4.2/lib/python3.4/subprocess.py +1690 -0
  1285. package/python3.4.2/lib/python3.4/sunau.py +525 -0
  1286. package/python3.4.2/lib/python3.4/symbol.py +111 -0
  1287. package/python3.4.2/lib/python3.4/symtable.py +240 -0
  1288. package/python3.4.2/lib/python3.4/sysconfig.py +709 -0
  1289. package/python3.4.2/lib/python3.4/tabnanny.py +332 -0
  1290. package/python3.4.2/lib/python3.4/tarfile.py +2519 -0
  1291. package/python3.4.2/lib/python3.4/telnetlib.py +672 -0
  1292. package/python3.4.2/lib/python3.4/tempfile.py +698 -0
  1293. package/python3.4.2/lib/python3.4/test/185test.db +0 -0
  1294. package/python3.4.2/lib/python3.4/test/Sine-1000Hz-300ms.aif +0 -0
  1295. package/python3.4.2/lib/python3.4/test/__init__.py +1 -0
  1296. package/python3.4.2/lib/python3.4/test/__main__.py +3 -0
  1297. package/python3.4.2/lib/python3.4/test/_test_multiprocessing.py +3841 -0
  1298. package/python3.4.2/lib/python3.4/test/audiodata/pluck-alaw.aifc +0 -0
  1299. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.aiff +0 -0
  1300. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.au +0 -0
  1301. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm16.wav +0 -0
  1302. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.aiff +0 -0
  1303. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.au +0 -0
  1304. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm24.wav +0 -0
  1305. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.aiff +0 -0
  1306. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.au +0 -0
  1307. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm32.wav +0 -0
  1308. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.aiff +0 -0
  1309. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.au +0 -0
  1310. package/python3.4.2/lib/python3.4/test/audiodata/pluck-pcm8.wav +0 -0
  1311. package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.aifc +0 -0
  1312. package/python3.4.2/lib/python3.4/test/audiodata/pluck-ulaw.au +0 -0
  1313. package/python3.4.2/lib/python3.4/test/audiotest.au +0 -0
  1314. package/python3.4.2/lib/python3.4/test/audiotests.py +329 -0
  1315. package/python3.4.2/lib/python3.4/test/autotest.py +6 -0
  1316. package/python3.4.2/lib/python3.4/test/bad_coding.py +1 -0
  1317. package/python3.4.2/lib/python3.4/test/bad_coding2.py +2 -0
  1318. package/python3.4.2/lib/python3.4/test/badcert.pem +36 -0
  1319. package/python3.4.2/lib/python3.4/test/badkey.pem +40 -0
  1320. package/python3.4.2/lib/python3.4/test/badsyntax_3131.py +2 -0
  1321. package/python3.4.2/lib/python3.4/test/badsyntax_future10.py +3 -0
  1322. package/python3.4.2/lib/python3.4/test/badsyntax_future3.py +10 -0
  1323. package/python3.4.2/lib/python3.4/test/badsyntax_future4.py +10 -0
  1324. package/python3.4.2/lib/python3.4/test/badsyntax_future5.py +12 -0
  1325. package/python3.4.2/lib/python3.4/test/badsyntax_future6.py +10 -0
  1326. package/python3.4.2/lib/python3.4/test/badsyntax_future7.py +11 -0
  1327. package/python3.4.2/lib/python3.4/test/badsyntax_future8.py +10 -0
  1328. package/python3.4.2/lib/python3.4/test/badsyntax_future9.py +10 -0
  1329. package/python3.4.2/lib/python3.4/test/badsyntax_pep3120.py +1 -0
  1330. package/python3.4.2/lib/python3.4/test/buffer_tests.py +218 -0
  1331. package/python3.4.2/lib/python3.4/test/bytecode_helper.py +41 -0
  1332. package/python3.4.2/lib/python3.4/test/capath/4e1295a3.0 +14 -0
  1333. package/python3.4.2/lib/python3.4/test/capath/5ed36f99.0 +41 -0
  1334. package/python3.4.2/lib/python3.4/test/capath/6e88d7b8.0 +14 -0
  1335. package/python3.4.2/lib/python3.4/test/capath/99d0fa06.0 +41 -0
  1336. package/python3.4.2/lib/python3.4/test/cfgparser.1 +2 -0
  1337. package/python3.4.2/lib/python3.4/test/cfgparser.2 +537 -0
  1338. package/python3.4.2/lib/python3.4/test/cfgparser.3 +69 -0
  1339. package/python3.4.2/lib/python3.4/test/check_soundcard.vbs +13 -0
  1340. package/python3.4.2/lib/python3.4/test/cjkencodings/big5-utf8.txt +9 -0
  1341. package/python3.4.2/lib/python3.4/test/cjkencodings/big5.txt +9 -0
  1342. package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs-utf8.txt +2 -0
  1343. package/python3.4.2/lib/python3.4/test/cjkencodings/big5hkscs.txt +2 -0
  1344. package/python3.4.2/lib/python3.4/test/cjkencodings/cp949-utf8.txt +9 -0
  1345. package/python3.4.2/lib/python3.4/test/cjkencodings/cp949.txt +9 -0
  1346. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213-utf8.txt +8 -0
  1347. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jisx0213.txt +8 -0
  1348. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp-utf8.txt +7 -0
  1349. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_jp.txt +7 -0
  1350. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr-utf8.txt +7 -0
  1351. package/python3.4.2/lib/python3.4/test/cjkencodings/euc_kr.txt +7 -0
  1352. package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030-utf8.txt +15 -0
  1353. package/python3.4.2/lib/python3.4/test/cjkencodings/gb18030.txt +15 -0
  1354. package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312-utf8.txt +6 -0
  1355. package/python3.4.2/lib/python3.4/test/cjkencodings/gb2312.txt +6 -0
  1356. package/python3.4.2/lib/python3.4/test/cjkencodings/gbk-utf8.txt +14 -0
  1357. package/python3.4.2/lib/python3.4/test/cjkencodings/gbk.txt +14 -0
  1358. package/python3.4.2/lib/python3.4/test/cjkencodings/hz-utf8.txt +2 -0
  1359. package/python3.4.2/lib/python3.4/test/cjkencodings/hz.txt +2 -0
  1360. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp-utf8.txt +7 -0
  1361. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_jp.txt +7 -0
  1362. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr-utf8.txt +7 -0
  1363. package/python3.4.2/lib/python3.4/test/cjkencodings/iso2022_kr.txt +7 -0
  1364. package/python3.4.2/lib/python3.4/test/cjkencodings/johab-utf8.txt +9 -0
  1365. package/python3.4.2/lib/python3.4/test/cjkencodings/johab.txt +9 -0
  1366. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis-utf8.txt +7 -0
  1367. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jis.txt +7 -0
  1368. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213-utf8.txt +8 -0
  1369. package/python3.4.2/lib/python3.4/test/cjkencodings/shift_jisx0213.txt +8 -0
  1370. package/python3.4.2/lib/python3.4/test/cmath_testcases.txt +2370 -0
  1371. package/python3.4.2/lib/python3.4/test/coding20731.py +4 -0
  1372. package/python3.4.2/lib/python3.4/test/curses_tests.py +46 -0
  1373. package/python3.4.2/lib/python3.4/test/data/README +2 -0
  1374. package/python3.4.2/lib/python3.4/test/datetimetester.py +3786 -0
  1375. package/python3.4.2/lib/python3.4/test/decimaltestdata/abs.decTest +161 -0
  1376. package/python3.4.2/lib/python3.4/test/decimaltestdata/add.decTest +2716 -0
  1377. package/python3.4.2/lib/python3.4/test/decimaltestdata/and.decTest +338 -0
  1378. package/python3.4.2/lib/python3.4/test/decimaltestdata/base.decTest +1411 -0
  1379. package/python3.4.2/lib/python3.4/test/decimaltestdata/clamp.decTest +211 -0
  1380. package/python3.4.2/lib/python3.4/test/decimaltestdata/class.decTest +131 -0
  1381. package/python3.4.2/lib/python3.4/test/decimaltestdata/compare.decTest +758 -0
  1382. package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotal.decTest +798 -0
  1383. package/python3.4.2/lib/python3.4/test/decimaltestdata/comparetotmag.decTest +790 -0
  1384. package/python3.4.2/lib/python3.4/test/decimaltestdata/copy.decTest +86 -0
  1385. package/python3.4.2/lib/python3.4/test/decimaltestdata/copyabs.decTest +86 -0
  1386. package/python3.4.2/lib/python3.4/test/decimaltestdata/copynegate.decTest +86 -0
  1387. package/python3.4.2/lib/python3.4/test/decimaltestdata/copysign.decTest +177 -0
  1388. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAbs.decTest +126 -0
  1389. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAdd.decTest +1328 -0
  1390. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddAnd.decTest +347 -0
  1391. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddBase.decTest +1104 -0
  1392. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCanonical.decTest +357 -0
  1393. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddClass.decTest +76 -0
  1394. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompare.decTest +744 -0
  1395. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareSig.decTest +647 -0
  1396. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotal.decTest +706 -0
  1397. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCompareTotalMag.decTest +706 -0
  1398. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopy.decTest +88 -0
  1399. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyAbs.decTest +88 -0
  1400. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopyNegate.decTest +88 -0
  1401. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddCopySign.decTest +175 -0
  1402. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivide.decTest +863 -0
  1403. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddDivideInt.decTest +449 -0
  1404. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddEncode.decTest +495 -0
  1405. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddFMA.decTest +1698 -0
  1406. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddInvert.decTest +202 -0
  1407. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddLogB.decTest +159 -0
  1408. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMax.decTest +322 -0
  1409. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMaxMag.decTest +304 -0
  1410. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMin.decTest +309 -0
  1411. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinMag.decTest +293 -0
  1412. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMinus.decTest +88 -0
  1413. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddMultiply.decTest +553 -0
  1414. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextMinus.decTest +126 -0
  1415. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextPlus.decTest +124 -0
  1416. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddNextToward.decTest +374 -0
  1417. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddOr.decTest +292 -0
  1418. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddPlus.decTest +88 -0
  1419. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddQuantize.decTest +833 -0
  1420. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddReduce.decTest +182 -0
  1421. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainder.decTest +600 -0
  1422. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRemainderNear.decTest +629 -0
  1423. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddRotate.decTest +262 -0
  1424. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSameQuantum.decTest +389 -0
  1425. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddScaleB.decTest +243 -0
  1426. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddShift.decTest +262 -0
  1427. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddSubtract.decTest +629 -0
  1428. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddToIntegral.decTest +257 -0
  1429. package/python3.4.2/lib/python3.4/test/decimaltestdata/ddXor.decTest +337 -0
  1430. package/python3.4.2/lib/python3.4/test/decimaltestdata/decDouble.decTest +65 -0
  1431. package/python3.4.2/lib/python3.4/test/decimaltestdata/decQuad.decTest +65 -0
  1432. package/python3.4.2/lib/python3.4/test/decimaltestdata/decSingle.decTest +25 -0
  1433. package/python3.4.2/lib/python3.4/test/decimaltestdata/divide.decTest +854 -0
  1434. package/python3.4.2/lib/python3.4/test/decimaltestdata/divideint.decTest +486 -0
  1435. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAbs.decTest +126 -0
  1436. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAdd.decTest +1215 -0
  1437. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqAnd.decTest +420 -0
  1438. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqBase.decTest +1081 -0
  1439. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCanonical.decTest +372 -0
  1440. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqClass.decTest +77 -0
  1441. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompare.decTest +753 -0
  1442. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareSig.decTest +647 -0
  1443. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotal.decTest +706 -0
  1444. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCompareTotalMag.decTest +706 -0
  1445. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopy.decTest +88 -0
  1446. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyAbs.decTest +88 -0
  1447. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopyNegate.decTest +88 -0
  1448. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqCopySign.decTest +175 -0
  1449. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivide.decTest +808 -0
  1450. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqDivideInt.decTest +453 -0
  1451. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqEncode.decTest +477 -0
  1452. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqFMA.decTest +1786 -0
  1453. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqInvert.decTest +245 -0
  1454. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqLogB.decTest +160 -0
  1455. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMax.decTest +322 -0
  1456. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMaxMag.decTest +304 -0
  1457. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMin.decTest +309 -0
  1458. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinMag.decTest +293 -0
  1459. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMinus.decTest +88 -0
  1460. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqMultiply.decTest +589 -0
  1461. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextMinus.decTest +126 -0
  1462. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextPlus.decTest +124 -0
  1463. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqNextToward.decTest +375 -0
  1464. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqOr.decTest +401 -0
  1465. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqPlus.decTest +88 -0
  1466. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqQuantize.decTest +836 -0
  1467. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqReduce.decTest +183 -0
  1468. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainder.decTest +597 -0
  1469. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRemainderNear.decTest +631 -0
  1470. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqRotate.decTest +298 -0
  1471. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSameQuantum.decTest +389 -0
  1472. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqScaleB.decTest +260 -0
  1473. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqShift.decTest +298 -0
  1474. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqSubtract.decTest +635 -0
  1475. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqToIntegral.decTest +257 -0
  1476. package/python3.4.2/lib/python3.4/test/decimaltestdata/dqXor.decTest +410 -0
  1477. package/python3.4.2/lib/python3.4/test/decimaltestdata/dsBase.decTest +1062 -0
  1478. package/python3.4.2/lib/python3.4/test/decimaltestdata/dsEncode.decTest +372 -0
  1479. package/python3.4.2/lib/python3.4/test/decimaltestdata/exp.decTest +674 -0
  1480. package/python3.4.2/lib/python3.4/test/decimaltestdata/extra.decTest +2830 -0
  1481. package/python3.4.2/lib/python3.4/test/decimaltestdata/fma.decTest +3426 -0
  1482. package/python3.4.2/lib/python3.4/test/decimaltestdata/inexact.decTest +215 -0
  1483. package/python3.4.2/lib/python3.4/test/decimaltestdata/invert.decTest +176 -0
  1484. package/python3.4.2/lib/python3.4/test/decimaltestdata/ln.decTest +611 -0
  1485. package/python3.4.2/lib/python3.4/test/decimaltestdata/log10.decTest +551 -0
  1486. package/python3.4.2/lib/python3.4/test/decimaltestdata/logb.decTest +188 -0
  1487. package/python3.4.2/lib/python3.4/test/decimaltestdata/max.decTest +424 -0
  1488. package/python3.4.2/lib/python3.4/test/decimaltestdata/maxmag.decTest +404 -0
  1489. package/python3.4.2/lib/python3.4/test/decimaltestdata/min.decTest +407 -0
  1490. package/python3.4.2/lib/python3.4/test/decimaltestdata/minmag.decTest +390 -0
  1491. package/python3.4.2/lib/python3.4/test/decimaltestdata/minus.decTest +182 -0
  1492. package/python3.4.2/lib/python3.4/test/decimaltestdata/multiply.decTest +731 -0
  1493. package/python3.4.2/lib/python3.4/test/decimaltestdata/nextminus.decTest +148 -0
  1494. package/python3.4.2/lib/python3.4/test/decimaltestdata/nextplus.decTest +150 -0
  1495. package/python3.4.2/lib/python3.4/test/decimaltestdata/nexttoward.decTest +426 -0
  1496. package/python3.4.2/lib/python3.4/test/decimaltestdata/or.decTest +334 -0
  1497. package/python3.4.2/lib/python3.4/test/decimaltestdata/plus.decTest +195 -0
  1498. package/python3.4.2/lib/python3.4/test/decimaltestdata/power.decTest +1624 -0
  1499. package/python3.4.2/lib/python3.4/test/decimaltestdata/powersqrt.decTest +2970 -0
  1500. package/python3.4.2/lib/python3.4/test/decimaltestdata/quantize.decTest +948 -0
  1501. package/python3.4.2/lib/python3.4/test/decimaltestdata/randomBound32.decTest +2443 -0
  1502. package/python3.4.2/lib/python3.4/test/decimaltestdata/randoms.decTest +4030 -0
  1503. package/python3.4.2/lib/python3.4/test/decimaltestdata/reduce.decTest +234 -0
  1504. package/python3.4.2/lib/python3.4/test/decimaltestdata/remainder.decTest +640 -0
  1505. package/python3.4.2/lib/python3.4/test/decimaltestdata/remainderNear.decTest +572 -0
  1506. package/python3.4.2/lib/python3.4/test/decimaltestdata/rescale.decTest +764 -0
  1507. package/python3.4.2/lib/python3.4/test/decimaltestdata/rotate.decTest +247 -0
  1508. package/python3.4.2/lib/python3.4/test/decimaltestdata/rounding.decTest +1303 -0
  1509. package/python3.4.2/lib/python3.4/test/decimaltestdata/samequantum.decTest +389 -0
  1510. package/python3.4.2/lib/python3.4/test/decimaltestdata/scaleb.decTest +209 -0
  1511. package/python3.4.2/lib/python3.4/test/decimaltestdata/shift.decTest +250 -0
  1512. package/python3.4.2/lib/python3.4/test/decimaltestdata/squareroot.decTest +3834 -0
  1513. package/python3.4.2/lib/python3.4/test/decimaltestdata/subtract.decTest +873 -0
  1514. package/python3.4.2/lib/python3.4/test/decimaltestdata/testall.decTest +87 -0
  1515. package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegral.decTest +241 -0
  1516. package/python3.4.2/lib/python3.4/test/decimaltestdata/tointegralx.decTest +255 -0
  1517. package/python3.4.2/lib/python3.4/test/decimaltestdata/xor.decTest +335 -0
  1518. package/python3.4.2/lib/python3.4/test/dh512.pem +9 -0
  1519. package/python3.4.2/lib/python3.4/test/dis_module.py +5 -0
  1520. package/python3.4.2/lib/python3.4/test/doctest_aliases.py +13 -0
  1521. package/python3.4.2/lib/python3.4/test/double_const.py +30 -0
  1522. package/python3.4.2/lib/python3.4/test/empty.vbs +1 -0
  1523. package/python3.4.2/lib/python3.4/test/encoded_modules/__init__.py +23 -0
  1524. package/python3.4.2/lib/python3.4/test/encoded_modules/module_iso_8859_1.py +5 -0
  1525. package/python3.4.2/lib/python3.4/test/encoded_modules/module_koi8_r.py +3 -0
  1526. package/python3.4.2/lib/python3.4/test/exception_hierarchy.txt +61 -0
  1527. package/python3.4.2/lib/python3.4/test/final_a.py +19 -0
  1528. package/python3.4.2/lib/python3.4/test/final_b.py +19 -0
  1529. package/python3.4.2/lib/python3.4/test/floating_points.txt +1028 -0
  1530. package/python3.4.2/lib/python3.4/test/fork_wait.py +77 -0
  1531. package/python3.4.2/lib/python3.4/test/formatfloat_testcases.txt +355 -0
  1532. package/python3.4.2/lib/python3.4/test/future_test1.py +11 -0
  1533. package/python3.4.2/lib/python3.4/test/future_test2.py +10 -0
  1534. package/python3.4.2/lib/python3.4/test/gdb_sample.py +12 -0
  1535. package/python3.4.2/lib/python3.4/test/https_svn_python_org_root.pem +41 -0
  1536. package/python3.4.2/lib/python3.4/test/ieee754.txt +185 -0
  1537. package/python3.4.2/lib/python3.4/test/imghdrdata/python.bmp +0 -0
  1538. package/python3.4.2/lib/python3.4/test/imghdrdata/python.gif +0 -0
  1539. package/python3.4.2/lib/python3.4/test/imghdrdata/python.jpg +0 -0
  1540. package/python3.4.2/lib/python3.4/test/imghdrdata/python.pbm +3 -0
  1541. package/python3.4.2/lib/python3.4/test/imghdrdata/python.pgm +0 -0
  1542. package/python3.4.2/lib/python3.4/test/imghdrdata/python.png +0 -0
  1543. package/python3.4.2/lib/python3.4/test/imghdrdata/python.ppm +0 -0
  1544. package/python3.4.2/lib/python3.4/test/imghdrdata/python.ras +0 -0
  1545. package/python3.4.2/lib/python3.4/test/imghdrdata/python.sgi +0 -0
  1546. package/python3.4.2/lib/python3.4/test/imghdrdata/python.tiff +0 -0
  1547. package/python3.4.2/lib/python3.4/test/imghdrdata/python.xbm +6 -0
  1548. package/python3.4.2/lib/python3.4/test/inspect_fodder.py +58 -0
  1549. package/python3.4.2/lib/python3.4/test/inspect_fodder2.py +111 -0
  1550. package/python3.4.2/lib/python3.4/test/keycert.passwd.pem +33 -0
  1551. package/python3.4.2/lib/python3.4/test/keycert.pem +31 -0
  1552. package/python3.4.2/lib/python3.4/test/keycert2.pem +31 -0
  1553. package/python3.4.2/lib/python3.4/test/keycert3.pem +73 -0
  1554. package/python3.4.2/lib/python3.4/test/keycert4.pem +73 -0
  1555. package/python3.4.2/lib/python3.4/test/list_tests.py +585 -0
  1556. package/python3.4.2/lib/python3.4/test/lock_tests.py +896 -0
  1557. package/python3.4.2/lib/python3.4/test/mailcap.txt +39 -0
  1558. package/python3.4.2/lib/python3.4/test/make_ssl_certs.py +176 -0
  1559. package/python3.4.2/lib/python3.4/test/mapping_tests.py +657 -0
  1560. package/python3.4.2/lib/python3.4/test/math_testcases.txt +633 -0
  1561. package/python3.4.2/lib/python3.4/test/memory_watchdog.py +28 -0
  1562. package/python3.4.2/lib/python3.4/test/mime.types +1445 -0
  1563. package/python3.4.2/lib/python3.4/test/mock_socket.py +156 -0
  1564. package/python3.4.2/lib/python3.4/test/mp_fork_bomb.py +18 -0
  1565. package/python3.4.2/lib/python3.4/test/multibytecodec_support.py +377 -0
  1566. package/python3.4.2/lib/python3.4/test/nokia.pem +31 -0
  1567. package/python3.4.2/lib/python3.4/test/nullbytecert.pem +90 -0
  1568. package/python3.4.2/lib/python3.4/test/nullcert.pem +0 -0
  1569. package/python3.4.2/lib/python3.4/test/outstanding_bugs.py +18 -0
  1570. package/python3.4.2/lib/python3.4/test/pickletester.py +2253 -0
  1571. package/python3.4.2/lib/python3.4/test/profilee.py +115 -0
  1572. package/python3.4.2/lib/python3.4/test/pstats.pck +0 -0
  1573. package/python3.4.2/lib/python3.4/test/pycacert.pem +78 -0
  1574. package/python3.4.2/lib/python3.4/test/pycakey.pem +28 -0
  1575. package/python3.4.2/lib/python3.4/test/pyclbr_input.py +33 -0
  1576. package/python3.4.2/lib/python3.4/test/pydoc_mod.py +37 -0
  1577. package/python3.4.2/lib/python3.4/test/pydocfodder.py +216 -0
  1578. package/python3.4.2/lib/python3.4/test/pystone.py +277 -0
  1579. package/python3.4.2/lib/python3.4/test/randv2_32.pck +633 -0
  1580. package/python3.4.2/lib/python3.4/test/randv2_64.pck +633 -0
  1581. package/python3.4.2/lib/python3.4/test/randv3.pck +633 -0
  1582. package/python3.4.2/lib/python3.4/test/re_tests.py +670 -0
  1583. package/python3.4.2/lib/python3.4/test/regrtest.py +1589 -0
  1584. package/python3.4.2/lib/python3.4/test/relimport.py +1 -0
  1585. package/python3.4.2/lib/python3.4/test/reperf.py +23 -0
  1586. package/python3.4.2/lib/python3.4/test/revocation.crl +11 -0
  1587. package/python3.4.2/lib/python3.4/test/sample_doctest.py +76 -0
  1588. package/python3.4.2/lib/python3.4/test/sample_doctest_no_docstrings.py +12 -0
  1589. package/python3.4.2/lib/python3.4/test/sample_doctest_no_doctests.py +15 -0
  1590. package/python3.4.2/lib/python3.4/test/script_helper.py +178 -0
  1591. package/python3.4.2/lib/python3.4/test/seq_tests.py +397 -0
  1592. package/python3.4.2/lib/python3.4/test/sgml_input.html +212 -0
  1593. package/python3.4.2/lib/python3.4/test/sha256.pem +128 -0
  1594. package/python3.4.2/lib/python3.4/test/sndhdrdata/README +12 -0
  1595. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.8svx +0 -0
  1596. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aifc +0 -0
  1597. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.aiff +0 -0
  1598. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.au +0 -0
  1599. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.hcom +0 -0
  1600. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.sndt +0 -0
  1601. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.voc +0 -0
  1602. package/python3.4.2/lib/python3.4/test/sndhdrdata/sndhdr.wav +0 -0
  1603. package/python3.4.2/lib/python3.4/test/sortperf.py +169 -0
  1604. package/python3.4.2/lib/python3.4/test/ssl_cert.pem +15 -0
  1605. package/python3.4.2/lib/python3.4/test/ssl_key.passwd.pem +18 -0
  1606. package/python3.4.2/lib/python3.4/test/ssl_key.pem +16 -0
  1607. package/python3.4.2/lib/python3.4/test/ssl_servers.py +205 -0
  1608. package/python3.4.2/lib/python3.4/test/ssltests.py +22 -0
  1609. package/python3.4.2/lib/python3.4/test/string_tests.py +1385 -0
  1610. package/python3.4.2/lib/python3.4/test/subprocessdata/fd_status.py +34 -0
  1611. package/python3.4.2/lib/python3.4/test/subprocessdata/input_reader.py +7 -0
  1612. package/python3.4.2/lib/python3.4/test/subprocessdata/qcat.py +7 -0
  1613. package/python3.4.2/lib/python3.4/test/subprocessdata/qgrep.py +10 -0
  1614. package/python3.4.2/lib/python3.4/test/subprocessdata/sigchild_ignore.py +15 -0
  1615. package/python3.4.2/lib/python3.4/test/support/__init__.py +2241 -0
  1616. package/python3.4.2/lib/python3.4/test/test___all__.py +117 -0
  1617. package/python3.4.2/lib/python3.4/test/test___future__.py +65 -0
  1618. package/python3.4.2/lib/python3.4/test/test__locale.py +170 -0
  1619. package/python3.4.2/lib/python3.4/test/test__opcode.py +23 -0
  1620. package/python3.4.2/lib/python3.4/test/test__osx_support.py +281 -0
  1621. package/python3.4.2/lib/python3.4/test/test_abc.py +408 -0
  1622. package/python3.4.2/lib/python3.4/test/test_abstract_numbers.py +44 -0
  1623. package/python3.4.2/lib/python3.4/test/test_aifc.py +384 -0
  1624. package/python3.4.2/lib/python3.4/test/test_argparse.py +4979 -0
  1625. package/python3.4.2/lib/python3.4/test/test_array.py +1323 -0
  1626. package/python3.4.2/lib/python3.4/test/test_ast.py +1038 -0
  1627. package/python3.4.2/lib/python3.4/test/test_asynchat.py +333 -0
  1628. package/python3.4.2/lib/python3.4/test/test_asyncio/__init__.py +10 -0
  1629. package/python3.4.2/lib/python3.4/test/test_asyncio/__main__.py +4 -0
  1630. package/python3.4.2/lib/python3.4/test/test_asyncio/echo.py +8 -0
  1631. package/python3.4.2/lib/python3.4/test/test_asyncio/echo2.py +6 -0
  1632. package/python3.4.2/lib/python3.4/test/test_asyncio/echo3.py +11 -0
  1633. package/python3.4.2/lib/python3.4/test/test_asyncio/keycert3.pem +73 -0
  1634. package/python3.4.2/lib/python3.4/test/test_asyncio/pycacert.pem +78 -0
  1635. package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_cert.pem +15 -0
  1636. package/python3.4.2/lib/python3.4/test/test_asyncio/ssl_key.pem +16 -0
  1637. package/python3.4.2/lib/python3.4/test/test_asyncio/test_base_events.py +1064 -0
  1638. package/python3.4.2/lib/python3.4/test/test_asyncio/test_events.py +2240 -0
  1639. package/python3.4.2/lib/python3.4/test/test_asyncio/test_futures.py +442 -0
  1640. package/python3.4.2/lib/python3.4/test/test_asyncio/test_locks.py +858 -0
  1641. package/python3.4.2/lib/python3.4/test/test_asyncio/test_proactor_events.py +492 -0
  1642. package/python3.4.2/lib/python3.4/test/test_asyncio/test_queues.py +476 -0
  1643. package/python3.4.2/lib/python3.4/test/test_asyncio/test_selector_events.py +1737 -0
  1644. package/python3.4.2/lib/python3.4/test/test_asyncio/test_streams.py +628 -0
  1645. package/python3.4.2/lib/python3.4/test/test_asyncio/test_subprocess.py +217 -0
  1646. package/python3.4.2/lib/python3.4/test/test_asyncio/test_tasks.py +1977 -0
  1647. package/python3.4.2/lib/python3.4/test/test_asyncio/test_transports.py +90 -0
  1648. package/python3.4.2/lib/python3.4/test/test_asyncio/test_unix_events.py +1582 -0
  1649. package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_events.py +141 -0
  1650. package/python3.4.2/lib/python3.4/test/test_asyncio/test_windows_utils.py +171 -0
  1651. package/python3.4.2/lib/python3.4/test/test_asyncore.py +859 -0
  1652. package/python3.4.2/lib/python3.4/test/test_atexit.py +185 -0
  1653. package/python3.4.2/lib/python3.4/test/test_audioop.py +534 -0
  1654. package/python3.4.2/lib/python3.4/test/test_augassign.py +315 -0
  1655. package/python3.4.2/lib/python3.4/test/test_base64.py +666 -0
  1656. package/python3.4.2/lib/python3.4/test/test_bigaddrspace.py +101 -0
  1657. package/python3.4.2/lib/python3.4/test/test_bigmem.py +1257 -0
  1658. package/python3.4.2/lib/python3.4/test/test_binascii.py +270 -0
  1659. package/python3.4.2/lib/python3.4/test/test_binhex.py +56 -0
  1660. package/python3.4.2/lib/python3.4/test/test_binop.py +380 -0
  1661. package/python3.4.2/lib/python3.4/test/test_bisect.py +328 -0
  1662. package/python3.4.2/lib/python3.4/test/test_bool.py +347 -0
  1663. package/python3.4.2/lib/python3.4/test/test_buffer.py +4294 -0
  1664. package/python3.4.2/lib/python3.4/test/test_bufio.py +73 -0
  1665. package/python3.4.2/lib/python3.4/test/test_builtin.py +1637 -0
  1666. package/python3.4.2/lib/python3.4/test/test_bytes.py +1433 -0
  1667. package/python3.4.2/lib/python3.4/test/test_bz2.py +880 -0
  1668. package/python3.4.2/lib/python3.4/test/test_calendar.py +714 -0
  1669. package/python3.4.2/lib/python3.4/test/test_call.py +131 -0
  1670. package/python3.4.2/lib/python3.4/test/test_capi.py +469 -0
  1671. package/python3.4.2/lib/python3.4/test/test_cgi.py +489 -0
  1672. package/python3.4.2/lib/python3.4/test/test_cgitb.py +70 -0
  1673. package/python3.4.2/lib/python3.4/test/test_charmapcodec.py +56 -0
  1674. package/python3.4.2/lib/python3.4/test/test_class.py +552 -0
  1675. package/python3.4.2/lib/python3.4/test/test_cmath.py +536 -0
  1676. package/python3.4.2/lib/python3.4/test/test_cmd.py +243 -0
  1677. package/python3.4.2/lib/python3.4/test/test_cmd_line.py +473 -0
  1678. package/python3.4.2/lib/python3.4/test/test_cmd_line_script.py +481 -0
  1679. package/python3.4.2/lib/python3.4/test/test_code.py +170 -0
  1680. package/python3.4.2/lib/python3.4/test/test_code_module.py +86 -0
  1681. package/python3.4.2/lib/python3.4/test/test_codeccallbacks.py +880 -0
  1682. package/python3.4.2/lib/python3.4/test/test_codecencodings_cn.py +90 -0
  1683. package/python3.4.2/lib/python3.4/test/test_codecencodings_hk.py +26 -0
  1684. package/python3.4.2/lib/python3.4/test/test_codecencodings_iso2022.py +45 -0
  1685. package/python3.4.2/lib/python3.4/test/test_codecencodings_jp.py +130 -0
  1686. package/python3.4.2/lib/python3.4/test/test_codecencodings_kr.py +73 -0
  1687. package/python3.4.2/lib/python3.4/test/test_codecencodings_tw.py +26 -0
  1688. package/python3.4.2/lib/python3.4/test/test_codecmaps_cn.py +29 -0
  1689. package/python3.4.2/lib/python3.4/test/test_codecmaps_hk.py +16 -0
  1690. package/python3.4.2/lib/python3.4/test/test_codecmaps_jp.py +63 -0
  1691. package/python3.4.2/lib/python3.4/test/test_codecmaps_kr.py +40 -0
  1692. package/python3.4.2/lib/python3.4/test/test_codecmaps_tw.py +30 -0
  1693. package/python3.4.2/lib/python3.4/test/test_codecs.py +2901 -0
  1694. package/python3.4.2/lib/python3.4/test/test_codeop.py +304 -0
  1695. package/python3.4.2/lib/python3.4/test/test_collections.py +1552 -0
  1696. package/python3.4.2/lib/python3.4/test/test_colorsys.py +100 -0
  1697. package/python3.4.2/lib/python3.4/test/test_compare.py +67 -0
  1698. package/python3.4.2/lib/python3.4/test/test_compile.py +561 -0
  1699. package/python3.4.2/lib/python3.4/test/test_compileall.py +384 -0
  1700. package/python3.4.2/lib/python3.4/test/test_complex.py +638 -0
  1701. package/python3.4.2/lib/python3.4/test/test_concurrent_futures.py +685 -0
  1702. package/python3.4.2/lib/python3.4/test/test_configparser.py +1768 -0
  1703. package/python3.4.2/lib/python3.4/test/test_contains.py +93 -0
  1704. package/python3.4.2/lib/python3.4/test/test_contextlib.py +828 -0
  1705. package/python3.4.2/lib/python3.4/test/test_copy.py +759 -0
  1706. package/python3.4.2/lib/python3.4/test/test_copyreg.py +121 -0
  1707. package/python3.4.2/lib/python3.4/test/test_cprofile.py +98 -0
  1708. package/python3.4.2/lib/python3.4/test/test_crashers.py +38 -0
  1709. package/python3.4.2/lib/python3.4/test/test_crypt.py +33 -0
  1710. package/python3.4.2/lib/python3.4/test/test_csv.py +1074 -0
  1711. package/python3.4.2/lib/python3.4/test/test_ctypes.py +6 -0
  1712. package/python3.4.2/lib/python3.4/test/test_curses.py +395 -0
  1713. package/python3.4.2/lib/python3.4/test/test_datetime.py +48 -0
  1714. package/python3.4.2/lib/python3.4/test/test_dbm.py +193 -0
  1715. package/python3.4.2/lib/python3.4/test/test_dbm_dumb.py +228 -0
  1716. package/python3.4.2/lib/python3.4/test/test_dbm_gnu.py +97 -0
  1717. package/python3.4.2/lib/python3.4/test/test_dbm_ndbm.py +54 -0
  1718. package/python3.4.2/lib/python3.4/test/test_decimal.py +5504 -0
  1719. package/python3.4.2/lib/python3.4/test/test_decorators.py +309 -0
  1720. package/python3.4.2/lib/python3.4/test/test_defaultdict.py +190 -0
  1721. package/python3.4.2/lib/python3.4/test/test_deque.py +817 -0
  1722. package/python3.4.2/lib/python3.4/test/test_descr.py +5006 -0
  1723. package/python3.4.2/lib/python3.4/test/test_descrtut.py +485 -0
  1724. package/python3.4.2/lib/python3.4/test/test_devpoll.py +146 -0
  1725. package/python3.4.2/lib/python3.4/test/test_dict.py +928 -0
  1726. package/python3.4.2/lib/python3.4/test/test_dictcomps.py +88 -0
  1727. package/python3.4.2/lib/python3.4/test/test_dictviews.py +206 -0
  1728. package/python3.4.2/lib/python3.4/test/test_difflib.py +298 -0
  1729. package/python3.4.2/lib/python3.4/test/test_difflib_expect.html +526 -0
  1730. package/python3.4.2/lib/python3.4/test/test_dis.py +832 -0
  1731. package/python3.4.2/lib/python3.4/test/test_distutils.py +18 -0
  1732. package/python3.4.2/lib/python3.4/test/test_doctest.py +2921 -0
  1733. package/python3.4.2/lib/python3.4/test/test_doctest.txt +17 -0
  1734. package/python3.4.2/lib/python3.4/test/test_doctest2.py +123 -0
  1735. package/python3.4.2/lib/python3.4/test/test_doctest2.txt +14 -0
  1736. package/python3.4.2/lib/python3.4/test/test_doctest3.txt +5 -0
  1737. package/python3.4.2/lib/python3.4/test/test_doctest4.txt +11 -0
  1738. package/python3.4.2/lib/python3.4/test/test_docxmlrpc.py +219 -0
  1739. package/python3.4.2/lib/python3.4/test/test_dummy_thread.py +182 -0
  1740. package/python3.4.2/lib/python3.4/test/test_dummy_threading.py +64 -0
  1741. package/python3.4.2/lib/python3.4/test/test_dynamic.py +143 -0
  1742. package/python3.4.2/lib/python3.4/test/test_dynamicclassattribute.py +304 -0
  1743. package/python3.4.2/lib/python3.4/test/test_email/__init__.py +159 -0
  1744. package/python3.4.2/lib/python3.4/test/test_email/__main__.py +4 -0
  1745. package/python3.4.2/lib/python3.4/test/test_email/data/PyBanner048.gif +0 -0
  1746. package/python3.4.2/lib/python3.4/test/test_email/data/audiotest.au +0 -0
  1747. package/python3.4.2/lib/python3.4/test/test_email/data/msg_01.txt +19 -0
  1748. package/python3.4.2/lib/python3.4/test/test_email/data/msg_02.txt +136 -0
  1749. package/python3.4.2/lib/python3.4/test/test_email/data/msg_03.txt +16 -0
  1750. package/python3.4.2/lib/python3.4/test/test_email/data/msg_04.txt +37 -0
  1751. package/python3.4.2/lib/python3.4/test/test_email/data/msg_05.txt +28 -0
  1752. package/python3.4.2/lib/python3.4/test/test_email/data/msg_06.txt +33 -0
  1753. package/python3.4.2/lib/python3.4/test/test_email/data/msg_07.txt +83 -0
  1754. package/python3.4.2/lib/python3.4/test/test_email/data/msg_08.txt +24 -0
  1755. package/python3.4.2/lib/python3.4/test/test_email/data/msg_09.txt +24 -0
  1756. package/python3.4.2/lib/python3.4/test/test_email/data/msg_10.txt +39 -0
  1757. package/python3.4.2/lib/python3.4/test/test_email/data/msg_11.txt +7 -0
  1758. package/python3.4.2/lib/python3.4/test/test_email/data/msg_12.txt +36 -0
  1759. package/python3.4.2/lib/python3.4/test/test_email/data/msg_12a.txt +38 -0
  1760. package/python3.4.2/lib/python3.4/test/test_email/data/msg_13.txt +94 -0
  1761. package/python3.4.2/lib/python3.4/test/test_email/data/msg_14.txt +23 -0
  1762. package/python3.4.2/lib/python3.4/test/test_email/data/msg_15.txt +52 -0
  1763. package/python3.4.2/lib/python3.4/test/test_email/data/msg_16.txt +123 -0
  1764. package/python3.4.2/lib/python3.4/test/test_email/data/msg_17.txt +12 -0
  1765. package/python3.4.2/lib/python3.4/test/test_email/data/msg_18.txt +6 -0
  1766. package/python3.4.2/lib/python3.4/test/test_email/data/msg_19.txt +43 -0
  1767. package/python3.4.2/lib/python3.4/test/test_email/data/msg_20.txt +22 -0
  1768. package/python3.4.2/lib/python3.4/test/test_email/data/msg_21.txt +20 -0
  1769. package/python3.4.2/lib/python3.4/test/test_email/data/msg_22.txt +46 -0
  1770. package/python3.4.2/lib/python3.4/test/test_email/data/msg_23.txt +8 -0
  1771. package/python3.4.2/lib/python3.4/test/test_email/data/msg_24.txt +10 -0
  1772. package/python3.4.2/lib/python3.4/test/test_email/data/msg_25.txt +117 -0
  1773. package/python3.4.2/lib/python3.4/test/test_email/data/msg_26.txt +46 -0
  1774. package/python3.4.2/lib/python3.4/test/test_email/data/msg_27.txt +15 -0
  1775. package/python3.4.2/lib/python3.4/test/test_email/data/msg_28.txt +25 -0
  1776. package/python3.4.2/lib/python3.4/test/test_email/data/msg_29.txt +22 -0
  1777. package/python3.4.2/lib/python3.4/test/test_email/data/msg_30.txt +23 -0
  1778. package/python3.4.2/lib/python3.4/test/test_email/data/msg_31.txt +15 -0
  1779. package/python3.4.2/lib/python3.4/test/test_email/data/msg_32.txt +14 -0
  1780. package/python3.4.2/lib/python3.4/test/test_email/data/msg_33.txt +29 -0
  1781. package/python3.4.2/lib/python3.4/test/test_email/data/msg_34.txt +19 -0
  1782. package/python3.4.2/lib/python3.4/test/test_email/data/msg_35.txt +4 -0
  1783. package/python3.4.2/lib/python3.4/test/test_email/data/msg_36.txt +40 -0
  1784. package/python3.4.2/lib/python3.4/test/test_email/data/msg_37.txt +22 -0
  1785. package/python3.4.2/lib/python3.4/test/test_email/data/msg_38.txt +101 -0
  1786. package/python3.4.2/lib/python3.4/test/test_email/data/msg_39.txt +83 -0
  1787. package/python3.4.2/lib/python3.4/test/test_email/data/msg_40.txt +10 -0
  1788. package/python3.4.2/lib/python3.4/test/test_email/data/msg_41.txt +8 -0
  1789. package/python3.4.2/lib/python3.4/test/test_email/data/msg_42.txt +20 -0
  1790. package/python3.4.2/lib/python3.4/test/test_email/data/msg_43.txt +217 -0
  1791. package/python3.4.2/lib/python3.4/test/test_email/data/msg_44.txt +33 -0
  1792. package/python3.4.2/lib/python3.4/test/test_email/data/msg_45.txt +33 -0
  1793. package/python3.4.2/lib/python3.4/test/test_email/data/msg_46.txt +23 -0
  1794. package/python3.4.2/lib/python3.4/test/test_email/test__encoded_words.py +192 -0
  1795. package/python3.4.2/lib/python3.4/test/test_email/test__header_value_parser.py +2606 -0
  1796. package/python3.4.2/lib/python3.4/test/test_email/test_asian_codecs.py +82 -0
  1797. package/python3.4.2/lib/python3.4/test/test_email/test_contentmanager.py +796 -0
  1798. package/python3.4.2/lib/python3.4/test/test_email/test_defect_handling.py +320 -0
  1799. package/python3.4.2/lib/python3.4/test/test_email/test_email.py +5289 -0
  1800. package/python3.4.2/lib/python3.4/test/test_email/test_generator.py +199 -0
  1801. package/python3.4.2/lib/python3.4/test/test_email/test_headerregistry.py +1594 -0
  1802. package/python3.4.2/lib/python3.4/test/test_email/test_inversion.py +49 -0
  1803. package/python3.4.2/lib/python3.4/test/test_email/test_message.py +783 -0
  1804. package/python3.4.2/lib/python3.4/test/test_email/test_parser.py +36 -0
  1805. package/python3.4.2/lib/python3.4/test/test_email/test_pickleable.py +74 -0
  1806. package/python3.4.2/lib/python3.4/test/test_email/test_policy.py +332 -0
  1807. package/python3.4.2/lib/python3.4/test/test_email/test_utils.py +140 -0
  1808. package/python3.4.2/lib/python3.4/test/test_email/torture_test.py +136 -0
  1809. package/python3.4.2/lib/python3.4/test/test_ensurepip.py +345 -0
  1810. package/python3.4.2/lib/python3.4/test/test_enum.py +1592 -0
  1811. package/python3.4.2/lib/python3.4/test/test_enumerate.py +272 -0
  1812. package/python3.4.2/lib/python3.4/test/test_eof.py +31 -0
  1813. package/python3.4.2/lib/python3.4/test/test_epoll.py +259 -0
  1814. package/python3.4.2/lib/python3.4/test/test_errno.py +40 -0
  1815. package/python3.4.2/lib/python3.4/test/test_exception_variations.py +180 -0
  1816. package/python3.4.2/lib/python3.4/test/test_exceptions.py +978 -0
  1817. package/python3.4.2/lib/python3.4/test/test_extcall.py +349 -0
  1818. package/python3.4.2/lib/python3.4/test/test_faulthandler.py +623 -0
  1819. package/python3.4.2/lib/python3.4/test/test_fcntl.py +152 -0
  1820. package/python3.4.2/lib/python3.4/test/test_file.py +329 -0
  1821. package/python3.4.2/lib/python3.4/test/test_file_eintr.py +236 -0
  1822. package/python3.4.2/lib/python3.4/test/test_filecmp.py +217 -0
  1823. package/python3.4.2/lib/python3.4/test/test_fileinput.py +891 -0
  1824. package/python3.4.2/lib/python3.4/test/test_fileio.py +480 -0
  1825. package/python3.4.2/lib/python3.4/test/test_finalization.py +522 -0
  1826. package/python3.4.2/lib/python3.4/test/test_float.py +1312 -0
  1827. package/python3.4.2/lib/python3.4/test/test_flufl.py +27 -0
  1828. package/python3.4.2/lib/python3.4/test/test_fnmatch.py +89 -0
  1829. package/python3.4.2/lib/python3.4/test/test_fork1.py +111 -0
  1830. package/python3.4.2/lib/python3.4/test/test_format.py +362 -0
  1831. package/python3.4.2/lib/python3.4/test/test_fractions.py +612 -0
  1832. package/python3.4.2/lib/python3.4/test/test_frame.py +168 -0
  1833. package/python3.4.2/lib/python3.4/test/test_ftplib.py +1080 -0
  1834. package/python3.4.2/lib/python3.4/test/test_funcattrs.py +385 -0
  1835. package/python3.4.2/lib/python3.4/test/test_functools.py +1584 -0
  1836. package/python3.4.2/lib/python3.4/test/test_future.py +125 -0
  1837. package/python3.4.2/lib/python3.4/test/test_future3.py +26 -0
  1838. package/python3.4.2/lib/python3.4/test/test_future4.py +6 -0
  1839. package/python3.4.2/lib/python3.4/test/test_future5.py +21 -0
  1840. package/python3.4.2/lib/python3.4/test/test_gc.py +1013 -0
  1841. package/python3.4.2/lib/python3.4/test/test_gdb.py +870 -0
  1842. package/python3.4.2/lib/python3.4/test/test_generators.py +1940 -0
  1843. package/python3.4.2/lib/python3.4/test/test_genericpath.py +439 -0
  1844. package/python3.4.2/lib/python3.4/test/test_genexps.py +285 -0
  1845. package/python3.4.2/lib/python3.4/test/test_getargs2.py +615 -0
  1846. package/python3.4.2/lib/python3.4/test/test_getopt.py +187 -0
  1847. package/python3.4.2/lib/python3.4/test/test_getpass.py +163 -0
  1848. package/python3.4.2/lib/python3.4/test/test_gettext.py +467 -0
  1849. package/python3.4.2/lib/python3.4/test/test_glob.py +200 -0
  1850. package/python3.4.2/lib/python3.4/test/test_global.py +61 -0
  1851. package/python3.4.2/lib/python3.4/test/test_grammar.py +1024 -0
  1852. package/python3.4.2/lib/python3.4/test/test_grp.py +99 -0
  1853. package/python3.4.2/lib/python3.4/test/test_gzip.py +561 -0
  1854. package/python3.4.2/lib/python3.4/test/test_hash.py +346 -0
  1855. package/python3.4.2/lib/python3.4/test/test_hashlib.py +533 -0
  1856. package/python3.4.2/lib/python3.4/test/test_heapq.py +417 -0
  1857. package/python3.4.2/lib/python3.4/test/test_hmac.py +506 -0
  1858. package/python3.4.2/lib/python3.4/test/test_html.py +104 -0
  1859. package/python3.4.2/lib/python3.4/test/test_htmlparser.py +832 -0
  1860. package/python3.4.2/lib/python3.4/test/test_http_cookiejar.py +1714 -0
  1861. package/python3.4.2/lib/python3.4/test/test_http_cookies.py +243 -0
  1862. package/python3.4.2/lib/python3.4/test/test_httplib.py +1025 -0
  1863. package/python3.4.2/lib/python3.4/test/test_httpservers.py +770 -0
  1864. package/python3.4.2/lib/python3.4/test/test_idle.py +16 -0
  1865. package/python3.4.2/lib/python3.4/test/test_imaplib.py +504 -0
  1866. package/python3.4.2/lib/python3.4/test/test_imghdr.py +131 -0
  1867. package/python3.4.2/lib/python3.4/test/test_imp.py +485 -0
  1868. package/python3.4.2/lib/python3.4/test/test_import.py +1072 -0
  1869. package/python3.4.2/lib/python3.4/test/test_importlib/__init__.py +5 -0
  1870. package/python3.4.2/lib/python3.4/test/test_importlib/__main__.py +4 -0
  1871. package/python3.4.2/lib/python3.4/test/test_importlib/abc.py +94 -0
  1872. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__init__.py +5 -0
  1873. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/__main__.py +4 -0
  1874. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_finder.py +85 -0
  1875. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/test_loader.py +106 -0
  1876. package/python3.4.2/lib/python3.4/test/test_importlib/builtin/util.py +7 -0
  1877. package/python3.4.2/lib/python3.4/test/test_importlib/extension/__init__.py +5 -0
  1878. package/python3.4.2/lib/python3.4/test/test_importlib/extension/__main__.py +4 -0
  1879. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_case_sensitivity.py +51 -0
  1880. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_finder.py +44 -0
  1881. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_loader.py +86 -0
  1882. package/python3.4.2/lib/python3.4/test/test_importlib/extension/test_path_hook.py +32 -0
  1883. package/python3.4.2/lib/python3.4/test/test_importlib/extension/util.py +19 -0
  1884. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__init__.py +5 -0
  1885. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/__main__.py +4 -0
  1886. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_finder.py +80 -0
  1887. package/python3.4.2/lib/python3.4/test/test_importlib/frozen/test_loader.py +222 -0
  1888. package/python3.4.2/lib/python3.4/test/test_importlib/import_/__init__.py +5 -0
  1889. package/python3.4.2/lib/python3.4/test/test_importlib/import_/__main__.py +4 -0
  1890. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___loader__.py +70 -0
  1891. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test___package__.py +133 -0
  1892. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_api.py +94 -0
  1893. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_caching.py +92 -0
  1894. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_fromlist.py +129 -0
  1895. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_meta_path.py +119 -0
  1896. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_packages.py +110 -0
  1897. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_path.py +144 -0
  1898. package/python3.4.2/lib/python3.4/test/test_importlib/import_/test_relative_imports.py +216 -0
  1899. package/python3.4.2/lib/python3.4/test/test_importlib/import_/util.py +20 -0
  1900. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/one.py +1 -0
  1901. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/both_portions/foo/two.py +1 -0
  1902. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/missing_directory.zip +0 -0
  1903. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test/empty +0 -0
  1904. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/module_and_namespace_package/a_test.py +1 -0
  1905. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/nested_portion1.zip +0 -0
  1906. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/__init__.py +0 -0
  1907. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/not_a_namespace_pkg/foo/one.py +1 -0
  1908. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion1/foo/one.py +1 -0
  1909. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/portion2/foo/two.py +1 -0
  1910. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project1/parent/child/one.py +1 -0
  1911. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project2/parent/child/two.py +1 -0
  1912. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/project3/parent/child/three.py +1 -0
  1913. package/python3.4.2/lib/python3.4/test/test_importlib/namespace_pkgs/top_level_portion1.zip +0 -0
  1914. package/python3.4.2/lib/python3.4/test/test_importlib/regrtest.py +17 -0
  1915. package/python3.4.2/lib/python3.4/test/test_importlib/source/__init__.py +5 -0
  1916. package/python3.4.2/lib/python3.4/test/test_importlib/source/__main__.py +4 -0
  1917. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_case_sensitivity.py +83 -0
  1918. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_file_loader.py +588 -0
  1919. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_finder.py +232 -0
  1920. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_path_hook.py +30 -0
  1921. package/python3.4.2/lib/python3.4/test/test_importlib/source/test_source_encoding.py +165 -0
  1922. package/python3.4.2/lib/python3.4/test/test_importlib/source/util.py +96 -0
  1923. package/python3.4.2/lib/python3.4/test/test_importlib/test_abc.py +951 -0
  1924. package/python3.4.2/lib/python3.4/test/test_importlib/test_api.py +437 -0
  1925. package/python3.4.2/lib/python3.4/test/test_importlib/test_locks.py +156 -0
  1926. package/python3.4.2/lib/python3.4/test/test_importlib/test_namespace_pkgs.py +293 -0
  1927. package/python3.4.2/lib/python3.4/test/test_importlib/test_spec.py +957 -0
  1928. package/python3.4.2/lib/python3.4/test/test_importlib/test_util.py +592 -0
  1929. package/python3.4.2/lib/python3.4/test/test_importlib/test_windows.py +29 -0
  1930. package/python3.4.2/lib/python3.4/test/test_importlib/util.py +225 -0
  1931. package/python3.4.2/lib/python3.4/test/test_index.py +275 -0
  1932. package/python3.4.2/lib/python3.4/test/test_inspect.py +3103 -0
  1933. package/python3.4.2/lib/python3.4/test/test_int.py +458 -0
  1934. package/python3.4.2/lib/python3.4/test/test_int_literal.py +147 -0
  1935. package/python3.4.2/lib/python3.4/test/test_io.py +3481 -0
  1936. package/python3.4.2/lib/python3.4/test/test_ioctl.py +91 -0
  1937. package/python3.4.2/lib/python3.4/test/test_ipaddress.py +1693 -0
  1938. package/python3.4.2/lib/python3.4/test/test_isinstance.py +289 -0
  1939. package/python3.4.2/lib/python3.4/test/test_iter.py +927 -0
  1940. package/python3.4.2/lib/python3.4/test/test_iterlen.py +229 -0
  1941. package/python3.4.2/lib/python3.4/test/test_itertools.py +2142 -0
  1942. package/python3.4.2/lib/python3.4/test/test_json/__init__.py +53 -0
  1943. package/python3.4.2/lib/python3.4/test/test_json/__main__.py +4 -0
  1944. package/python3.4.2/lib/python3.4/test/test_json/test_decode.py +99 -0
  1945. package/python3.4.2/lib/python3.4/test/test_json/test_default.py +12 -0
  1946. package/python3.4.2/lib/python3.4/test/test_json/test_dump.py +49 -0
  1947. package/python3.4.2/lib/python3.4/test/test_json/test_encode_basestring_ascii.py +44 -0
  1948. package/python3.4.2/lib/python3.4/test/test_json/test_enum.py +120 -0
  1949. package/python3.4.2/lib/python3.4/test/test_json/test_fail.py +194 -0
  1950. package/python3.4.2/lib/python3.4/test/test_json/test_float.py +33 -0
  1951. package/python3.4.2/lib/python3.4/test/test_json/test_indent.py +67 -0
  1952. package/python3.4.2/lib/python3.4/test/test_json/test_pass1.py +75 -0
  1953. package/python3.4.2/lib/python3.4/test/test_json/test_pass2.py +18 -0
  1954. package/python3.4.2/lib/python3.4/test/test_json/test_pass3.py +24 -0
  1955. package/python3.4.2/lib/python3.4/test/test_json/test_recursion.py +100 -0
  1956. package/python3.4.2/lib/python3.4/test/test_json/test_scanstring.py +141 -0
  1957. package/python3.4.2/lib/python3.4/test/test_json/test_separators.py +44 -0
  1958. package/python3.4.2/lib/python3.4/test/test_json/test_speedups.py +24 -0
  1959. package/python3.4.2/lib/python3.4/test/test_json/test_tool.py +69 -0
  1960. package/python3.4.2/lib/python3.4/test/test_json/test_unicode.py +75 -0
  1961. package/python3.4.2/lib/python3.4/test/test_keyword.py +138 -0
  1962. package/python3.4.2/lib/python3.4/test/test_keywordonlyarg.py +193 -0
  1963. package/python3.4.2/lib/python3.4/test/test_kqueue.py +219 -0
  1964. package/python3.4.2/lib/python3.4/test/test_largefile.py +180 -0
  1965. package/python3.4.2/lib/python3.4/test/test_lib2to3.py +22 -0
  1966. package/python3.4.2/lib/python3.4/test/test_linecache.py +133 -0
  1967. package/python3.4.2/lib/python3.4/test/test_list.py +125 -0
  1968. package/python3.4.2/lib/python3.4/test/test_listcomps.py +148 -0
  1969. package/python3.4.2/lib/python3.4/test/test_locale.py +528 -0
  1970. package/python3.4.2/lib/python3.4/test/test_logging.py +4179 -0
  1971. package/python3.4.2/lib/python3.4/test/test_long.py +1250 -0
  1972. package/python3.4.2/lib/python3.4/test/test_longexp.py +14 -0
  1973. package/python3.4.2/lib/python3.4/test/test_lzma.py +1592 -0
  1974. package/python3.4.2/lib/python3.4/test/test_macpath.py +123 -0
  1975. package/python3.4.2/lib/python3.4/test/test_macurl2path.py +31 -0
  1976. package/python3.4.2/lib/python3.4/test/test_mailbox.py +2287 -0
  1977. package/python3.4.2/lib/python3.4/test/test_mailcap.py +221 -0
  1978. package/python3.4.2/lib/python3.4/test/test_marshal.py +451 -0
  1979. package/python3.4.2/lib/python3.4/test/test_math.py +1107 -0
  1980. package/python3.4.2/lib/python3.4/test/test_memoryio.py +784 -0
  1981. package/python3.4.2/lib/python3.4/test/test_memoryview.py +478 -0
  1982. package/python3.4.2/lib/python3.4/test/test_metaclass.py +265 -0
  1983. package/python3.4.2/lib/python3.4/test/test_mimetypes.py +111 -0
  1984. package/python3.4.2/lib/python3.4/test/test_minidom.py +1545 -0
  1985. package/python3.4.2/lib/python3.4/test/test_mmap.py +774 -0
  1986. package/python3.4.2/lib/python3.4/test/test_module.py +222 -0
  1987. package/python3.4.2/lib/python3.4/test/test_modulefinder.py +324 -0
  1988. package/python3.4.2/lib/python3.4/test/test_msilib.py +46 -0
  1989. package/python3.4.2/lib/python3.4/test/test_multibytecodec.py +263 -0
  1990. package/python3.4.2/lib/python3.4/test/test_multiprocessing_fork.py +7 -0
  1991. package/python3.4.2/lib/python3.4/test/test_multiprocessing_forkserver.py +7 -0
  1992. package/python3.4.2/lib/python3.4/test/test_multiprocessing_main_handling.py +289 -0
  1993. package/python3.4.2/lib/python3.4/test/test_multiprocessing_spawn.py +7 -0
  1994. package/python3.4.2/lib/python3.4/test/test_netrc.py +130 -0
  1995. package/python3.4.2/lib/python3.4/test/test_nis.py +43 -0
  1996. package/python3.4.2/lib/python3.4/test/test_nntplib.py +1429 -0
  1997. package/python3.4.2/lib/python3.4/test/test_normalization.py +104 -0
  1998. package/python3.4.2/lib/python3.4/test/test_ntpath.py +385 -0
  1999. package/python3.4.2/lib/python3.4/test/test_numeric_tower.py +206 -0
  2000. package/python3.4.2/lib/python3.4/test/test_opcodes.py +112 -0
  2001. package/python3.4.2/lib/python3.4/test/test_openpty.py +25 -0
  2002. package/python3.4.2/lib/python3.4/test/test_operator.py +484 -0
  2003. package/python3.4.2/lib/python3.4/test/test_optparse.py +1657 -0
  2004. package/python3.4.2/lib/python3.4/test/test_os.py +2550 -0
  2005. package/python3.4.2/lib/python3.4/test/test_ossaudiodev.py +202 -0
  2006. package/python3.4.2/lib/python3.4/test/test_osx_env.py +34 -0
  2007. package/python3.4.2/lib/python3.4/test/test_parser.py +745 -0
  2008. package/python3.4.2/lib/python3.4/test/test_pathlib.py +1884 -0
  2009. package/python3.4.2/lib/python3.4/test/test_pdb.py +1052 -0
  2010. package/python3.4.2/lib/python3.4/test/test_peepholer.py +339 -0
  2011. package/python3.4.2/lib/python3.4/test/test_pep247.py +70 -0
  2012. package/python3.4.2/lib/python3.4/test/test_pep277.py +201 -0
  2013. package/python3.4.2/lib/python3.4/test/test_pep292.py +247 -0
  2014. package/python3.4.2/lib/python3.4/test/test_pep3120.py +47 -0
  2015. package/python3.4.2/lib/python3.4/test/test_pep3131.py +35 -0
  2016. package/python3.4.2/lib/python3.4/test/test_pep3151.py +209 -0
  2017. package/python3.4.2/lib/python3.4/test/test_pep352.py +184 -0
  2018. package/python3.4.2/lib/python3.4/test/test_pep380.py +1023 -0
  2019. package/python3.4.2/lib/python3.4/test/test_pickle.py +156 -0
  2020. package/python3.4.2/lib/python3.4/test/test_pickletools.py +25 -0
  2021. package/python3.4.2/lib/python3.4/test/test_pipes.py +196 -0
  2022. package/python3.4.2/lib/python3.4/test/test_pkg.py +299 -0
  2023. package/python3.4.2/lib/python3.4/test/test_pkgimport.py +84 -0
  2024. package/python3.4.2/lib/python3.4/test/test_pkgutil.py +410 -0
  2025. package/python3.4.2/lib/python3.4/test/test_platform.py +320 -0
  2026. package/python3.4.2/lib/python3.4/test/test_plistlib.py +526 -0
  2027. package/python3.4.2/lib/python3.4/test/test_poll.py +215 -0
  2028. package/python3.4.2/lib/python3.4/test/test_popen.py +64 -0
  2029. package/python3.4.2/lib/python3.4/test/test_poplib.py +507 -0
  2030. package/python3.4.2/lib/python3.4/test/test_posix.py +1183 -0
  2031. package/python3.4.2/lib/python3.4/test/test_posixpath.py +544 -0
  2032. package/python3.4.2/lib/python3.4/test/test_pow.py +129 -0
  2033. package/python3.4.2/lib/python3.4/test/test_pprint.py +602 -0
  2034. package/python3.4.2/lib/python3.4/test/test_print.py +132 -0
  2035. package/python3.4.2/lib/python3.4/test/test_profile.py +187 -0
  2036. package/python3.4.2/lib/python3.4/test/test_property.py +254 -0
  2037. package/python3.4.2/lib/python3.4/test/test_pstats.py +45 -0
  2038. package/python3.4.2/lib/python3.4/test/test_pty.py +302 -0
  2039. package/python3.4.2/lib/python3.4/test/test_pulldom.py +347 -0
  2040. package/python3.4.2/lib/python3.4/test/test_pwd.py +114 -0
  2041. package/python3.4.2/lib/python3.4/test/test_py_compile.py +103 -0
  2042. package/python3.4.2/lib/python3.4/test/test_pyclbr.py +181 -0
  2043. package/python3.4.2/lib/python3.4/test/test_pydoc.py +1003 -0
  2044. package/python3.4.2/lib/python3.4/test/test_pyexpat.py +708 -0
  2045. package/python3.4.2/lib/python3.4/test/test_queue.py +363 -0
  2046. package/python3.4.2/lib/python3.4/test/test_quopri.py +208 -0
  2047. package/python3.4.2/lib/python3.4/test/test_raise.py +422 -0
  2048. package/python3.4.2/lib/python3.4/test/test_random.py +759 -0
  2049. package/python3.4.2/lib/python3.4/test/test_range.py +652 -0
  2050. package/python3.4.2/lib/python3.4/test/test_re.py +1451 -0
  2051. package/python3.4.2/lib/python3.4/test/test_readline.py +60 -0
  2052. package/python3.4.2/lib/python3.4/test/test_regrtest.py +275 -0
  2053. package/python3.4.2/lib/python3.4/test/test_reprlib.py +383 -0
  2054. package/python3.4.2/lib/python3.4/test/test_resource.py +166 -0
  2055. package/python3.4.2/lib/python3.4/test/test_richcmp.py +333 -0
  2056. package/python3.4.2/lib/python3.4/test/test_rlcompleter.py +73 -0
  2057. package/python3.4.2/lib/python3.4/test/test_robotparser.py +320 -0
  2058. package/python3.4.2/lib/python3.4/test/test_runpy.py +691 -0
  2059. package/python3.4.2/lib/python3.4/test/test_sax.py +1007 -0
  2060. package/python3.4.2/lib/python3.4/test/test_sched.py +199 -0
  2061. package/python3.4.2/lib/python3.4/test/test_scope.py +764 -0
  2062. package/python3.4.2/lib/python3.4/test/test_select.py +83 -0
  2063. package/python3.4.2/lib/python3.4/test/test_selectors.py +453 -0
  2064. package/python3.4.2/lib/python3.4/test/test_set.py +1839 -0
  2065. package/python3.4.2/lib/python3.4/test/test_setcomps.py +151 -0
  2066. package/python3.4.2/lib/python3.4/test/test_shelve.py +224 -0
  2067. package/python3.4.2/lib/python3.4/test/test_shlex.py +202 -0
  2068. package/python3.4.2/lib/python3.4/test/test_shutil.py +1766 -0
  2069. package/python3.4.2/lib/python3.4/test/test_signal.py +940 -0
  2070. package/python3.4.2/lib/python3.4/test/test_site.py +468 -0
  2071. package/python3.4.2/lib/python3.4/test/test_slice.py +247 -0
  2072. package/python3.4.2/lib/python3.4/test/test_smtpd.py +557 -0
  2073. package/python3.4.2/lib/python3.4/test/test_smtplib.py +950 -0
  2074. package/python3.4.2/lib/python3.4/test/test_smtpnet.py +86 -0
  2075. package/python3.4.2/lib/python3.4/test/test_sndhdr.py +23 -0
  2076. package/python3.4.2/lib/python3.4/test/test_socket.py +5163 -0
  2077. package/python3.4.2/lib/python3.4/test/test_socketserver.py +314 -0
  2078. package/python3.4.2/lib/python3.4/test/test_sort.py +285 -0
  2079. package/python3.4.2/lib/python3.4/test/test_source_encoding.py +145 -0
  2080. package/python3.4.2/lib/python3.4/test/test_spwd.py +60 -0
  2081. package/python3.4.2/lib/python3.4/test/test_sqlite.py +24 -0
  2082. package/python3.4.2/lib/python3.4/test/test_ssl.py +2908 -0
  2083. package/python3.4.2/lib/python3.4/test/test_startfile.py +37 -0
  2084. package/python3.4.2/lib/python3.4/test/test_stat.py +202 -0
  2085. package/python3.4.2/lib/python3.4/test/test_statistics.py +1574 -0
  2086. package/python3.4.2/lib/python3.4/test/test_strftime.py +204 -0
  2087. package/python3.4.2/lib/python3.4/test/test_string.py +174 -0
  2088. package/python3.4.2/lib/python3.4/test/test_stringprep.py +96 -0
  2089. package/python3.4.2/lib/python3.4/test/test_strlit.py +206 -0
  2090. package/python3.4.2/lib/python3.4/test/test_strptime.py +577 -0
  2091. package/python3.4.2/lib/python3.4/test/test_strtod.py +436 -0
  2092. package/python3.4.2/lib/python3.4/test/test_struct.py +667 -0
  2093. package/python3.4.2/lib/python3.4/test/test_structmembers.py +147 -0
  2094. package/python3.4.2/lib/python3.4/test/test_structseq.py +130 -0
  2095. package/python3.4.2/lib/python3.4/test/test_subprocess.py +2474 -0
  2096. package/python3.4.2/lib/python3.4/test/test_sunau.py +122 -0
  2097. package/python3.4.2/lib/python3.4/test/test_sundry.py +59 -0
  2098. package/python3.4.2/lib/python3.4/test/test_super.py +181 -0
  2099. package/python3.4.2/lib/python3.4/test/test_support.py +315 -0
  2100. package/python3.4.2/lib/python3.4/test/test_symtable.py +176 -0
  2101. package/python3.4.2/lib/python3.4/test/test_syntax.py +593 -0
  2102. package/python3.4.2/lib/python3.4/test/test_sys.py +1000 -0
  2103. package/python3.4.2/lib/python3.4/test/test_sys_setprofile.py +386 -0
  2104. package/python3.4.2/lib/python3.4/test/test_sys_settrace.py +834 -0
  2105. package/python3.4.2/lib/python3.4/test/test_sysconfig.py +423 -0
  2106. package/python3.4.2/lib/python3.4/test/test_syslog.py +43 -0
  2107. package/python3.4.2/lib/python3.4/test/test_tarfile.py +2180 -0
  2108. package/python3.4.2/lib/python3.4/test/test_tcl.py +642 -0
  2109. package/python3.4.2/lib/python3.4/test/test_telnetlib.py +401 -0
  2110. package/python3.4.2/lib/python3.4/test/test_tempfile.py +1248 -0
  2111. package/python3.4.2/lib/python3.4/test/test_textwrap.py +929 -0
  2112. package/python3.4.2/lib/python3.4/test/test_thread.py +260 -0
  2113. package/python3.4.2/lib/python3.4/test/test_threaded_import.py +244 -0
  2114. package/python3.4.2/lib/python3.4/test/test_threadedtempfile.py +78 -0
  2115. package/python3.4.2/lib/python3.4/test/test_threading.py +1021 -0
  2116. package/python3.4.2/lib/python3.4/test/test_threading_local.py +225 -0
  2117. package/python3.4.2/lib/python3.4/test/test_threadsignals.py +227 -0
  2118. package/python3.4.2/lib/python3.4/test/test_time.py +763 -0
  2119. package/python3.4.2/lib/python3.4/test/test_timeit.py +306 -0
  2120. package/python3.4.2/lib/python3.4/test/test_timeout.py +303 -0
  2121. package/python3.4.2/lib/python3.4/test/test_tk.py +18 -0
  2122. package/python3.4.2/lib/python3.4/test/test_tokenize.py +1233 -0
  2123. package/python3.4.2/lib/python3.4/test/test_trace.py +415 -0
  2124. package/python3.4.2/lib/python3.4/test/test_traceback.py +451 -0
  2125. package/python3.4.2/lib/python3.4/test/test_tracemalloc.py +826 -0
  2126. package/python3.4.2/lib/python3.4/test/test_ttk_guionly.py +37 -0
  2127. package/python3.4.2/lib/python3.4/test/test_ttk_textonly.py +17 -0
  2128. package/python3.4.2/lib/python3.4/test/test_tuple.py +208 -0
  2129. package/python3.4.2/lib/python3.4/test/test_typechecks.py +76 -0
  2130. package/python3.4.2/lib/python3.4/test/test_types.py +1178 -0
  2131. package/python3.4.2/lib/python3.4/test/test_ucn.py +240 -0
  2132. package/python3.4.2/lib/python3.4/test/test_unary.py +58 -0
  2133. package/python3.4.2/lib/python3.4/test/test_unicode.py +2596 -0
  2134. package/python3.4.2/lib/python3.4/test/test_unicode_file.py +144 -0
  2135. package/python3.4.2/lib/python3.4/test/test_unicodedata.py +323 -0
  2136. package/python3.4.2/lib/python3.4/test/test_unittest.py +16 -0
  2137. package/python3.4.2/lib/python3.4/test/test_univnewlines.py +123 -0
  2138. package/python3.4.2/lib/python3.4/test/test_unpack.py +130 -0
  2139. package/python3.4.2/lib/python3.4/test/test_unpack_ex.py +174 -0
  2140. package/python3.4.2/lib/python3.4/test/test_urllib.py +1486 -0
  2141. package/python3.4.2/lib/python3.4/test/test_urllib2.py +1646 -0
  2142. package/python3.4.2/lib/python3.4/test/test_urllib2_localnet.py +690 -0
  2143. package/python3.4.2/lib/python3.4/test/test_urllib2net.py +342 -0
  2144. package/python3.4.2/lib/python3.4/test/test_urllib_response.py +59 -0
  2145. package/python3.4.2/lib/python3.4/test/test_urllibnet.py +212 -0
  2146. package/python3.4.2/lib/python3.4/test/test_urlparse.py +879 -0
  2147. package/python3.4.2/lib/python3.4/test/test_userdict.py +199 -0
  2148. package/python3.4.2/lib/python3.4/test/test_userlist.py +65 -0
  2149. package/python3.4.2/lib/python3.4/test/test_userstring.py +47 -0
  2150. package/python3.4.2/lib/python3.4/test/test_uu.py +239 -0
  2151. package/python3.4.2/lib/python3.4/test/test_uuid.py +498 -0
  2152. package/python3.4.2/lib/python3.4/test/test_venv.py +406 -0
  2153. package/python3.4.2/lib/python3.4/test/test_wait3.py +38 -0
  2154. package/python3.4.2/lib/python3.4/test/test_wait4.py +38 -0
  2155. package/python3.4.2/lib/python3.4/test/test_warnings.py +873 -0
  2156. package/python3.4.2/lib/python3.4/test/test_wave.py +107 -0
  2157. package/python3.4.2/lib/python3.4/test/test_weakref.py +1801 -0
  2158. package/python3.4.2/lib/python3.4/test/test_weakset.py +450 -0
  2159. package/python3.4.2/lib/python3.4/test/test_webbrowser.py +192 -0
  2160. package/python3.4.2/lib/python3.4/test/test_winreg.py +485 -0
  2161. package/python3.4.2/lib/python3.4/test/test_winsound.py +253 -0
  2162. package/python3.4.2/lib/python3.4/test/test_with.py +750 -0
  2163. package/python3.4.2/lib/python3.4/test/test_wsgiref.py +640 -0
  2164. package/python3.4.2/lib/python3.4/test/test_xdrlib.py +58 -0
  2165. package/python3.4.2/lib/python3.4/test/test_xml_dom_minicompat.py +101 -0
  2166. package/python3.4.2/lib/python3.4/test/test_xml_etree.py +2587 -0
  2167. package/python3.4.2/lib/python3.4/test/test_xml_etree_c.py +94 -0
  2168. package/python3.4.2/lib/python3.4/test/test_xmlrpc.py +1114 -0
  2169. package/python3.4.2/lib/python3.4/test/test_xmlrpc_net.py +33 -0
  2170. package/python3.4.2/lib/python3.4/test/test_zipfile.py +1783 -0
  2171. package/python3.4.2/lib/python3.4/test/test_zipfile64.py +118 -0
  2172. package/python3.4.2/lib/python3.4/test/test_zipimport.py +507 -0
  2173. package/python3.4.2/lib/python3.4/test/test_zipimport_support.py +246 -0
  2174. package/python3.4.2/lib/python3.4/test/test_zlib.py +725 -0
  2175. package/python3.4.2/lib/python3.4/test/testcodec.py +48 -0
  2176. package/python3.4.2/lib/python3.4/test/testtar.tar +0 -0
  2177. package/python3.4.2/lib/python3.4/test/tf_inherit_check.py +25 -0
  2178. package/python3.4.2/lib/python3.4/test/threaded_import_hangers.py +45 -0
  2179. package/python3.4.2/lib/python3.4/test/time_hashlib.py +87 -0
  2180. package/python3.4.2/lib/python3.4/test/tokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt +13 -0
  2181. package/python3.4.2/lib/python3.4/test/tokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt +11 -0
  2182. package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt +13 -0
  2183. package/python3.4.2/lib/python3.4/test/tokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt +12 -0
  2184. package/python3.4.2/lib/python3.4/test/tokenize_tests.txt +189 -0
  2185. package/python3.4.2/lib/python3.4/test/tracedmodules/__init__.py +4 -0
  2186. package/python3.4.2/lib/python3.4/test/tracedmodules/testmod.py +9 -0
  2187. package/python3.4.2/lib/python3.4/test/warning_tests.py +9 -0
  2188. package/python3.4.2/lib/python3.4/test/win_console_handler.py +49 -0
  2189. package/python3.4.2/lib/python3.4/test/xmltestdata/simple-ns.xml +7 -0
  2190. package/python3.4.2/lib/python3.4/test/xmltestdata/simple.xml +6 -0
  2191. package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml +115 -0
  2192. package/python3.4.2/lib/python3.4/test/xmltestdata/test.xml.out +115 -0
  2193. package/python3.4.2/lib/python3.4/test/xmltests.py +21 -0
  2194. package/python3.4.2/lib/python3.4/test/zip_cp437_header.zip +0 -0
  2195. package/python3.4.2/lib/python3.4/test/zipdir.zip +0 -0
  2196. package/python3.4.2/lib/python3.4/textwrap.py +470 -0
  2197. package/python3.4.2/lib/python3.4/this.py +28 -0
  2198. package/python3.4.2/lib/python3.4/threading.py +1359 -0
  2199. package/python3.4.2/lib/python3.4/timeit.py +322 -0
  2200. package/python3.4.2/lib/python3.4/tkinter/__init__.py +3898 -0
  2201. package/python3.4.2/lib/python3.4/tkinter/__main__.py +7 -0
  2202. package/python3.4.2/lib/python3.4/tkinter/_fix.py +78 -0
  2203. package/python3.4.2/lib/python3.4/tkinter/colorchooser.py +72 -0
  2204. package/python3.4.2/lib/python3.4/tkinter/commondialog.py +60 -0
  2205. package/python3.4.2/lib/python3.4/tkinter/constants.py +110 -0
  2206. package/python3.4.2/lib/python3.4/tkinter/dialog.py +49 -0
  2207. package/python3.4.2/lib/python3.4/tkinter/dnd.py +321 -0
  2208. package/python3.4.2/lib/python3.4/tkinter/filedialog.py +479 -0
  2209. package/python3.4.2/lib/python3.4/tkinter/font.py +234 -0
  2210. package/python3.4.2/lib/python3.4/tkinter/messagebox.py +134 -0
  2211. package/python3.4.2/lib/python3.4/tkinter/scrolledtext.py +54 -0
  2212. package/python3.4.2/lib/python3.4/tkinter/simpledialog.py +423 -0
  2213. package/python3.4.2/lib/python3.4/tkinter/test/README +14 -0
  2214. package/python3.4.2/lib/python3.4/tkinter/test/__init__.py +0 -0
  2215. package/python3.4.2/lib/python3.4/tkinter/test/runtktests.py +71 -0
  2216. package/python3.4.2/lib/python3.4/tkinter/test/support.py +104 -0
  2217. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/__init__.py +0 -0
  2218. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_font.py +27 -0
  2219. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_geometry_managers.py +900 -0
  2220. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_images.py +327 -0
  2221. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_loadtk.py +46 -0
  2222. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_misc.py +42 -0
  2223. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_text.py +47 -0
  2224. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_variables.py +186 -0
  2225. package/python3.4.2/lib/python3.4/tkinter/test/test_tkinter/test_widgets.py +1193 -0
  2226. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/__init__.py +0 -0
  2227. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_extensions.py +291 -0
  2228. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_functions.py +462 -0
  2229. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_style.py +92 -0
  2230. package/python3.4.2/lib/python3.4/tkinter/test/test_ttk/test_widgets.py +1598 -0
  2231. package/python3.4.2/lib/python3.4/tkinter/test/widget_tests.py +521 -0
  2232. package/python3.4.2/lib/python3.4/tkinter/tix.py +1944 -0
  2233. package/python3.4.2/lib/python3.4/tkinter/ttk.py +1616 -0
  2234. package/python3.4.2/lib/python3.4/token.py +140 -0
  2235. package/python3.4.2/lib/python3.4/tokenize.py +691 -0
  2236. package/python3.4.2/lib/python3.4/trace.py +858 -0
  2237. package/python3.4.2/lib/python3.4/traceback.py +313 -0
  2238. package/python3.4.2/lib/python3.4/tracemalloc.py +487 -0
  2239. package/python3.4.2/lib/python3.4/tty.py +36 -0
  2240. package/python3.4.2/lib/python3.4/turtle.py +4140 -0
  2241. package/python3.4.2/lib/python3.4/turtledemo/__init__.py +14 -0
  2242. package/python3.4.2/lib/python3.4/turtledemo/__main__.py +380 -0
  2243. package/python3.4.2/lib/python3.4/turtledemo/bytedesign.py +162 -0
  2244. package/python3.4.2/lib/python3.4/turtledemo/chaos.py +59 -0
  2245. package/python3.4.2/lib/python3.4/turtledemo/clock.py +132 -0
  2246. package/python3.4.2/lib/python3.4/turtledemo/colormixer.py +58 -0
  2247. package/python3.4.2/lib/python3.4/turtledemo/forest.py +108 -0
  2248. package/python3.4.2/lib/python3.4/turtledemo/fractalcurves.py +138 -0
  2249. package/python3.4.2/lib/python3.4/turtledemo/lindenmayer.py +119 -0
  2250. package/python3.4.2/lib/python3.4/turtledemo/minimal_hanoi.py +79 -0
  2251. package/python3.4.2/lib/python3.4/turtledemo/nim.py +226 -0
  2252. package/python3.4.2/lib/python3.4/turtledemo/paint.py +54 -0
  2253. package/python3.4.2/lib/python3.4/turtledemo/peace.py +61 -0
  2254. package/python3.4.2/lib/python3.4/turtledemo/penrose.py +181 -0
  2255. package/python3.4.2/lib/python3.4/turtledemo/planet_and_moon.py +112 -0
  2256. package/python3.4.2/lib/python3.4/turtledemo/round_dance.py +86 -0
  2257. package/python3.4.2/lib/python3.4/turtledemo/tree.py +63 -0
  2258. package/python3.4.2/lib/python3.4/turtledemo/turtle.cfg +10 -0
  2259. package/python3.4.2/lib/python3.4/turtledemo/two_canvases.py +54 -0
  2260. package/python3.4.2/lib/python3.4/turtledemo/wikipedia.py +65 -0
  2261. package/python3.4.2/lib/python3.4/turtledemo/yinyang.py +49 -0
  2262. package/python3.4.2/lib/python3.4/types.py +158 -0
  2263. package/python3.4.2/lib/python3.4/unittest/__init__.py +69 -0
  2264. package/python3.4.2/lib/python3.4/unittest/__main__.py +18 -0
  2265. package/python3.4.2/lib/python3.4/unittest/case.py +1400 -0
  2266. package/python3.4.2/lib/python3.4/unittest/loader.py +379 -0
  2267. package/python3.4.2/lib/python3.4/unittest/main.py +248 -0
  2268. package/python3.4.2/lib/python3.4/unittest/mock.py +2330 -0
  2269. package/python3.4.2/lib/python3.4/unittest/result.py +212 -0
  2270. package/python3.4.2/lib/python3.4/unittest/runner.py +213 -0
  2271. package/python3.4.2/lib/python3.4/unittest/signals.py +71 -0
  2272. package/python3.4.2/lib/python3.4/unittest/suite.py +324 -0
  2273. package/python3.4.2/lib/python3.4/unittest/test/__init__.py +22 -0
  2274. package/python3.4.2/lib/python3.4/unittest/test/__main__.py +18 -0
  2275. package/python3.4.2/lib/python3.4/unittest/test/_test_warnings.py +73 -0
  2276. package/python3.4.2/lib/python3.4/unittest/test/dummy.py +1 -0
  2277. package/python3.4.2/lib/python3.4/unittest/test/support.py +142 -0
  2278. package/python3.4.2/lib/python3.4/unittest/test/test_assertions.py +398 -0
  2279. package/python3.4.2/lib/python3.4/unittest/test/test_break.py +288 -0
  2280. package/python3.4.2/lib/python3.4/unittest/test/test_case.py +1574 -0
  2281. package/python3.4.2/lib/python3.4/unittest/test/test_discovery.py +527 -0
  2282. package/python3.4.2/lib/python3.4/unittest/test/test_functiontestcase.py +148 -0
  2283. package/python3.4.2/lib/python3.4/unittest/test/test_loader.py +1312 -0
  2284. package/python3.4.2/lib/python3.4/unittest/test/test_program.py +396 -0
  2285. package/python3.4.2/lib/python3.4/unittest/test/test_result.py +660 -0
  2286. package/python3.4.2/lib/python3.4/unittest/test/test_runner.py +346 -0
  2287. package/python3.4.2/lib/python3.4/unittest/test/test_setups.py +506 -0
  2288. package/python3.4.2/lib/python3.4/unittest/test/test_skipping.py +227 -0
  2289. package/python3.4.2/lib/python3.4/unittest/test/test_suite.py +447 -0
  2290. package/python3.4.2/lib/python3.4/unittest/test/testmock/__init__.py +17 -0
  2291. package/python3.4.2/lib/python3.4/unittest/test/testmock/__main__.py +18 -0
  2292. package/python3.4.2/lib/python3.4/unittest/test/testmock/support.py +23 -0
  2293. package/python3.4.2/lib/python3.4/unittest/test/testmock/testcallable.py +151 -0
  2294. package/python3.4.2/lib/python3.4/unittest/test/testmock/testhelpers.py +908 -0
  2295. package/python3.4.2/lib/python3.4/unittest/test/testmock/testmagicmethods.py +428 -0
  2296. package/python3.4.2/lib/python3.4/unittest/test/testmock/testmock.py +1412 -0
  2297. package/python3.4.2/lib/python3.4/unittest/test/testmock/testpatch.py +1801 -0
  2298. package/python3.4.2/lib/python3.4/unittest/test/testmock/testsentinel.py +28 -0
  2299. package/python3.4.2/lib/python3.4/unittest/test/testmock/testwith.py +259 -0
  2300. package/python3.4.2/lib/python3.4/unittest/util.py +177 -0
  2301. package/python3.4.2/lib/python3.4/urllib/__init__.py +0 -0
  2302. package/python3.4.2/lib/python3.4/urllib/error.py +76 -0
  2303. package/python3.4.2/lib/python3.4/urllib/parse.py +973 -0
  2304. package/python3.4.2/lib/python3.4/urllib/request.py +2559 -0
  2305. package/python3.4.2/lib/python3.4/urllib/response.py +76 -0
  2306. package/python3.4.2/lib/python3.4/urllib/robotparser.py +212 -0
  2307. package/python3.4.2/lib/python3.4/uu.py +199 -0
  2308. package/python3.4.2/lib/python3.4/uuid.py +591 -0
  2309. package/python3.4.2/lib/python3.4/venv/__init__.py +449 -0
  2310. package/python3.4.2/lib/python3.4/venv/__main__.py +10 -0
  2311. package/python3.4.2/lib/python3.4/venv/scripts/posix/activate +76 -0
  2312. package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.csh +37 -0
  2313. package/python3.4.2/lib/python3.4/venv/scripts/posix/activate.fish +74 -0
  2314. package/python3.4.2/lib/python3.4/warnings.py +407 -0
  2315. package/python3.4.2/lib/python3.4/wave.py +503 -0
  2316. package/python3.4.2/lib/python3.4/weakref.py +577 -0
  2317. package/python3.4.2/lib/python3.4/webbrowser.py +651 -0
  2318. package/python3.4.2/lib/python3.4/wsgiref/__init__.py +23 -0
  2319. package/python3.4.2/lib/python3.4/wsgiref/handlers.py +547 -0
  2320. package/python3.4.2/lib/python3.4/wsgiref/headers.py +184 -0
  2321. package/python3.4.2/lib/python3.4/wsgiref/simple_server.py +165 -0
  2322. package/python3.4.2/lib/python3.4/wsgiref/util.py +165 -0
  2323. package/python3.4.2/lib/python3.4/wsgiref/validate.py +443 -0
  2324. package/python3.4.2/lib/python3.4/xdrlib.py +224 -0
  2325. package/python3.4.2/lib/python3.4/xml/__init__.py +20 -0
  2326. package/python3.4.2/lib/python3.4/xml/dom/NodeFilter.py +27 -0
  2327. package/python3.4.2/lib/python3.4/xml/dom/__init__.py +140 -0
  2328. package/python3.4.2/lib/python3.4/xml/dom/domreg.py +97 -0
  2329. package/python3.4.2/lib/python3.4/xml/dom/expatbuilder.py +965 -0
  2330. package/python3.4.2/lib/python3.4/xml/dom/minicompat.py +109 -0
  2331. package/python3.4.2/lib/python3.4/xml/dom/minidom.py +1983 -0
  2332. package/python3.4.2/lib/python3.4/xml/dom/pulldom.py +342 -0
  2333. package/python3.4.2/lib/python3.4/xml/dom/xmlbuilder.py +386 -0
  2334. package/python3.4.2/lib/python3.4/xml/etree/ElementInclude.py +143 -0
  2335. package/python3.4.2/lib/python3.4/xml/etree/ElementPath.py +308 -0
  2336. package/python3.4.2/lib/python3.4/xml/etree/ElementTree.py +1667 -0
  2337. package/python3.4.2/lib/python3.4/xml/etree/__init__.py +33 -0
  2338. package/python3.4.2/lib/python3.4/xml/etree/cElementTree.py +3 -0
  2339. package/python3.4.2/lib/python3.4/xml/parsers/__init__.py +8 -0
  2340. package/python3.4.2/lib/python3.4/xml/parsers/expat.py +8 -0
  2341. package/python3.4.2/lib/python3.4/xml/sax/__init__.py +105 -0
  2342. package/python3.4.2/lib/python3.4/xml/sax/_exceptions.py +131 -0
  2343. package/python3.4.2/lib/python3.4/xml/sax/expatreader.py +417 -0
  2344. package/python3.4.2/lib/python3.4/xml/sax/handler.py +342 -0
  2345. package/python3.4.2/lib/python3.4/xml/sax/saxutils.py +365 -0
  2346. package/python3.4.2/lib/python3.4/xml/sax/xmlreader.py +378 -0
  2347. package/python3.4.2/lib/python3.4/xmlrpc/__init__.py +1 -0
  2348. package/python3.4.2/lib/python3.4/xmlrpc/client.py +1479 -0
  2349. package/python3.4.2/lib/python3.4/xmlrpc/server.py +986 -0
  2350. package/python3.4.2/lib/python3.4/zipfile.py +1788 -0
  2351. package/python3.4.2/share/man/man1/python3.1 +460 -0
  2352. package/python3.4.2/share/man/man1/python3.4.1 +460 -0
@@ -0,0 +1,2921 @@
1
+ """
2
+ Test script for doctest.
3
+ """
4
+
5
+ from test import support
6
+ import doctest
7
+ import os
8
+ import sys
9
+
10
+
11
+ # NOTE: There are some additional tests relating to interaction with
12
+ # zipimport in the test_zipimport_support test module.
13
+
14
+ ######################################################################
15
+ ## Sample Objects (used by test cases)
16
+ ######################################################################
17
+
18
+ def sample_func(v):
19
+ """
20
+ Blah blah
21
+
22
+ >>> print(sample_func(22))
23
+ 44
24
+
25
+ Yee ha!
26
+ """
27
+ return v+v
28
+
29
+ class SampleClass:
30
+ """
31
+ >>> print(1)
32
+ 1
33
+
34
+ >>> # comments get ignored. so are empty PS1 and PS2 prompts:
35
+ >>>
36
+ ...
37
+
38
+ Multiline example:
39
+ >>> sc = SampleClass(3)
40
+ >>> for i in range(10):
41
+ ... sc = sc.double()
42
+ ... print(' ', sc.get(), sep='', end='')
43
+ 6 12 24 48 96 192 384 768 1536 3072
44
+ """
45
+ def __init__(self, val):
46
+ """
47
+ >>> print(SampleClass(12).get())
48
+ 12
49
+ """
50
+ self.val = val
51
+
52
+ def double(self):
53
+ """
54
+ >>> print(SampleClass(12).double().get())
55
+ 24
56
+ """
57
+ return SampleClass(self.val + self.val)
58
+
59
+ def get(self):
60
+ """
61
+ >>> print(SampleClass(-5).get())
62
+ -5
63
+ """
64
+ return self.val
65
+
66
+ def a_staticmethod(v):
67
+ """
68
+ >>> print(SampleClass.a_staticmethod(10))
69
+ 11
70
+ """
71
+ return v+1
72
+ a_staticmethod = staticmethod(a_staticmethod)
73
+
74
+ def a_classmethod(cls, v):
75
+ """
76
+ >>> print(SampleClass.a_classmethod(10))
77
+ 12
78
+ >>> print(SampleClass(0).a_classmethod(10))
79
+ 12
80
+ """
81
+ return v+2
82
+ a_classmethod = classmethod(a_classmethod)
83
+
84
+ a_property = property(get, doc="""
85
+ >>> print(SampleClass(22).a_property)
86
+ 22
87
+ """)
88
+
89
+ class NestedClass:
90
+ """
91
+ >>> x = SampleClass.NestedClass(5)
92
+ >>> y = x.square()
93
+ >>> print(y.get())
94
+ 25
95
+ """
96
+ def __init__(self, val=0):
97
+ """
98
+ >>> print(SampleClass.NestedClass().get())
99
+ 0
100
+ """
101
+ self.val = val
102
+ def square(self):
103
+ return SampleClass.NestedClass(self.val*self.val)
104
+ def get(self):
105
+ return self.val
106
+
107
+ class SampleNewStyleClass(object):
108
+ r"""
109
+ >>> print('1\n2\n3')
110
+ 1
111
+ 2
112
+ 3
113
+ """
114
+ def __init__(self, val):
115
+ """
116
+ >>> print(SampleNewStyleClass(12).get())
117
+ 12
118
+ """
119
+ self.val = val
120
+
121
+ def double(self):
122
+ """
123
+ >>> print(SampleNewStyleClass(12).double().get())
124
+ 24
125
+ """
126
+ return SampleNewStyleClass(self.val + self.val)
127
+
128
+ def get(self):
129
+ """
130
+ >>> print(SampleNewStyleClass(-5).get())
131
+ -5
132
+ """
133
+ return self.val
134
+
135
+ ######################################################################
136
+ ## Fake stdin (for testing interactive debugging)
137
+ ######################################################################
138
+
139
+ class _FakeInput:
140
+ """
141
+ A fake input stream for pdb's interactive debugger. Whenever a
142
+ line is read, print it (to simulate the user typing it), and then
143
+ return it. The set of lines to return is specified in the
144
+ constructor; they should not have trailing newlines.
145
+ """
146
+ def __init__(self, lines):
147
+ self.lines = lines
148
+
149
+ def readline(self):
150
+ line = self.lines.pop(0)
151
+ print(line)
152
+ return line+'\n'
153
+
154
+ ######################################################################
155
+ ## Test Cases
156
+ ######################################################################
157
+
158
+ def test_Example(): r"""
159
+ Unit tests for the `Example` class.
160
+
161
+ Example is a simple container class that holds:
162
+ - `source`: A source string.
163
+ - `want`: An expected output string.
164
+ - `exc_msg`: An expected exception message string (or None if no
165
+ exception is expected).
166
+ - `lineno`: A line number (within the docstring).
167
+ - `indent`: The example's indentation in the input string.
168
+ - `options`: An option dictionary, mapping option flags to True or
169
+ False.
170
+
171
+ These attributes are set by the constructor. `source` and `want` are
172
+ required; the other attributes all have default values:
173
+
174
+ >>> example = doctest.Example('print(1)', '1\n')
175
+ >>> (example.source, example.want, example.exc_msg,
176
+ ... example.lineno, example.indent, example.options)
177
+ ('print(1)\n', '1\n', None, 0, 0, {})
178
+
179
+ The first three attributes (`source`, `want`, and `exc_msg`) may be
180
+ specified positionally; the remaining arguments should be specified as
181
+ keyword arguments:
182
+
183
+ >>> exc_msg = 'IndexError: pop from an empty list'
184
+ >>> example = doctest.Example('[].pop()', '', exc_msg,
185
+ ... lineno=5, indent=4,
186
+ ... options={doctest.ELLIPSIS: True})
187
+ >>> (example.source, example.want, example.exc_msg,
188
+ ... example.lineno, example.indent, example.options)
189
+ ('[].pop()\n', '', 'IndexError: pop from an empty list\n', 5, 4, {8: True})
190
+
191
+ The constructor normalizes the `source` string to end in a newline:
192
+
193
+ Source spans a single line: no terminating newline.
194
+ >>> e = doctest.Example('print(1)', '1\n')
195
+ >>> e.source, e.want
196
+ ('print(1)\n', '1\n')
197
+
198
+ >>> e = doctest.Example('print(1)\n', '1\n')
199
+ >>> e.source, e.want
200
+ ('print(1)\n', '1\n')
201
+
202
+ Source spans multiple lines: require terminating newline.
203
+ >>> e = doctest.Example('print(1);\nprint(2)\n', '1\n2\n')
204
+ >>> e.source, e.want
205
+ ('print(1);\nprint(2)\n', '1\n2\n')
206
+
207
+ >>> e = doctest.Example('print(1);\nprint(2)', '1\n2\n')
208
+ >>> e.source, e.want
209
+ ('print(1);\nprint(2)\n', '1\n2\n')
210
+
211
+ Empty source string (which should never appear in real examples)
212
+ >>> e = doctest.Example('', '')
213
+ >>> e.source, e.want
214
+ ('\n', '')
215
+
216
+ The constructor normalizes the `want` string to end in a newline,
217
+ unless it's the empty string:
218
+
219
+ >>> e = doctest.Example('print(1)', '1\n')
220
+ >>> e.source, e.want
221
+ ('print(1)\n', '1\n')
222
+
223
+ >>> e = doctest.Example('print(1)', '1')
224
+ >>> e.source, e.want
225
+ ('print(1)\n', '1\n')
226
+
227
+ >>> e = doctest.Example('print', '')
228
+ >>> e.source, e.want
229
+ ('print\n', '')
230
+
231
+ The constructor normalizes the `exc_msg` string to end in a newline,
232
+ unless it's `None`:
233
+
234
+ Message spans one line
235
+ >>> exc_msg = 'IndexError: pop from an empty list'
236
+ >>> e = doctest.Example('[].pop()', '', exc_msg)
237
+ >>> e.exc_msg
238
+ 'IndexError: pop from an empty list\n'
239
+
240
+ >>> exc_msg = 'IndexError: pop from an empty list\n'
241
+ >>> e = doctest.Example('[].pop()', '', exc_msg)
242
+ >>> e.exc_msg
243
+ 'IndexError: pop from an empty list\n'
244
+
245
+ Message spans multiple lines
246
+ >>> exc_msg = 'ValueError: 1\n 2'
247
+ >>> e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg)
248
+ >>> e.exc_msg
249
+ 'ValueError: 1\n 2\n'
250
+
251
+ >>> exc_msg = 'ValueError: 1\n 2\n'
252
+ >>> e = doctest.Example('raise ValueError("1\n 2")', '', exc_msg)
253
+ >>> e.exc_msg
254
+ 'ValueError: 1\n 2\n'
255
+
256
+ Empty (but non-None) exception message (which should never appear
257
+ in real examples)
258
+ >>> exc_msg = ''
259
+ >>> e = doctest.Example('raise X()', '', exc_msg)
260
+ >>> e.exc_msg
261
+ '\n'
262
+
263
+ Compare `Example`:
264
+ >>> example = doctest.Example('print 1', '1\n')
265
+ >>> same_example = doctest.Example('print 1', '1\n')
266
+ >>> other_example = doctest.Example('print 42', '42\n')
267
+ >>> example == same_example
268
+ True
269
+ >>> example != same_example
270
+ False
271
+ >>> hash(example) == hash(same_example)
272
+ True
273
+ >>> example == other_example
274
+ False
275
+ >>> example != other_example
276
+ True
277
+ """
278
+
279
+ def test_DocTest(): r"""
280
+ Unit tests for the `DocTest` class.
281
+
282
+ DocTest is a collection of examples, extracted from a docstring, along
283
+ with information about where the docstring comes from (a name,
284
+ filename, and line number). The docstring is parsed by the `DocTest`
285
+ constructor:
286
+
287
+ >>> docstring = '''
288
+ ... >>> print(12)
289
+ ... 12
290
+ ...
291
+ ... Non-example text.
292
+ ...
293
+ ... >>> print('another\example')
294
+ ... another
295
+ ... example
296
+ ... '''
297
+ >>> globs = {} # globals to run the test in.
298
+ >>> parser = doctest.DocTestParser()
299
+ >>> test = parser.get_doctest(docstring, globs, 'some_test',
300
+ ... 'some_file', 20)
301
+ >>> print(test)
302
+ <DocTest some_test from some_file:20 (2 examples)>
303
+ >>> len(test.examples)
304
+ 2
305
+ >>> e1, e2 = test.examples
306
+ >>> (e1.source, e1.want, e1.lineno)
307
+ ('print(12)\n', '12\n', 1)
308
+ >>> (e2.source, e2.want, e2.lineno)
309
+ ("print('another\\example')\n", 'another\nexample\n', 6)
310
+
311
+ Source information (name, filename, and line number) is available as
312
+ attributes on the doctest object:
313
+
314
+ >>> (test.name, test.filename, test.lineno)
315
+ ('some_test', 'some_file', 20)
316
+
317
+ The line number of an example within its containing file is found by
318
+ adding the line number of the example and the line number of its
319
+ containing test:
320
+
321
+ >>> test.lineno + e1.lineno
322
+ 21
323
+ >>> test.lineno + e2.lineno
324
+ 26
325
+
326
+ If the docstring contains inconsistant leading whitespace in the
327
+ expected output of an example, then `DocTest` will raise a ValueError:
328
+
329
+ >>> docstring = r'''
330
+ ... >>> print('bad\nindentation')
331
+ ... bad
332
+ ... indentation
333
+ ... '''
334
+ >>> parser.get_doctest(docstring, globs, 'some_test', 'filename', 0)
335
+ Traceback (most recent call last):
336
+ ValueError: line 4 of the docstring for some_test has inconsistent leading whitespace: 'indentation'
337
+
338
+ If the docstring contains inconsistent leading whitespace on
339
+ continuation lines, then `DocTest` will raise a ValueError:
340
+
341
+ >>> docstring = r'''
342
+ ... >>> print(('bad indentation',
343
+ ... ... 2))
344
+ ... ('bad', 'indentation')
345
+ ... '''
346
+ >>> parser.get_doctest(docstring, globs, 'some_test', 'filename', 0)
347
+ Traceback (most recent call last):
348
+ ValueError: line 2 of the docstring for some_test has inconsistent leading whitespace: '... 2))'
349
+
350
+ If there's no blank space after a PS1 prompt ('>>>'), then `DocTest`
351
+ will raise a ValueError:
352
+
353
+ >>> docstring = '>>>print(1)\n1'
354
+ >>> parser.get_doctest(docstring, globs, 'some_test', 'filename', 0)
355
+ Traceback (most recent call last):
356
+ ValueError: line 1 of the docstring for some_test lacks blank after >>>: '>>>print(1)'
357
+
358
+ If there's no blank space after a PS2 prompt ('...'), then `DocTest`
359
+ will raise a ValueError:
360
+
361
+ >>> docstring = '>>> if 1:\n...print(1)\n1'
362
+ >>> parser.get_doctest(docstring, globs, 'some_test', 'filename', 0)
363
+ Traceback (most recent call last):
364
+ ValueError: line 2 of the docstring for some_test lacks blank after ...: '...print(1)'
365
+
366
+ Compare `DocTest`:
367
+
368
+ >>> docstring = '''
369
+ ... >>> print 12
370
+ ... 12
371
+ ... '''
372
+ >>> test = parser.get_doctest(docstring, globs, 'some_test',
373
+ ... 'some_test', 20)
374
+ >>> same_test = parser.get_doctest(docstring, globs, 'some_test',
375
+ ... 'some_test', 20)
376
+ >>> test == same_test
377
+ True
378
+ >>> test != same_test
379
+ False
380
+ >>> hash(test) == hash(same_test)
381
+ True
382
+ >>> docstring = '''
383
+ ... >>> print 42
384
+ ... 42
385
+ ... '''
386
+ >>> other_test = parser.get_doctest(docstring, globs, 'other_test',
387
+ ... 'other_file', 10)
388
+ >>> test == other_test
389
+ False
390
+ >>> test != other_test
391
+ True
392
+
393
+ Compare `DocTestCase`:
394
+
395
+ >>> DocTestCase = doctest.DocTestCase
396
+ >>> test_case = DocTestCase(test)
397
+ >>> same_test_case = DocTestCase(same_test)
398
+ >>> other_test_case = DocTestCase(other_test)
399
+ >>> test_case == same_test_case
400
+ True
401
+ >>> test_case != same_test_case
402
+ False
403
+ >>> hash(test_case) == hash(same_test_case)
404
+ True
405
+ >>> test == other_test_case
406
+ False
407
+ >>> test != other_test_case
408
+ True
409
+
410
+ """
411
+
412
+ class test_DocTestFinder:
413
+ def basics(): r"""
414
+ Unit tests for the `DocTestFinder` class.
415
+
416
+ DocTestFinder is used to extract DocTests from an object's docstring
417
+ and the docstrings of its contained objects. It can be used with
418
+ modules, functions, classes, methods, staticmethods, classmethods, and
419
+ properties.
420
+
421
+ Finding Tests in Functions
422
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
423
+ For a function whose docstring contains examples, DocTestFinder.find()
424
+ will return a single test (for that function's docstring):
425
+
426
+ >>> finder = doctest.DocTestFinder()
427
+
428
+ We'll simulate a __file__ attr that ends in pyc:
429
+
430
+ >>> import test.test_doctest
431
+ >>> old = test.test_doctest.__file__
432
+ >>> test.test_doctest.__file__ = 'test_doctest.pyc'
433
+
434
+ >>> tests = finder.find(sample_func)
435
+
436
+ >>> print(tests) # doctest: +ELLIPSIS
437
+ [<DocTest sample_func from ...:18 (1 example)>]
438
+
439
+ The exact name depends on how test_doctest was invoked, so allow for
440
+ leading path components.
441
+
442
+ >>> tests[0].filename # doctest: +ELLIPSIS
443
+ '...test_doctest.py'
444
+
445
+ >>> test.test_doctest.__file__ = old
446
+
447
+
448
+ >>> e = tests[0].examples[0]
449
+ >>> (e.source, e.want, e.lineno)
450
+ ('print(sample_func(22))\n', '44\n', 3)
451
+
452
+ By default, tests are created for objects with no docstring:
453
+
454
+ >>> def no_docstring(v):
455
+ ... pass
456
+ >>> finder.find(no_docstring)
457
+ []
458
+
459
+ However, the optional argument `exclude_empty` to the DocTestFinder
460
+ constructor can be used to exclude tests for objects with empty
461
+ docstrings:
462
+
463
+ >>> def no_docstring(v):
464
+ ... pass
465
+ >>> excl_empty_finder = doctest.DocTestFinder(exclude_empty=True)
466
+ >>> excl_empty_finder.find(no_docstring)
467
+ []
468
+
469
+ If the function has a docstring with no examples, then a test with no
470
+ examples is returned. (This lets `DocTestRunner` collect statistics
471
+ about which functions have no tests -- but is that useful? And should
472
+ an empty test also be created when there's no docstring?)
473
+
474
+ >>> def no_examples(v):
475
+ ... ''' no doctest examples '''
476
+ >>> finder.find(no_examples) # doctest: +ELLIPSIS
477
+ [<DocTest no_examples from ...:1 (no examples)>]
478
+
479
+ Finding Tests in Classes
480
+ ~~~~~~~~~~~~~~~~~~~~~~~~
481
+ For a class, DocTestFinder will create a test for the class's
482
+ docstring, and will recursively explore its contents, including
483
+ methods, classmethods, staticmethods, properties, and nested classes.
484
+
485
+ >>> finder = doctest.DocTestFinder()
486
+ >>> tests = finder.find(SampleClass)
487
+ >>> for t in tests:
488
+ ... print('%2s %s' % (len(t.examples), t.name))
489
+ 3 SampleClass
490
+ 3 SampleClass.NestedClass
491
+ 1 SampleClass.NestedClass.__init__
492
+ 1 SampleClass.__init__
493
+ 2 SampleClass.a_classmethod
494
+ 1 SampleClass.a_property
495
+ 1 SampleClass.a_staticmethod
496
+ 1 SampleClass.double
497
+ 1 SampleClass.get
498
+
499
+ New-style classes are also supported:
500
+
501
+ >>> tests = finder.find(SampleNewStyleClass)
502
+ >>> for t in tests:
503
+ ... print('%2s %s' % (len(t.examples), t.name))
504
+ 1 SampleNewStyleClass
505
+ 1 SampleNewStyleClass.__init__
506
+ 1 SampleNewStyleClass.double
507
+ 1 SampleNewStyleClass.get
508
+
509
+ Finding Tests in Modules
510
+ ~~~~~~~~~~~~~~~~~~~~~~~~
511
+ For a module, DocTestFinder will create a test for the class's
512
+ docstring, and will recursively explore its contents, including
513
+ functions, classes, and the `__test__` dictionary, if it exists:
514
+
515
+ >>> # A module
516
+ >>> import types
517
+ >>> m = types.ModuleType('some_module')
518
+ >>> def triple(val):
519
+ ... '''
520
+ ... >>> print(triple(11))
521
+ ... 33
522
+ ... '''
523
+ ... return val*3
524
+ >>> m.__dict__.update({
525
+ ... 'sample_func': sample_func,
526
+ ... 'SampleClass': SampleClass,
527
+ ... '__doc__': '''
528
+ ... Module docstring.
529
+ ... >>> print('module')
530
+ ... module
531
+ ... ''',
532
+ ... '__test__': {
533
+ ... 'd': '>>> print(6)\n6\n>>> print(7)\n7\n',
534
+ ... 'c': triple}})
535
+
536
+ >>> finder = doctest.DocTestFinder()
537
+ >>> # Use module=test.test_doctest, to prevent doctest from
538
+ >>> # ignoring the objects since they weren't defined in m.
539
+ >>> import test.test_doctest
540
+ >>> tests = finder.find(m, module=test.test_doctest)
541
+ >>> for t in tests:
542
+ ... print('%2s %s' % (len(t.examples), t.name))
543
+ 1 some_module
544
+ 3 some_module.SampleClass
545
+ 3 some_module.SampleClass.NestedClass
546
+ 1 some_module.SampleClass.NestedClass.__init__
547
+ 1 some_module.SampleClass.__init__
548
+ 2 some_module.SampleClass.a_classmethod
549
+ 1 some_module.SampleClass.a_property
550
+ 1 some_module.SampleClass.a_staticmethod
551
+ 1 some_module.SampleClass.double
552
+ 1 some_module.SampleClass.get
553
+ 1 some_module.__test__.c
554
+ 2 some_module.__test__.d
555
+ 1 some_module.sample_func
556
+
557
+ Duplicate Removal
558
+ ~~~~~~~~~~~~~~~~~
559
+ If a single object is listed twice (under different names), then tests
560
+ will only be generated for it once:
561
+
562
+ >>> from test import doctest_aliases
563
+ >>> assert doctest_aliases.TwoNames.f
564
+ >>> assert doctest_aliases.TwoNames.g
565
+ >>> tests = excl_empty_finder.find(doctest_aliases)
566
+ >>> print(len(tests))
567
+ 2
568
+ >>> print(tests[0].name)
569
+ test.doctest_aliases.TwoNames
570
+
571
+ TwoNames.f and TwoNames.g are bound to the same object.
572
+ We can't guess which will be found in doctest's traversal of
573
+ TwoNames.__dict__ first, so we have to allow for either.
574
+
575
+ >>> tests[1].name.split('.')[-1] in ['f', 'g']
576
+ True
577
+
578
+ Empty Tests
579
+ ~~~~~~~~~~~
580
+ By default, an object with no doctests doesn't create any tests:
581
+
582
+ >>> tests = doctest.DocTestFinder().find(SampleClass)
583
+ >>> for t in tests:
584
+ ... print('%2s %s' % (len(t.examples), t.name))
585
+ 3 SampleClass
586
+ 3 SampleClass.NestedClass
587
+ 1 SampleClass.NestedClass.__init__
588
+ 1 SampleClass.__init__
589
+ 2 SampleClass.a_classmethod
590
+ 1 SampleClass.a_property
591
+ 1 SampleClass.a_staticmethod
592
+ 1 SampleClass.double
593
+ 1 SampleClass.get
594
+
595
+ By default, that excluded objects with no doctests. exclude_empty=False
596
+ tells it to include (empty) tests for objects with no doctests. This feature
597
+ is really to support backward compatibility in what doctest.master.summarize()
598
+ displays.
599
+
600
+ >>> tests = doctest.DocTestFinder(exclude_empty=False).find(SampleClass)
601
+ >>> for t in tests:
602
+ ... print('%2s %s' % (len(t.examples), t.name))
603
+ 3 SampleClass
604
+ 3 SampleClass.NestedClass
605
+ 1 SampleClass.NestedClass.__init__
606
+ 0 SampleClass.NestedClass.get
607
+ 0 SampleClass.NestedClass.square
608
+ 1 SampleClass.__init__
609
+ 2 SampleClass.a_classmethod
610
+ 1 SampleClass.a_property
611
+ 1 SampleClass.a_staticmethod
612
+ 1 SampleClass.double
613
+ 1 SampleClass.get
614
+
615
+ Turning off Recursion
616
+ ~~~~~~~~~~~~~~~~~~~~~
617
+ DocTestFinder can be told not to look for tests in contained objects
618
+ using the `recurse` flag:
619
+
620
+ >>> tests = doctest.DocTestFinder(recurse=False).find(SampleClass)
621
+ >>> for t in tests:
622
+ ... print('%2s %s' % (len(t.examples), t.name))
623
+ 3 SampleClass
624
+
625
+ Line numbers
626
+ ~~~~~~~~~~~~
627
+ DocTestFinder finds the line number of each example:
628
+
629
+ >>> def f(x):
630
+ ... '''
631
+ ... >>> x = 12
632
+ ...
633
+ ... some text
634
+ ...
635
+ ... >>> # examples are not created for comments & bare prompts.
636
+ ... >>>
637
+ ... ...
638
+ ...
639
+ ... >>> for x in range(10):
640
+ ... ... print(x, end=' ')
641
+ ... 0 1 2 3 4 5 6 7 8 9
642
+ ... >>> x//2
643
+ ... 6
644
+ ... '''
645
+ >>> test = doctest.DocTestFinder().find(f)[0]
646
+ >>> [e.lineno for e in test.examples]
647
+ [1, 9, 12]
648
+ """
649
+
650
+ if int.__doc__: # simple check for --without-doc-strings, skip if lacking
651
+ def non_Python_modules(): r"""
652
+
653
+ Finding Doctests in Modules Not Written in Python
654
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
655
+ DocTestFinder can also find doctests in most modules not written in Python.
656
+ We'll use builtins as an example, since it almost certainly isn't written in
657
+ plain ol' Python and is guaranteed to be available.
658
+
659
+ >>> import builtins
660
+ >>> tests = doctest.DocTestFinder().find(builtins)
661
+ >>> 790 < len(tests) < 800 # approximate number of objects with docstrings
662
+ True
663
+ >>> real_tests = [t for t in tests if len(t.examples) > 0]
664
+ >>> len(real_tests) # objects that actually have doctests
665
+ 8
666
+ >>> for t in real_tests:
667
+ ... print('{} {}'.format(len(t.examples), t.name))
668
+ ...
669
+ 1 builtins.bin
670
+ 3 builtins.float.as_integer_ratio
671
+ 2 builtins.float.fromhex
672
+ 2 builtins.float.hex
673
+ 1 builtins.hex
674
+ 1 builtins.int
675
+ 2 builtins.int.bit_length
676
+ 1 builtins.oct
677
+
678
+ Note here that 'bin', 'oct', and 'hex' are functions; 'float.as_integer_ratio',
679
+ 'float.hex', and 'int.bit_length' are methods; 'float.fromhex' is a classmethod,
680
+ and 'int' is a type.
681
+ """
682
+
683
+ def test_DocTestParser(): r"""
684
+ Unit tests for the `DocTestParser` class.
685
+
686
+ DocTestParser is used to parse docstrings containing doctest examples.
687
+
688
+ The `parse` method divides a docstring into examples and intervening
689
+ text:
690
+
691
+ >>> s = '''
692
+ ... >>> x, y = 2, 3 # no output expected
693
+ ... >>> if 1:
694
+ ... ... print(x)
695
+ ... ... print(y)
696
+ ... 2
697
+ ... 3
698
+ ...
699
+ ... Some text.
700
+ ... >>> x+y
701
+ ... 5
702
+ ... '''
703
+ >>> parser = doctest.DocTestParser()
704
+ >>> for piece in parser.parse(s):
705
+ ... if isinstance(piece, doctest.Example):
706
+ ... print('Example:', (piece.source, piece.want, piece.lineno))
707
+ ... else:
708
+ ... print(' Text:', repr(piece))
709
+ Text: '\n'
710
+ Example: ('x, y = 2, 3 # no output expected\n', '', 1)
711
+ Text: ''
712
+ Example: ('if 1:\n print(x)\n print(y)\n', '2\n3\n', 2)
713
+ Text: '\nSome text.\n'
714
+ Example: ('x+y\n', '5\n', 9)
715
+ Text: ''
716
+
717
+ The `get_examples` method returns just the examples:
718
+
719
+ >>> for piece in parser.get_examples(s):
720
+ ... print((piece.source, piece.want, piece.lineno))
721
+ ('x, y = 2, 3 # no output expected\n', '', 1)
722
+ ('if 1:\n print(x)\n print(y)\n', '2\n3\n', 2)
723
+ ('x+y\n', '5\n', 9)
724
+
725
+ The `get_doctest` method creates a Test from the examples, along with the
726
+ given arguments:
727
+
728
+ >>> test = parser.get_doctest(s, {}, 'name', 'filename', lineno=5)
729
+ >>> (test.name, test.filename, test.lineno)
730
+ ('name', 'filename', 5)
731
+ >>> for piece in test.examples:
732
+ ... print((piece.source, piece.want, piece.lineno))
733
+ ('x, y = 2, 3 # no output expected\n', '', 1)
734
+ ('if 1:\n print(x)\n print(y)\n', '2\n3\n', 2)
735
+ ('x+y\n', '5\n', 9)
736
+ """
737
+
738
+ class test_DocTestRunner:
739
+ def basics(): r"""
740
+ Unit tests for the `DocTestRunner` class.
741
+
742
+ DocTestRunner is used to run DocTest test cases, and to accumulate
743
+ statistics. Here's a simple DocTest case we can use:
744
+
745
+ >>> def f(x):
746
+ ... '''
747
+ ... >>> x = 12
748
+ ... >>> print(x)
749
+ ... 12
750
+ ... >>> x//2
751
+ ... 6
752
+ ... '''
753
+ >>> test = doctest.DocTestFinder().find(f)[0]
754
+
755
+ The main DocTestRunner interface is the `run` method, which runs a
756
+ given DocTest case in a given namespace (globs). It returns a tuple
757
+ `(f,t)`, where `f` is the number of failed tests and `t` is the number
758
+ of tried tests.
759
+
760
+ >>> doctest.DocTestRunner(verbose=False).run(test)
761
+ TestResults(failed=0, attempted=3)
762
+
763
+ If any example produces incorrect output, then the test runner reports
764
+ the failure and proceeds to the next example:
765
+
766
+ >>> def f(x):
767
+ ... '''
768
+ ... >>> x = 12
769
+ ... >>> print(x)
770
+ ... 14
771
+ ... >>> x//2
772
+ ... 6
773
+ ... '''
774
+ >>> test = doctest.DocTestFinder().find(f)[0]
775
+ >>> doctest.DocTestRunner(verbose=True).run(test)
776
+ ... # doctest: +ELLIPSIS
777
+ Trying:
778
+ x = 12
779
+ Expecting nothing
780
+ ok
781
+ Trying:
782
+ print(x)
783
+ Expecting:
784
+ 14
785
+ **********************************************************************
786
+ File ..., line 4, in f
787
+ Failed example:
788
+ print(x)
789
+ Expected:
790
+ 14
791
+ Got:
792
+ 12
793
+ Trying:
794
+ x//2
795
+ Expecting:
796
+ 6
797
+ ok
798
+ TestResults(failed=1, attempted=3)
799
+ """
800
+ def verbose_flag(): r"""
801
+ The `verbose` flag makes the test runner generate more detailed
802
+ output:
803
+
804
+ >>> def f(x):
805
+ ... '''
806
+ ... >>> x = 12
807
+ ... >>> print(x)
808
+ ... 12
809
+ ... >>> x//2
810
+ ... 6
811
+ ... '''
812
+ >>> test = doctest.DocTestFinder().find(f)[0]
813
+
814
+ >>> doctest.DocTestRunner(verbose=True).run(test)
815
+ Trying:
816
+ x = 12
817
+ Expecting nothing
818
+ ok
819
+ Trying:
820
+ print(x)
821
+ Expecting:
822
+ 12
823
+ ok
824
+ Trying:
825
+ x//2
826
+ Expecting:
827
+ 6
828
+ ok
829
+ TestResults(failed=0, attempted=3)
830
+
831
+ If the `verbose` flag is unspecified, then the output will be verbose
832
+ iff `-v` appears in sys.argv:
833
+
834
+ >>> # Save the real sys.argv list.
835
+ >>> old_argv = sys.argv
836
+
837
+ >>> # If -v does not appear in sys.argv, then output isn't verbose.
838
+ >>> sys.argv = ['test']
839
+ >>> doctest.DocTestRunner().run(test)
840
+ TestResults(failed=0, attempted=3)
841
+
842
+ >>> # If -v does appear in sys.argv, then output is verbose.
843
+ >>> sys.argv = ['test', '-v']
844
+ >>> doctest.DocTestRunner().run(test)
845
+ Trying:
846
+ x = 12
847
+ Expecting nothing
848
+ ok
849
+ Trying:
850
+ print(x)
851
+ Expecting:
852
+ 12
853
+ ok
854
+ Trying:
855
+ x//2
856
+ Expecting:
857
+ 6
858
+ ok
859
+ TestResults(failed=0, attempted=3)
860
+
861
+ >>> # Restore sys.argv
862
+ >>> sys.argv = old_argv
863
+
864
+ In the remaining examples, the test runner's verbosity will be
865
+ explicitly set, to ensure that the test behavior is consistent.
866
+ """
867
+ def exceptions(): r"""
868
+ Tests of `DocTestRunner`'s exception handling.
869
+
870
+ An expected exception is specified with a traceback message. The
871
+ lines between the first line and the type/value may be omitted or
872
+ replaced with any other string:
873
+
874
+ >>> def f(x):
875
+ ... '''
876
+ ... >>> x = 12
877
+ ... >>> print(x//0)
878
+ ... Traceback (most recent call last):
879
+ ... ZeroDivisionError: integer division or modulo by zero
880
+ ... '''
881
+ >>> test = doctest.DocTestFinder().find(f)[0]
882
+ >>> doctest.DocTestRunner(verbose=False).run(test)
883
+ TestResults(failed=0, attempted=2)
884
+
885
+ An example may not generate output before it raises an exception; if
886
+ it does, then the traceback message will not be recognized as
887
+ signaling an expected exception, so the example will be reported as an
888
+ unexpected exception:
889
+
890
+ >>> def f(x):
891
+ ... '''
892
+ ... >>> x = 12
893
+ ... >>> print('pre-exception output', x//0)
894
+ ... pre-exception output
895
+ ... Traceback (most recent call last):
896
+ ... ZeroDivisionError: integer division or modulo by zero
897
+ ... '''
898
+ >>> test = doctest.DocTestFinder().find(f)[0]
899
+ >>> doctest.DocTestRunner(verbose=False).run(test)
900
+ ... # doctest: +ELLIPSIS
901
+ **********************************************************************
902
+ File ..., line 4, in f
903
+ Failed example:
904
+ print('pre-exception output', x//0)
905
+ Exception raised:
906
+ ...
907
+ ZeroDivisionError: integer division or modulo by zero
908
+ TestResults(failed=1, attempted=2)
909
+
910
+ Exception messages may contain newlines:
911
+
912
+ >>> def f(x):
913
+ ... r'''
914
+ ... >>> raise ValueError('multi\nline\nmessage')
915
+ ... Traceback (most recent call last):
916
+ ... ValueError: multi
917
+ ... line
918
+ ... message
919
+ ... '''
920
+ >>> test = doctest.DocTestFinder().find(f)[0]
921
+ >>> doctest.DocTestRunner(verbose=False).run(test)
922
+ TestResults(failed=0, attempted=1)
923
+
924
+ If an exception is expected, but an exception with the wrong type or
925
+ message is raised, then it is reported as a failure:
926
+
927
+ >>> def f(x):
928
+ ... r'''
929
+ ... >>> raise ValueError('message')
930
+ ... Traceback (most recent call last):
931
+ ... ValueError: wrong message
932
+ ... '''
933
+ >>> test = doctest.DocTestFinder().find(f)[0]
934
+ >>> doctest.DocTestRunner(verbose=False).run(test)
935
+ ... # doctest: +ELLIPSIS
936
+ **********************************************************************
937
+ File ..., line 3, in f
938
+ Failed example:
939
+ raise ValueError('message')
940
+ Expected:
941
+ Traceback (most recent call last):
942
+ ValueError: wrong message
943
+ Got:
944
+ Traceback (most recent call last):
945
+ ...
946
+ ValueError: message
947
+ TestResults(failed=1, attempted=1)
948
+
949
+ However, IGNORE_EXCEPTION_DETAIL can be used to allow a mismatch in the
950
+ detail:
951
+
952
+ >>> def f(x):
953
+ ... r'''
954
+ ... >>> raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL
955
+ ... Traceback (most recent call last):
956
+ ... ValueError: wrong message
957
+ ... '''
958
+ >>> test = doctest.DocTestFinder().find(f)[0]
959
+ >>> doctest.DocTestRunner(verbose=False).run(test)
960
+ TestResults(failed=0, attempted=1)
961
+
962
+ IGNORE_EXCEPTION_DETAIL also ignores difference in exception formatting
963
+ between Python versions. For example, in Python 2.x, the module path of
964
+ the exception is not in the output, but this will fail under Python 3:
965
+
966
+ >>> def f(x):
967
+ ... r'''
968
+ ... >>> from http.client import HTTPException
969
+ ... >>> raise HTTPException('message')
970
+ ... Traceback (most recent call last):
971
+ ... HTTPException: message
972
+ ... '''
973
+ >>> test = doctest.DocTestFinder().find(f)[0]
974
+ >>> doctest.DocTestRunner(verbose=False).run(test)
975
+ ... # doctest: +ELLIPSIS
976
+ **********************************************************************
977
+ File ..., line 4, in f
978
+ Failed example:
979
+ raise HTTPException('message')
980
+ Expected:
981
+ Traceback (most recent call last):
982
+ HTTPException: message
983
+ Got:
984
+ Traceback (most recent call last):
985
+ ...
986
+ http.client.HTTPException: message
987
+ TestResults(failed=1, attempted=2)
988
+
989
+ But in Python 3 the module path is included, and therefore a test must look
990
+ like the following test to succeed in Python 3. But that test will fail under
991
+ Python 2.
992
+
993
+ >>> def f(x):
994
+ ... r'''
995
+ ... >>> from http.client import HTTPException
996
+ ... >>> raise HTTPException('message')
997
+ ... Traceback (most recent call last):
998
+ ... http.client.HTTPException: message
999
+ ... '''
1000
+ >>> test = doctest.DocTestFinder().find(f)[0]
1001
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1002
+ TestResults(failed=0, attempted=2)
1003
+
1004
+ However, with IGNORE_EXCEPTION_DETAIL, the module name of the exception
1005
+ (or its unexpected absence) will be ignored:
1006
+
1007
+ >>> def f(x):
1008
+ ... r'''
1009
+ ... >>> from http.client import HTTPException
1010
+ ... >>> raise HTTPException('message') #doctest: +IGNORE_EXCEPTION_DETAIL
1011
+ ... Traceback (most recent call last):
1012
+ ... HTTPException: message
1013
+ ... '''
1014
+ >>> test = doctest.DocTestFinder().find(f)[0]
1015
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1016
+ TestResults(failed=0, attempted=2)
1017
+
1018
+ The module path will be completely ignored, so two different module paths will
1019
+ still pass if IGNORE_EXCEPTION_DETAIL is given. This is intentional, so it can
1020
+ be used when exceptions have changed module.
1021
+
1022
+ >>> def f(x):
1023
+ ... r'''
1024
+ ... >>> from http.client import HTTPException
1025
+ ... >>> raise HTTPException('message') #doctest: +IGNORE_EXCEPTION_DETAIL
1026
+ ... Traceback (most recent call last):
1027
+ ... foo.bar.HTTPException: message
1028
+ ... '''
1029
+ >>> test = doctest.DocTestFinder().find(f)[0]
1030
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1031
+ TestResults(failed=0, attempted=2)
1032
+
1033
+ But IGNORE_EXCEPTION_DETAIL does not allow a mismatch in the exception type:
1034
+
1035
+ >>> def f(x):
1036
+ ... r'''
1037
+ ... >>> raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL
1038
+ ... Traceback (most recent call last):
1039
+ ... TypeError: wrong type
1040
+ ... '''
1041
+ >>> test = doctest.DocTestFinder().find(f)[0]
1042
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1043
+ ... # doctest: +ELLIPSIS
1044
+ **********************************************************************
1045
+ File ..., line 3, in f
1046
+ Failed example:
1047
+ raise ValueError('message') #doctest: +IGNORE_EXCEPTION_DETAIL
1048
+ Expected:
1049
+ Traceback (most recent call last):
1050
+ TypeError: wrong type
1051
+ Got:
1052
+ Traceback (most recent call last):
1053
+ ...
1054
+ ValueError: message
1055
+ TestResults(failed=1, attempted=1)
1056
+
1057
+ If the exception does not have a message, you can still use
1058
+ IGNORE_EXCEPTION_DETAIL to normalize the modules between Python 2 and 3:
1059
+
1060
+ >>> def f(x):
1061
+ ... r'''
1062
+ ... >>> from http.client import HTTPException
1063
+ ... >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL
1064
+ ... Traceback (most recent call last):
1065
+ ... foo.bar.HTTPException
1066
+ ... '''
1067
+ >>> test = doctest.DocTestFinder().find(f)[0]
1068
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1069
+ TestResults(failed=0, attempted=2)
1070
+
1071
+ Note that a trailing colon doesn't matter either:
1072
+
1073
+ >>> def f(x):
1074
+ ... r'''
1075
+ ... >>> from http.client import HTTPException
1076
+ ... >>> raise HTTPException() #doctest: +IGNORE_EXCEPTION_DETAIL
1077
+ ... Traceback (most recent call last):
1078
+ ... foo.bar.HTTPException:
1079
+ ... '''
1080
+ >>> test = doctest.DocTestFinder().find(f)[0]
1081
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1082
+ TestResults(failed=0, attempted=2)
1083
+
1084
+ If an exception is raised but not expected, then it is reported as an
1085
+ unexpected exception:
1086
+
1087
+ >>> def f(x):
1088
+ ... r'''
1089
+ ... >>> 1//0
1090
+ ... 0
1091
+ ... '''
1092
+ >>> test = doctest.DocTestFinder().find(f)[0]
1093
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1094
+ ... # doctest: +ELLIPSIS
1095
+ **********************************************************************
1096
+ File ..., line 3, in f
1097
+ Failed example:
1098
+ 1//0
1099
+ Exception raised:
1100
+ Traceback (most recent call last):
1101
+ ...
1102
+ ZeroDivisionError: integer division or modulo by zero
1103
+ TestResults(failed=1, attempted=1)
1104
+ """
1105
+ def displayhook(): r"""
1106
+ Test that changing sys.displayhook doesn't matter for doctest.
1107
+
1108
+ >>> import sys
1109
+ >>> orig_displayhook = sys.displayhook
1110
+ >>> def my_displayhook(x):
1111
+ ... print('hi!')
1112
+ >>> sys.displayhook = my_displayhook
1113
+ >>> def f():
1114
+ ... '''
1115
+ ... >>> 3
1116
+ ... 3
1117
+ ... '''
1118
+ >>> test = doctest.DocTestFinder().find(f)[0]
1119
+ >>> r = doctest.DocTestRunner(verbose=False).run(test)
1120
+ >>> post_displayhook = sys.displayhook
1121
+
1122
+ We need to restore sys.displayhook now, so that we'll be able to test
1123
+ results.
1124
+
1125
+ >>> sys.displayhook = orig_displayhook
1126
+
1127
+ Ok, now we can check that everything is ok.
1128
+
1129
+ >>> r
1130
+ TestResults(failed=0, attempted=1)
1131
+ >>> post_displayhook is my_displayhook
1132
+ True
1133
+ """
1134
+ def optionflags(): r"""
1135
+ Tests of `DocTestRunner`'s option flag handling.
1136
+
1137
+ Several option flags can be used to customize the behavior of the test
1138
+ runner. These are defined as module constants in doctest, and passed
1139
+ to the DocTestRunner constructor (multiple constants should be ORed
1140
+ together).
1141
+
1142
+ The DONT_ACCEPT_TRUE_FOR_1 flag disables matches between True/False
1143
+ and 1/0:
1144
+
1145
+ >>> def f(x):
1146
+ ... '>>> True\n1\n'
1147
+
1148
+ >>> # Without the flag:
1149
+ >>> test = doctest.DocTestFinder().find(f)[0]
1150
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1151
+ TestResults(failed=0, attempted=1)
1152
+
1153
+ >>> # With the flag:
1154
+ >>> test = doctest.DocTestFinder().find(f)[0]
1155
+ >>> flags = doctest.DONT_ACCEPT_TRUE_FOR_1
1156
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1157
+ ... # doctest: +ELLIPSIS
1158
+ **********************************************************************
1159
+ File ..., line 2, in f
1160
+ Failed example:
1161
+ True
1162
+ Expected:
1163
+ 1
1164
+ Got:
1165
+ True
1166
+ TestResults(failed=1, attempted=1)
1167
+
1168
+ The DONT_ACCEPT_BLANKLINE flag disables the match between blank lines
1169
+ and the '<BLANKLINE>' marker:
1170
+
1171
+ >>> def f(x):
1172
+ ... '>>> print("a\\n\\nb")\na\n<BLANKLINE>\nb\n'
1173
+
1174
+ >>> # Without the flag:
1175
+ >>> test = doctest.DocTestFinder().find(f)[0]
1176
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1177
+ TestResults(failed=0, attempted=1)
1178
+
1179
+ >>> # With the flag:
1180
+ >>> test = doctest.DocTestFinder().find(f)[0]
1181
+ >>> flags = doctest.DONT_ACCEPT_BLANKLINE
1182
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1183
+ ... # doctest: +ELLIPSIS
1184
+ **********************************************************************
1185
+ File ..., line 2, in f
1186
+ Failed example:
1187
+ print("a\n\nb")
1188
+ Expected:
1189
+ a
1190
+ <BLANKLINE>
1191
+ b
1192
+ Got:
1193
+ a
1194
+ <BLANKLINE>
1195
+ b
1196
+ TestResults(failed=1, attempted=1)
1197
+
1198
+ The NORMALIZE_WHITESPACE flag causes all sequences of whitespace to be
1199
+ treated as equal:
1200
+
1201
+ >>> def f(x):
1202
+ ... '>>> print(1, 2, 3)\n 1 2\n 3'
1203
+
1204
+ >>> # Without the flag:
1205
+ >>> test = doctest.DocTestFinder().find(f)[0]
1206
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1207
+ ... # doctest: +ELLIPSIS
1208
+ **********************************************************************
1209
+ File ..., line 2, in f
1210
+ Failed example:
1211
+ print(1, 2, 3)
1212
+ Expected:
1213
+ 1 2
1214
+ 3
1215
+ Got:
1216
+ 1 2 3
1217
+ TestResults(failed=1, attempted=1)
1218
+
1219
+ >>> # With the flag:
1220
+ >>> test = doctest.DocTestFinder().find(f)[0]
1221
+ >>> flags = doctest.NORMALIZE_WHITESPACE
1222
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1223
+ TestResults(failed=0, attempted=1)
1224
+
1225
+ An example from the docs:
1226
+ >>> print(list(range(20))) #doctest: +NORMALIZE_WHITESPACE
1227
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9,
1228
+ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
1229
+
1230
+ The ELLIPSIS flag causes ellipsis marker ("...") in the expected
1231
+ output to match any substring in the actual output:
1232
+
1233
+ >>> def f(x):
1234
+ ... '>>> print(list(range(15)))\n[0, 1, 2, ..., 14]\n'
1235
+
1236
+ >>> # Without the flag:
1237
+ >>> test = doctest.DocTestFinder().find(f)[0]
1238
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1239
+ ... # doctest: +ELLIPSIS
1240
+ **********************************************************************
1241
+ File ..., line 2, in f
1242
+ Failed example:
1243
+ print(list(range(15)))
1244
+ Expected:
1245
+ [0, 1, 2, ..., 14]
1246
+ Got:
1247
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
1248
+ TestResults(failed=1, attempted=1)
1249
+
1250
+ >>> # With the flag:
1251
+ >>> test = doctest.DocTestFinder().find(f)[0]
1252
+ >>> flags = doctest.ELLIPSIS
1253
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1254
+ TestResults(failed=0, attempted=1)
1255
+
1256
+ ... also matches nothing:
1257
+
1258
+ >>> if 1:
1259
+ ... for i in range(100):
1260
+ ... print(i**2, end=' ') #doctest: +ELLIPSIS
1261
+ ... print('!')
1262
+ 0 1...4...9 16 ... 36 49 64 ... 9801 !
1263
+
1264
+ ... can be surprising; e.g., this test passes:
1265
+
1266
+ >>> if 1: #doctest: +ELLIPSIS
1267
+ ... for i in range(20):
1268
+ ... print(i, end=' ')
1269
+ ... print(20)
1270
+ 0 1 2 ...1...2...0
1271
+
1272
+ Examples from the docs:
1273
+
1274
+ >>> print(list(range(20))) # doctest:+ELLIPSIS
1275
+ [0, 1, ..., 18, 19]
1276
+
1277
+ >>> print(list(range(20))) # doctest: +ELLIPSIS
1278
+ ... # doctest: +NORMALIZE_WHITESPACE
1279
+ [0, 1, ..., 18, 19]
1280
+
1281
+ The SKIP flag causes an example to be skipped entirely. I.e., the
1282
+ example is not run. It can be useful in contexts where doctest
1283
+ examples serve as both documentation and test cases, and an example
1284
+ should be included for documentation purposes, but should not be
1285
+ checked (e.g., because its output is random, or depends on resources
1286
+ which would be unavailable.) The SKIP flag can also be used for
1287
+ 'commenting out' broken examples.
1288
+
1289
+ >>> import unavailable_resource # doctest: +SKIP
1290
+ >>> unavailable_resource.do_something() # doctest: +SKIP
1291
+ >>> unavailable_resource.blow_up() # doctest: +SKIP
1292
+ Traceback (most recent call last):
1293
+ ...
1294
+ UncheckedBlowUpError: Nobody checks me.
1295
+
1296
+ >>> import random
1297
+ >>> print(random.random()) # doctest: +SKIP
1298
+ 0.721216923889
1299
+
1300
+ The REPORT_UDIFF flag causes failures that involve multi-line expected
1301
+ and actual outputs to be displayed using a unified diff:
1302
+
1303
+ >>> def f(x):
1304
+ ... r'''
1305
+ ... >>> print('\n'.join('abcdefg'))
1306
+ ... a
1307
+ ... B
1308
+ ... c
1309
+ ... d
1310
+ ... f
1311
+ ... g
1312
+ ... h
1313
+ ... '''
1314
+
1315
+ >>> # Without the flag:
1316
+ >>> test = doctest.DocTestFinder().find(f)[0]
1317
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1318
+ ... # doctest: +ELLIPSIS
1319
+ **********************************************************************
1320
+ File ..., line 3, in f
1321
+ Failed example:
1322
+ print('\n'.join('abcdefg'))
1323
+ Expected:
1324
+ a
1325
+ B
1326
+ c
1327
+ d
1328
+ f
1329
+ g
1330
+ h
1331
+ Got:
1332
+ a
1333
+ b
1334
+ c
1335
+ d
1336
+ e
1337
+ f
1338
+ g
1339
+ TestResults(failed=1, attempted=1)
1340
+
1341
+ >>> # With the flag:
1342
+ >>> test = doctest.DocTestFinder().find(f)[0]
1343
+ >>> flags = doctest.REPORT_UDIFF
1344
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1345
+ ... # doctest: +ELLIPSIS
1346
+ **********************************************************************
1347
+ File ..., line 3, in f
1348
+ Failed example:
1349
+ print('\n'.join('abcdefg'))
1350
+ Differences (unified diff with -expected +actual):
1351
+ @@ -1,7 +1,7 @@
1352
+ a
1353
+ -B
1354
+ +b
1355
+ c
1356
+ d
1357
+ +e
1358
+ f
1359
+ g
1360
+ -h
1361
+ TestResults(failed=1, attempted=1)
1362
+
1363
+ The REPORT_CDIFF flag causes failures that involve multi-line expected
1364
+ and actual outputs to be displayed using a context diff:
1365
+
1366
+ >>> # Reuse f() from the REPORT_UDIFF example, above.
1367
+ >>> test = doctest.DocTestFinder().find(f)[0]
1368
+ >>> flags = doctest.REPORT_CDIFF
1369
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1370
+ ... # doctest: +ELLIPSIS
1371
+ **********************************************************************
1372
+ File ..., line 3, in f
1373
+ Failed example:
1374
+ print('\n'.join('abcdefg'))
1375
+ Differences (context diff with expected followed by actual):
1376
+ ***************
1377
+ *** 1,7 ****
1378
+ a
1379
+ ! B
1380
+ c
1381
+ d
1382
+ f
1383
+ g
1384
+ - h
1385
+ --- 1,7 ----
1386
+ a
1387
+ ! b
1388
+ c
1389
+ d
1390
+ + e
1391
+ f
1392
+ g
1393
+ TestResults(failed=1, attempted=1)
1394
+
1395
+
1396
+ The REPORT_NDIFF flag causes failures to use the difflib.Differ algorithm
1397
+ used by the popular ndiff.py utility. This does intraline difference
1398
+ marking, as well as interline differences.
1399
+
1400
+ >>> def f(x):
1401
+ ... r'''
1402
+ ... >>> print("a b c d e f g h i j k l m")
1403
+ ... a b c d e f g h i j k 1 m
1404
+ ... '''
1405
+ >>> test = doctest.DocTestFinder().find(f)[0]
1406
+ >>> flags = doctest.REPORT_NDIFF
1407
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1408
+ ... # doctest: +ELLIPSIS
1409
+ **********************************************************************
1410
+ File ..., line 3, in f
1411
+ Failed example:
1412
+ print("a b c d e f g h i j k l m")
1413
+ Differences (ndiff with -expected +actual):
1414
+ - a b c d e f g h i j k 1 m
1415
+ ? ^
1416
+ + a b c d e f g h i j k l m
1417
+ ? + ++ ^
1418
+ TestResults(failed=1, attempted=1)
1419
+
1420
+ The REPORT_ONLY_FIRST_FAILURE suppresses result output after the first
1421
+ failing example:
1422
+
1423
+ >>> def f(x):
1424
+ ... r'''
1425
+ ... >>> print(1) # first success
1426
+ ... 1
1427
+ ... >>> print(2) # first failure
1428
+ ... 200
1429
+ ... >>> print(3) # second failure
1430
+ ... 300
1431
+ ... >>> print(4) # second success
1432
+ ... 4
1433
+ ... >>> print(5) # third failure
1434
+ ... 500
1435
+ ... '''
1436
+ >>> test = doctest.DocTestFinder().find(f)[0]
1437
+ >>> flags = doctest.REPORT_ONLY_FIRST_FAILURE
1438
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1439
+ ... # doctest: +ELLIPSIS
1440
+ **********************************************************************
1441
+ File ..., line 5, in f
1442
+ Failed example:
1443
+ print(2) # first failure
1444
+ Expected:
1445
+ 200
1446
+ Got:
1447
+ 2
1448
+ TestResults(failed=3, attempted=5)
1449
+
1450
+ However, output from `report_start` is not suppressed:
1451
+
1452
+ >>> doctest.DocTestRunner(verbose=True, optionflags=flags).run(test)
1453
+ ... # doctest: +ELLIPSIS
1454
+ Trying:
1455
+ print(1) # first success
1456
+ Expecting:
1457
+ 1
1458
+ ok
1459
+ Trying:
1460
+ print(2) # first failure
1461
+ Expecting:
1462
+ 200
1463
+ **********************************************************************
1464
+ File ..., line 5, in f
1465
+ Failed example:
1466
+ print(2) # first failure
1467
+ Expected:
1468
+ 200
1469
+ Got:
1470
+ 2
1471
+ TestResults(failed=3, attempted=5)
1472
+
1473
+ The FAIL_FAST flag causes the runner to exit after the first failing example,
1474
+ so subsequent examples are not even attempted:
1475
+
1476
+ >>> flags = doctest.FAIL_FAST
1477
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1478
+ ... # doctest: +ELLIPSIS
1479
+ **********************************************************************
1480
+ File ..., line 5, in f
1481
+ Failed example:
1482
+ print(2) # first failure
1483
+ Expected:
1484
+ 200
1485
+ Got:
1486
+ 2
1487
+ TestResults(failed=1, attempted=2)
1488
+
1489
+ Specifying both FAIL_FAST and REPORT_ONLY_FIRST_FAILURE is equivalent to
1490
+ FAIL_FAST only:
1491
+
1492
+ >>> flags = doctest.FAIL_FAST | doctest.REPORT_ONLY_FIRST_FAILURE
1493
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1494
+ ... # doctest: +ELLIPSIS
1495
+ **********************************************************************
1496
+ File ..., line 5, in f
1497
+ Failed example:
1498
+ print(2) # first failure
1499
+ Expected:
1500
+ 200
1501
+ Got:
1502
+ 2
1503
+ TestResults(failed=1, attempted=2)
1504
+
1505
+ For the purposes of both REPORT_ONLY_FIRST_FAILURE and FAIL_FAST, unexpected
1506
+ exceptions count as failures:
1507
+
1508
+ >>> def f(x):
1509
+ ... r'''
1510
+ ... >>> print(1) # first success
1511
+ ... 1
1512
+ ... >>> raise ValueError(2) # first failure
1513
+ ... 200
1514
+ ... >>> print(3) # second failure
1515
+ ... 300
1516
+ ... >>> print(4) # second success
1517
+ ... 4
1518
+ ... >>> print(5) # third failure
1519
+ ... 500
1520
+ ... '''
1521
+ >>> test = doctest.DocTestFinder().find(f)[0]
1522
+ >>> flags = doctest.REPORT_ONLY_FIRST_FAILURE
1523
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1524
+ ... # doctest: +ELLIPSIS
1525
+ **********************************************************************
1526
+ File ..., line 5, in f
1527
+ Failed example:
1528
+ raise ValueError(2) # first failure
1529
+ Exception raised:
1530
+ ...
1531
+ ValueError: 2
1532
+ TestResults(failed=3, attempted=5)
1533
+ >>> flags = doctest.FAIL_FAST
1534
+ >>> doctest.DocTestRunner(verbose=False, optionflags=flags).run(test)
1535
+ ... # doctest: +ELLIPSIS
1536
+ **********************************************************************
1537
+ File ..., line 5, in f
1538
+ Failed example:
1539
+ raise ValueError(2) # first failure
1540
+ Exception raised:
1541
+ ...
1542
+ ValueError: 2
1543
+ TestResults(failed=1, attempted=2)
1544
+
1545
+ New option flags can also be registered, via register_optionflag(). Here
1546
+ we reach into doctest's internals a bit.
1547
+
1548
+ >>> unlikely = "UNLIKELY_OPTION_NAME"
1549
+ >>> unlikely in doctest.OPTIONFLAGS_BY_NAME
1550
+ False
1551
+ >>> new_flag_value = doctest.register_optionflag(unlikely)
1552
+ >>> unlikely in doctest.OPTIONFLAGS_BY_NAME
1553
+ True
1554
+
1555
+ Before 2.4.4/2.5, registering a name more than once erroneously created
1556
+ more than one flag value. Here we verify that's fixed:
1557
+
1558
+ >>> redundant_flag_value = doctest.register_optionflag(unlikely)
1559
+ >>> redundant_flag_value == new_flag_value
1560
+ True
1561
+
1562
+ Clean up.
1563
+ >>> del doctest.OPTIONFLAGS_BY_NAME[unlikely]
1564
+
1565
+ """
1566
+
1567
+ def option_directives(): r"""
1568
+ Tests of `DocTestRunner`'s option directive mechanism.
1569
+
1570
+ Option directives can be used to turn option flags on or off for a
1571
+ single example. To turn an option on for an example, follow that
1572
+ example with a comment of the form ``# doctest: +OPTION``:
1573
+
1574
+ >>> def f(x): r'''
1575
+ ... >>> print(list(range(10))) # should fail: no ellipsis
1576
+ ... [0, 1, ..., 9]
1577
+ ...
1578
+ ... >>> print(list(range(10))) # doctest: +ELLIPSIS
1579
+ ... [0, 1, ..., 9]
1580
+ ... '''
1581
+ >>> test = doctest.DocTestFinder().find(f)[0]
1582
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1583
+ ... # doctest: +ELLIPSIS
1584
+ **********************************************************************
1585
+ File ..., line 2, in f
1586
+ Failed example:
1587
+ print(list(range(10))) # should fail: no ellipsis
1588
+ Expected:
1589
+ [0, 1, ..., 9]
1590
+ Got:
1591
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1592
+ TestResults(failed=1, attempted=2)
1593
+
1594
+ To turn an option off for an example, follow that example with a
1595
+ comment of the form ``# doctest: -OPTION``:
1596
+
1597
+ >>> def f(x): r'''
1598
+ ... >>> print(list(range(10)))
1599
+ ... [0, 1, ..., 9]
1600
+ ...
1601
+ ... >>> # should fail: no ellipsis
1602
+ ... >>> print(list(range(10))) # doctest: -ELLIPSIS
1603
+ ... [0, 1, ..., 9]
1604
+ ... '''
1605
+ >>> test = doctest.DocTestFinder().find(f)[0]
1606
+ >>> doctest.DocTestRunner(verbose=False,
1607
+ ... optionflags=doctest.ELLIPSIS).run(test)
1608
+ ... # doctest: +ELLIPSIS
1609
+ **********************************************************************
1610
+ File ..., line 6, in f
1611
+ Failed example:
1612
+ print(list(range(10))) # doctest: -ELLIPSIS
1613
+ Expected:
1614
+ [0, 1, ..., 9]
1615
+ Got:
1616
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1617
+ TestResults(failed=1, attempted=2)
1618
+
1619
+ Option directives affect only the example that they appear with; they
1620
+ do not change the options for surrounding examples:
1621
+
1622
+ >>> def f(x): r'''
1623
+ ... >>> print(list(range(10))) # Should fail: no ellipsis
1624
+ ... [0, 1, ..., 9]
1625
+ ...
1626
+ ... >>> print(list(range(10))) # doctest: +ELLIPSIS
1627
+ ... [0, 1, ..., 9]
1628
+ ...
1629
+ ... >>> print(list(range(10))) # Should fail: no ellipsis
1630
+ ... [0, 1, ..., 9]
1631
+ ... '''
1632
+ >>> test = doctest.DocTestFinder().find(f)[0]
1633
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1634
+ ... # doctest: +ELLIPSIS
1635
+ **********************************************************************
1636
+ File ..., line 2, in f
1637
+ Failed example:
1638
+ print(list(range(10))) # Should fail: no ellipsis
1639
+ Expected:
1640
+ [0, 1, ..., 9]
1641
+ Got:
1642
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1643
+ **********************************************************************
1644
+ File ..., line 8, in f
1645
+ Failed example:
1646
+ print(list(range(10))) # Should fail: no ellipsis
1647
+ Expected:
1648
+ [0, 1, ..., 9]
1649
+ Got:
1650
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1651
+ TestResults(failed=2, attempted=3)
1652
+
1653
+ Multiple options may be modified by a single option directive. They
1654
+ may be separated by whitespace, commas, or both:
1655
+
1656
+ >>> def f(x): r'''
1657
+ ... >>> print(list(range(10))) # Should fail
1658
+ ... [0, 1, ..., 9]
1659
+ ... >>> print(list(range(10))) # Should succeed
1660
+ ... ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
1661
+ ... [0, 1, ..., 9]
1662
+ ... '''
1663
+ >>> test = doctest.DocTestFinder().find(f)[0]
1664
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1665
+ ... # doctest: +ELLIPSIS
1666
+ **********************************************************************
1667
+ File ..., line 2, in f
1668
+ Failed example:
1669
+ print(list(range(10))) # Should fail
1670
+ Expected:
1671
+ [0, 1, ..., 9]
1672
+ Got:
1673
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1674
+ TestResults(failed=1, attempted=2)
1675
+
1676
+ >>> def f(x): r'''
1677
+ ... >>> print(list(range(10))) # Should fail
1678
+ ... [0, 1, ..., 9]
1679
+ ... >>> print(list(range(10))) # Should succeed
1680
+ ... ... # doctest: +ELLIPSIS,+NORMALIZE_WHITESPACE
1681
+ ... [0, 1, ..., 9]
1682
+ ... '''
1683
+ >>> test = doctest.DocTestFinder().find(f)[0]
1684
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1685
+ ... # doctest: +ELLIPSIS
1686
+ **********************************************************************
1687
+ File ..., line 2, in f
1688
+ Failed example:
1689
+ print(list(range(10))) # Should fail
1690
+ Expected:
1691
+ [0, 1, ..., 9]
1692
+ Got:
1693
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1694
+ TestResults(failed=1, attempted=2)
1695
+
1696
+ >>> def f(x): r'''
1697
+ ... >>> print(list(range(10))) # Should fail
1698
+ ... [0, 1, ..., 9]
1699
+ ... >>> print(list(range(10))) # Should succeed
1700
+ ... ... # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE
1701
+ ... [0, 1, ..., 9]
1702
+ ... '''
1703
+ >>> test = doctest.DocTestFinder().find(f)[0]
1704
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1705
+ ... # doctest: +ELLIPSIS
1706
+ **********************************************************************
1707
+ File ..., line 2, in f
1708
+ Failed example:
1709
+ print(list(range(10))) # Should fail
1710
+ Expected:
1711
+ [0, 1, ..., 9]
1712
+ Got:
1713
+ [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
1714
+ TestResults(failed=1, attempted=2)
1715
+
1716
+ The option directive may be put on the line following the source, as
1717
+ long as a continuation prompt is used:
1718
+
1719
+ >>> def f(x): r'''
1720
+ ... >>> print(list(range(10)))
1721
+ ... ... # doctest: +ELLIPSIS
1722
+ ... [0, 1, ..., 9]
1723
+ ... '''
1724
+ >>> test = doctest.DocTestFinder().find(f)[0]
1725
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1726
+ TestResults(failed=0, attempted=1)
1727
+
1728
+ For examples with multi-line source, the option directive may appear
1729
+ at the end of any line:
1730
+
1731
+ >>> def f(x): r'''
1732
+ ... >>> for x in range(10): # doctest: +ELLIPSIS
1733
+ ... ... print(' ', x, end='', sep='')
1734
+ ... 0 1 2 ... 9
1735
+ ...
1736
+ ... >>> for x in range(10):
1737
+ ... ... print(' ', x, end='', sep='') # doctest: +ELLIPSIS
1738
+ ... 0 1 2 ... 9
1739
+ ... '''
1740
+ >>> test = doctest.DocTestFinder().find(f)[0]
1741
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1742
+ TestResults(failed=0, attempted=2)
1743
+
1744
+ If more than one line of an example with multi-line source has an
1745
+ option directive, then they are combined:
1746
+
1747
+ >>> def f(x): r'''
1748
+ ... Should fail (option directive not on the last line):
1749
+ ... >>> for x in range(10): # doctest: +ELLIPSIS
1750
+ ... ... print(x, end=' ') # doctest: +NORMALIZE_WHITESPACE
1751
+ ... 0 1 2...9
1752
+ ... '''
1753
+ >>> test = doctest.DocTestFinder().find(f)[0]
1754
+ >>> doctest.DocTestRunner(verbose=False).run(test)
1755
+ TestResults(failed=0, attempted=1)
1756
+
1757
+ It is an error to have a comment of the form ``# doctest:`` that is
1758
+ *not* followed by words of the form ``+OPTION`` or ``-OPTION``, where
1759
+ ``OPTION`` is an option that has been registered with
1760
+ `register_option`:
1761
+
1762
+ >>> # Error: Option not registered
1763
+ >>> s = '>>> print(12) #doctest: +BADOPTION'
1764
+ >>> test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0)
1765
+ Traceback (most recent call last):
1766
+ ValueError: line 1 of the doctest for s has an invalid option: '+BADOPTION'
1767
+
1768
+ >>> # Error: No + or - prefix
1769
+ >>> s = '>>> print(12) #doctest: ELLIPSIS'
1770
+ >>> test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0)
1771
+ Traceback (most recent call last):
1772
+ ValueError: line 1 of the doctest for s has an invalid option: 'ELLIPSIS'
1773
+
1774
+ It is an error to use an option directive on a line that contains no
1775
+ source:
1776
+
1777
+ >>> s = '>>> # doctest: +ELLIPSIS'
1778
+ >>> test = doctest.DocTestParser().get_doctest(s, {}, 's', 's.py', 0)
1779
+ Traceback (most recent call last):
1780
+ ValueError: line 0 of the doctest for s has an option directive on a line with no example: '# doctest: +ELLIPSIS'
1781
+ """
1782
+
1783
+ def test_testsource(): r"""
1784
+ Unit tests for `testsource()`.
1785
+
1786
+ The testsource() function takes a module and a name, finds the (first)
1787
+ test with that name in that module, and converts it to a script. The
1788
+ example code is converted to regular Python code. The surrounding
1789
+ words and expected output are converted to comments:
1790
+
1791
+ >>> import test.test_doctest
1792
+ >>> name = 'test.test_doctest.sample_func'
1793
+ >>> print(doctest.testsource(test.test_doctest, name))
1794
+ # Blah blah
1795
+ #
1796
+ print(sample_func(22))
1797
+ # Expected:
1798
+ ## 44
1799
+ #
1800
+ # Yee ha!
1801
+ <BLANKLINE>
1802
+
1803
+ >>> name = 'test.test_doctest.SampleNewStyleClass'
1804
+ >>> print(doctest.testsource(test.test_doctest, name))
1805
+ print('1\n2\n3')
1806
+ # Expected:
1807
+ ## 1
1808
+ ## 2
1809
+ ## 3
1810
+ <BLANKLINE>
1811
+
1812
+ >>> name = 'test.test_doctest.SampleClass.a_classmethod'
1813
+ >>> print(doctest.testsource(test.test_doctest, name))
1814
+ print(SampleClass.a_classmethod(10))
1815
+ # Expected:
1816
+ ## 12
1817
+ print(SampleClass(0).a_classmethod(10))
1818
+ # Expected:
1819
+ ## 12
1820
+ <BLANKLINE>
1821
+ """
1822
+
1823
+ def test_debug(): r"""
1824
+
1825
+ Create a docstring that we want to debug:
1826
+
1827
+ >>> s = '''
1828
+ ... >>> x = 12
1829
+ ... >>> print(x)
1830
+ ... 12
1831
+ ... '''
1832
+
1833
+ Create some fake stdin input, to feed to the debugger:
1834
+
1835
+ >>> real_stdin = sys.stdin
1836
+ >>> sys.stdin = _FakeInput(['next', 'print(x)', 'continue'])
1837
+
1838
+ Run the debugger on the docstring, and then restore sys.stdin.
1839
+
1840
+ >>> try: doctest.debug_src(s)
1841
+ ... finally: sys.stdin = real_stdin
1842
+ > <string>(1)<module>()
1843
+ (Pdb) next
1844
+ 12
1845
+ --Return--
1846
+ > <string>(1)<module>()->None
1847
+ (Pdb) print(x)
1848
+ 12
1849
+ (Pdb) continue
1850
+
1851
+ """
1852
+
1853
+ if not hasattr(sys, 'gettrace') or not sys.gettrace():
1854
+ def test_pdb_set_trace():
1855
+ """Using pdb.set_trace from a doctest.
1856
+
1857
+ You can use pdb.set_trace from a doctest. To do so, you must
1858
+ retrieve the set_trace function from the pdb module at the time
1859
+ you use it. The doctest module changes sys.stdout so that it can
1860
+ capture program output. It also temporarily replaces pdb.set_trace
1861
+ with a version that restores stdout. This is necessary for you to
1862
+ see debugger output.
1863
+
1864
+ >>> doc = '''
1865
+ ... >>> x = 42
1866
+ ... >>> raise Exception('clé')
1867
+ ... Traceback (most recent call last):
1868
+ ... Exception: clé
1869
+ ... >>> import pdb; pdb.set_trace()
1870
+ ... '''
1871
+ >>> parser = doctest.DocTestParser()
1872
+ >>> test = parser.get_doctest(doc, {}, "foo-bar@baz", "foo-bar@baz.py", 0)
1873
+ >>> runner = doctest.DocTestRunner(verbose=False)
1874
+
1875
+ To demonstrate this, we'll create a fake standard input that
1876
+ captures our debugger input:
1877
+
1878
+ >>> import tempfile
1879
+ >>> real_stdin = sys.stdin
1880
+ >>> sys.stdin = _FakeInput([
1881
+ ... 'print(x)', # print data defined by the example
1882
+ ... 'continue', # stop debugging
1883
+ ... ''])
1884
+
1885
+ >>> try: runner.run(test)
1886
+ ... finally: sys.stdin = real_stdin
1887
+ --Return--
1888
+ > <doctest foo-bar@baz[2]>(1)<module>()->None
1889
+ -> import pdb; pdb.set_trace()
1890
+ (Pdb) print(x)
1891
+ 42
1892
+ (Pdb) continue
1893
+ TestResults(failed=0, attempted=3)
1894
+
1895
+ You can also put pdb.set_trace in a function called from a test:
1896
+
1897
+ >>> def calls_set_trace():
1898
+ ... y=2
1899
+ ... import pdb; pdb.set_trace()
1900
+
1901
+ >>> doc = '''
1902
+ ... >>> x=1
1903
+ ... >>> calls_set_trace()
1904
+ ... '''
1905
+ >>> test = parser.get_doctest(doc, globals(), "foo-bar@baz", "foo-bar@baz.py", 0)
1906
+ >>> real_stdin = sys.stdin
1907
+ >>> sys.stdin = _FakeInput([
1908
+ ... 'print(y)', # print data defined in the function
1909
+ ... 'up', # out of function
1910
+ ... 'print(x)', # print data defined by the example
1911
+ ... 'continue', # stop debugging
1912
+ ... ''])
1913
+
1914
+ >>> try:
1915
+ ... runner.run(test)
1916
+ ... finally:
1917
+ ... sys.stdin = real_stdin
1918
+ --Return--
1919
+ > <doctest test.test_doctest.test_pdb_set_trace[8]>(3)calls_set_trace()->None
1920
+ -> import pdb; pdb.set_trace()
1921
+ (Pdb) print(y)
1922
+ 2
1923
+ (Pdb) up
1924
+ > <doctest foo-bar@baz[1]>(1)<module>()
1925
+ -> calls_set_trace()
1926
+ (Pdb) print(x)
1927
+ 1
1928
+ (Pdb) continue
1929
+ TestResults(failed=0, attempted=2)
1930
+
1931
+ During interactive debugging, source code is shown, even for
1932
+ doctest examples:
1933
+
1934
+ >>> doc = '''
1935
+ ... >>> def f(x):
1936
+ ... ... g(x*2)
1937
+ ... >>> def g(x):
1938
+ ... ... print(x+3)
1939
+ ... ... import pdb; pdb.set_trace()
1940
+ ... >>> f(3)
1941
+ ... '''
1942
+ >>> test = parser.get_doctest(doc, globals(), "foo-bar@baz", "foo-bar@baz.py", 0)
1943
+ >>> real_stdin = sys.stdin
1944
+ >>> sys.stdin = _FakeInput([
1945
+ ... 'list', # list source from example 2
1946
+ ... 'next', # return from g()
1947
+ ... 'list', # list source from example 1
1948
+ ... 'next', # return from f()
1949
+ ... 'list', # list source from example 3
1950
+ ... 'continue', # stop debugging
1951
+ ... ''])
1952
+ >>> try: runner.run(test)
1953
+ ... finally: sys.stdin = real_stdin
1954
+ ... # doctest: +NORMALIZE_WHITESPACE
1955
+ --Return--
1956
+ > <doctest foo-bar@baz[1]>(3)g()->None
1957
+ -> import pdb; pdb.set_trace()
1958
+ (Pdb) list
1959
+ 1 def g(x):
1960
+ 2 print(x+3)
1961
+ 3 -> import pdb; pdb.set_trace()
1962
+ [EOF]
1963
+ (Pdb) next
1964
+ --Return--
1965
+ > <doctest foo-bar@baz[0]>(2)f()->None
1966
+ -> g(x*2)
1967
+ (Pdb) list
1968
+ 1 def f(x):
1969
+ 2 -> g(x*2)
1970
+ [EOF]
1971
+ (Pdb) next
1972
+ --Return--
1973
+ > <doctest foo-bar@baz[2]>(1)<module>()->None
1974
+ -> f(3)
1975
+ (Pdb) list
1976
+ 1 -> f(3)
1977
+ [EOF]
1978
+ (Pdb) continue
1979
+ **********************************************************************
1980
+ File "foo-bar@baz.py", line 7, in foo-bar@baz
1981
+ Failed example:
1982
+ f(3)
1983
+ Expected nothing
1984
+ Got:
1985
+ 9
1986
+ TestResults(failed=1, attempted=3)
1987
+ """
1988
+
1989
+ def test_pdb_set_trace_nested():
1990
+ """This illustrates more-demanding use of set_trace with nested functions.
1991
+
1992
+ >>> class C(object):
1993
+ ... def calls_set_trace(self):
1994
+ ... y = 1
1995
+ ... import pdb; pdb.set_trace()
1996
+ ... self.f1()
1997
+ ... y = 2
1998
+ ... def f1(self):
1999
+ ... x = 1
2000
+ ... self.f2()
2001
+ ... x = 2
2002
+ ... def f2(self):
2003
+ ... z = 1
2004
+ ... z = 2
2005
+
2006
+ >>> calls_set_trace = C().calls_set_trace
2007
+
2008
+ >>> doc = '''
2009
+ ... >>> a = 1
2010
+ ... >>> calls_set_trace()
2011
+ ... '''
2012
+ >>> parser = doctest.DocTestParser()
2013
+ >>> runner = doctest.DocTestRunner(verbose=False)
2014
+ >>> test = parser.get_doctest(doc, globals(), "foo-bar@baz", "foo-bar@baz.py", 0)
2015
+ >>> real_stdin = sys.stdin
2016
+ >>> sys.stdin = _FakeInput([
2017
+ ... 'print(y)', # print data defined in the function
2018
+ ... 'step', 'step', 'step', 'step', 'step', 'step', 'print(z)',
2019
+ ... 'up', 'print(x)',
2020
+ ... 'up', 'print(y)',
2021
+ ... 'up', 'print(foo)',
2022
+ ... 'continue', # stop debugging
2023
+ ... ''])
2024
+
2025
+ >>> try:
2026
+ ... runner.run(test)
2027
+ ... finally:
2028
+ ... sys.stdin = real_stdin
2029
+ ... # doctest: +REPORT_NDIFF
2030
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace()
2031
+ -> self.f1()
2032
+ (Pdb) print(y)
2033
+ 1
2034
+ (Pdb) step
2035
+ --Call--
2036
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(7)f1()
2037
+ -> def f1(self):
2038
+ (Pdb) step
2039
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(8)f1()
2040
+ -> x = 1
2041
+ (Pdb) step
2042
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(9)f1()
2043
+ -> self.f2()
2044
+ (Pdb) step
2045
+ --Call--
2046
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(11)f2()
2047
+ -> def f2(self):
2048
+ (Pdb) step
2049
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(12)f2()
2050
+ -> z = 1
2051
+ (Pdb) step
2052
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(13)f2()
2053
+ -> z = 2
2054
+ (Pdb) print(z)
2055
+ 1
2056
+ (Pdb) up
2057
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(9)f1()
2058
+ -> self.f2()
2059
+ (Pdb) print(x)
2060
+ 1
2061
+ (Pdb) up
2062
+ > <doctest test.test_doctest.test_pdb_set_trace_nested[0]>(5)calls_set_trace()
2063
+ -> self.f1()
2064
+ (Pdb) print(y)
2065
+ 1
2066
+ (Pdb) up
2067
+ > <doctest foo-bar@baz[1]>(1)<module>()
2068
+ -> calls_set_trace()
2069
+ (Pdb) print(foo)
2070
+ *** NameError: name 'foo' is not defined
2071
+ (Pdb) continue
2072
+ TestResults(failed=0, attempted=2)
2073
+ """
2074
+
2075
+ def test_DocTestSuite():
2076
+ """DocTestSuite creates a unittest test suite from a doctest.
2077
+
2078
+ We create a Suite by providing a module. A module can be provided
2079
+ by passing a module object:
2080
+
2081
+ >>> import unittest
2082
+ >>> import test.sample_doctest
2083
+ >>> suite = doctest.DocTestSuite(test.sample_doctest)
2084
+ >>> suite.run(unittest.TestResult())
2085
+ <unittest.result.TestResult run=9 errors=0 failures=4>
2086
+
2087
+ We can also supply the module by name:
2088
+
2089
+ >>> suite = doctest.DocTestSuite('test.sample_doctest')
2090
+ >>> suite.run(unittest.TestResult())
2091
+ <unittest.result.TestResult run=9 errors=0 failures=4>
2092
+
2093
+ The module need not contain any doctest examples:
2094
+
2095
+ >>> suite = doctest.DocTestSuite('test.sample_doctest_no_doctests')
2096
+ >>> suite.run(unittest.TestResult())
2097
+ <unittest.result.TestResult run=0 errors=0 failures=0>
2098
+
2099
+ However, if DocTestSuite finds no docstrings, it raises an error:
2100
+
2101
+ >>> try:
2102
+ ... doctest.DocTestSuite('test.sample_doctest_no_docstrings')
2103
+ ... except ValueError as e:
2104
+ ... error = e
2105
+
2106
+ >>> print(error.args[1])
2107
+ has no docstrings
2108
+
2109
+ You can prevent this error by passing a DocTestFinder instance with
2110
+ the `exclude_empty` keyword argument set to False:
2111
+
2112
+ >>> finder = doctest.DocTestFinder(exclude_empty=False)
2113
+ >>> suite = doctest.DocTestSuite('test.sample_doctest_no_docstrings',
2114
+ ... test_finder=finder)
2115
+ >>> suite.run(unittest.TestResult())
2116
+ <unittest.result.TestResult run=0 errors=0 failures=0>
2117
+
2118
+ We can use the current module:
2119
+
2120
+ >>> suite = test.sample_doctest.test_suite()
2121
+ >>> suite.run(unittest.TestResult())
2122
+ <unittest.result.TestResult run=9 errors=0 failures=4>
2123
+
2124
+ We can supply global variables. If we pass globs, they will be
2125
+ used instead of the module globals. Here we'll pass an empty
2126
+ globals, triggering an extra error:
2127
+
2128
+ >>> suite = doctest.DocTestSuite('test.sample_doctest', globs={})
2129
+ >>> suite.run(unittest.TestResult())
2130
+ <unittest.result.TestResult run=9 errors=0 failures=5>
2131
+
2132
+ Alternatively, we can provide extra globals. Here we'll make an
2133
+ error go away by providing an extra global variable:
2134
+
2135
+ >>> suite = doctest.DocTestSuite('test.sample_doctest',
2136
+ ... extraglobs={'y': 1})
2137
+ >>> suite.run(unittest.TestResult())
2138
+ <unittest.result.TestResult run=9 errors=0 failures=3>
2139
+
2140
+ You can pass option flags. Here we'll cause an extra error
2141
+ by disabling the blank-line feature:
2142
+
2143
+ >>> suite = doctest.DocTestSuite('test.sample_doctest',
2144
+ ... optionflags=doctest.DONT_ACCEPT_BLANKLINE)
2145
+ >>> suite.run(unittest.TestResult())
2146
+ <unittest.result.TestResult run=9 errors=0 failures=5>
2147
+
2148
+ You can supply setUp and tearDown functions:
2149
+
2150
+ >>> def setUp(t):
2151
+ ... import test.test_doctest
2152
+ ... test.test_doctest.sillySetup = True
2153
+
2154
+ >>> def tearDown(t):
2155
+ ... import test.test_doctest
2156
+ ... del test.test_doctest.sillySetup
2157
+
2158
+ Here, we installed a silly variable that the test expects:
2159
+
2160
+ >>> suite = doctest.DocTestSuite('test.sample_doctest',
2161
+ ... setUp=setUp, tearDown=tearDown)
2162
+ >>> suite.run(unittest.TestResult())
2163
+ <unittest.result.TestResult run=9 errors=0 failures=3>
2164
+
2165
+ But the tearDown restores sanity:
2166
+
2167
+ >>> import test.test_doctest
2168
+ >>> test.test_doctest.sillySetup
2169
+ Traceback (most recent call last):
2170
+ ...
2171
+ AttributeError: 'module' object has no attribute 'sillySetup'
2172
+
2173
+ The setUp and tearDown funtions are passed test objects. Here
2174
+ we'll use the setUp function to supply the missing variable y:
2175
+
2176
+ >>> def setUp(test):
2177
+ ... test.globs['y'] = 1
2178
+
2179
+ >>> suite = doctest.DocTestSuite('test.sample_doctest', setUp=setUp)
2180
+ >>> suite.run(unittest.TestResult())
2181
+ <unittest.result.TestResult run=9 errors=0 failures=3>
2182
+
2183
+ Here, we didn't need to use a tearDown function because we
2184
+ modified the test globals, which are a copy of the
2185
+ sample_doctest module dictionary. The test globals are
2186
+ automatically cleared for us after a test.
2187
+ """
2188
+
2189
+ def test_DocFileSuite():
2190
+ """We can test tests found in text files using a DocFileSuite.
2191
+
2192
+ We create a suite by providing the names of one or more text
2193
+ files that include examples:
2194
+
2195
+ >>> import unittest
2196
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2197
+ ... 'test_doctest2.txt',
2198
+ ... 'test_doctest4.txt')
2199
+ >>> suite.run(unittest.TestResult())
2200
+ <unittest.result.TestResult run=3 errors=0 failures=2>
2201
+
2202
+ The test files are looked for in the directory containing the
2203
+ calling module. A package keyword argument can be provided to
2204
+ specify a different relative location.
2205
+
2206
+ >>> import unittest
2207
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2208
+ ... 'test_doctest2.txt',
2209
+ ... 'test_doctest4.txt',
2210
+ ... package='test')
2211
+ >>> suite.run(unittest.TestResult())
2212
+ <unittest.result.TestResult run=3 errors=0 failures=2>
2213
+
2214
+ Support for using a package's __loader__.get_data() is also
2215
+ provided.
2216
+
2217
+ >>> import unittest, pkgutil, test
2218
+ >>> added_loader = False
2219
+ >>> if not hasattr(test, '__loader__'):
2220
+ ... test.__loader__ = pkgutil.get_loader(test)
2221
+ ... added_loader = True
2222
+ >>> try:
2223
+ ... suite = doctest.DocFileSuite('test_doctest.txt',
2224
+ ... 'test_doctest2.txt',
2225
+ ... 'test_doctest4.txt',
2226
+ ... package='test')
2227
+ ... suite.run(unittest.TestResult())
2228
+ ... finally:
2229
+ ... if added_loader:
2230
+ ... del test.__loader__
2231
+ <unittest.result.TestResult run=3 errors=0 failures=2>
2232
+
2233
+ '/' should be used as a path separator. It will be converted
2234
+ to a native separator at run time:
2235
+
2236
+ >>> suite = doctest.DocFileSuite('../test/test_doctest.txt')
2237
+ >>> suite.run(unittest.TestResult())
2238
+ <unittest.result.TestResult run=1 errors=0 failures=1>
2239
+
2240
+ If DocFileSuite is used from an interactive session, then files
2241
+ are resolved relative to the directory of sys.argv[0]:
2242
+
2243
+ >>> import types, os.path, test.test_doctest
2244
+ >>> save_argv = sys.argv
2245
+ >>> sys.argv = [test.test_doctest.__file__]
2246
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2247
+ ... package=types.ModuleType('__main__'))
2248
+ >>> sys.argv = save_argv
2249
+
2250
+ By setting `module_relative=False`, os-specific paths may be
2251
+ used (including absolute paths and paths relative to the
2252
+ working directory):
2253
+
2254
+ >>> # Get the absolute path of the test package.
2255
+ >>> test_doctest_path = os.path.abspath(test.test_doctest.__file__)
2256
+ >>> test_pkg_path = os.path.split(test_doctest_path)[0]
2257
+
2258
+ >>> # Use it to find the absolute path of test_doctest.txt.
2259
+ >>> test_file = os.path.join(test_pkg_path, 'test_doctest.txt')
2260
+
2261
+ >>> suite = doctest.DocFileSuite(test_file, module_relative=False)
2262
+ >>> suite.run(unittest.TestResult())
2263
+ <unittest.result.TestResult run=1 errors=0 failures=1>
2264
+
2265
+ It is an error to specify `package` when `module_relative=False`:
2266
+
2267
+ >>> suite = doctest.DocFileSuite(test_file, module_relative=False,
2268
+ ... package='test')
2269
+ Traceback (most recent call last):
2270
+ ValueError: Package may only be specified for module-relative paths.
2271
+
2272
+ You can specify initial global variables:
2273
+
2274
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2275
+ ... 'test_doctest2.txt',
2276
+ ... 'test_doctest4.txt',
2277
+ ... globs={'favorite_color': 'blue'})
2278
+ >>> suite.run(unittest.TestResult())
2279
+ <unittest.result.TestResult run=3 errors=0 failures=1>
2280
+
2281
+ In this case, we supplied a missing favorite color. You can
2282
+ provide doctest options:
2283
+
2284
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2285
+ ... 'test_doctest2.txt',
2286
+ ... 'test_doctest4.txt',
2287
+ ... optionflags=doctest.DONT_ACCEPT_BLANKLINE,
2288
+ ... globs={'favorite_color': 'blue'})
2289
+ >>> suite.run(unittest.TestResult())
2290
+ <unittest.result.TestResult run=3 errors=0 failures=2>
2291
+
2292
+ And, you can provide setUp and tearDown functions:
2293
+
2294
+ >>> def setUp(t):
2295
+ ... import test.test_doctest
2296
+ ... test.test_doctest.sillySetup = True
2297
+
2298
+ >>> def tearDown(t):
2299
+ ... import test.test_doctest
2300
+ ... del test.test_doctest.sillySetup
2301
+
2302
+ Here, we installed a silly variable that the test expects:
2303
+
2304
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2305
+ ... 'test_doctest2.txt',
2306
+ ... 'test_doctest4.txt',
2307
+ ... setUp=setUp, tearDown=tearDown)
2308
+ >>> suite.run(unittest.TestResult())
2309
+ <unittest.result.TestResult run=3 errors=0 failures=1>
2310
+
2311
+ But the tearDown restores sanity:
2312
+
2313
+ >>> import test.test_doctest
2314
+ >>> test.test_doctest.sillySetup
2315
+ Traceback (most recent call last):
2316
+ ...
2317
+ AttributeError: 'module' object has no attribute 'sillySetup'
2318
+
2319
+ The setUp and tearDown funtions are passed test objects.
2320
+ Here, we'll use a setUp function to set the favorite color in
2321
+ test_doctest.txt:
2322
+
2323
+ >>> def setUp(test):
2324
+ ... test.globs['favorite_color'] = 'blue'
2325
+
2326
+ >>> suite = doctest.DocFileSuite('test_doctest.txt', setUp=setUp)
2327
+ >>> suite.run(unittest.TestResult())
2328
+ <unittest.result.TestResult run=1 errors=0 failures=0>
2329
+
2330
+ Here, we didn't need to use a tearDown function because we
2331
+ modified the test globals. The test globals are
2332
+ automatically cleared for us after a test.
2333
+
2334
+ Tests in a file run using `DocFileSuite` can also access the
2335
+ `__file__` global, which is set to the name of the file
2336
+ containing the tests:
2337
+
2338
+ >>> suite = doctest.DocFileSuite('test_doctest3.txt')
2339
+ >>> suite.run(unittest.TestResult())
2340
+ <unittest.result.TestResult run=1 errors=0 failures=0>
2341
+
2342
+ If the tests contain non-ASCII characters, we have to specify which
2343
+ encoding the file is encoded with. We do so by using the `encoding`
2344
+ parameter:
2345
+
2346
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2347
+ ... 'test_doctest2.txt',
2348
+ ... 'test_doctest4.txt',
2349
+ ... encoding='utf-8')
2350
+ >>> suite.run(unittest.TestResult())
2351
+ <unittest.result.TestResult run=3 errors=0 failures=2>
2352
+
2353
+ """
2354
+
2355
+ def test_trailing_space_in_test():
2356
+ """
2357
+ Trailing spaces in expected output are significant:
2358
+
2359
+ >>> x, y = 'foo', ''
2360
+ >>> print(x, y)
2361
+ foo \n
2362
+ """
2363
+
2364
+
2365
+ def test_unittest_reportflags():
2366
+ """Default unittest reporting flags can be set to control reporting
2367
+
2368
+ Here, we'll set the REPORT_ONLY_FIRST_FAILURE option so we see
2369
+ only the first failure of each test. First, we'll look at the
2370
+ output without the flag. The file test_doctest.txt file has two
2371
+ tests. They both fail if blank lines are disabled:
2372
+
2373
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2374
+ ... optionflags=doctest.DONT_ACCEPT_BLANKLINE)
2375
+ >>> import unittest
2376
+ >>> result = suite.run(unittest.TestResult())
2377
+ >>> print(result.failures[0][1]) # doctest: +ELLIPSIS
2378
+ Traceback ...
2379
+ Failed example:
2380
+ favorite_color
2381
+ ...
2382
+ Failed example:
2383
+ if 1:
2384
+ ...
2385
+
2386
+ Note that we see both failures displayed.
2387
+
2388
+ >>> old = doctest.set_unittest_reportflags(
2389
+ ... doctest.REPORT_ONLY_FIRST_FAILURE)
2390
+
2391
+ Now, when we run the test:
2392
+
2393
+ >>> result = suite.run(unittest.TestResult())
2394
+ >>> print(result.failures[0][1]) # doctest: +ELLIPSIS
2395
+ Traceback ...
2396
+ Failed example:
2397
+ favorite_color
2398
+ Exception raised:
2399
+ ...
2400
+ NameError: name 'favorite_color' is not defined
2401
+ <BLANKLINE>
2402
+ <BLANKLINE>
2403
+
2404
+ We get only the first failure.
2405
+
2406
+ If we give any reporting options when we set up the tests,
2407
+ however:
2408
+
2409
+ >>> suite = doctest.DocFileSuite('test_doctest.txt',
2410
+ ... optionflags=doctest.DONT_ACCEPT_BLANKLINE | doctest.REPORT_NDIFF)
2411
+
2412
+ Then the default eporting options are ignored:
2413
+
2414
+ >>> result = suite.run(unittest.TestResult())
2415
+ >>> print(result.failures[0][1]) # doctest: +ELLIPSIS
2416
+ Traceback ...
2417
+ Failed example:
2418
+ favorite_color
2419
+ ...
2420
+ Failed example:
2421
+ if 1:
2422
+ print('a')
2423
+ print()
2424
+ print('b')
2425
+ Differences (ndiff with -expected +actual):
2426
+ a
2427
+ - <BLANKLINE>
2428
+ +
2429
+ b
2430
+ <BLANKLINE>
2431
+ <BLANKLINE>
2432
+
2433
+
2434
+ Test runners can restore the formatting flags after they run:
2435
+
2436
+ >>> ignored = doctest.set_unittest_reportflags(old)
2437
+
2438
+ """
2439
+
2440
+ def test_testfile(): r"""
2441
+ Tests for the `testfile()` function. This function runs all the
2442
+ doctest examples in a given file. In its simple invokation, it is
2443
+ called with the name of a file, which is taken to be relative to the
2444
+ calling module. The return value is (#failures, #tests).
2445
+
2446
+ We don't want `-v` in sys.argv for these tests.
2447
+
2448
+ >>> save_argv = sys.argv
2449
+ >>> if '-v' in sys.argv:
2450
+ ... sys.argv = [arg for arg in save_argv if arg != '-v']
2451
+
2452
+
2453
+ >>> doctest.testfile('test_doctest.txt') # doctest: +ELLIPSIS
2454
+ **********************************************************************
2455
+ File "...", line 6, in test_doctest.txt
2456
+ Failed example:
2457
+ favorite_color
2458
+ Exception raised:
2459
+ ...
2460
+ NameError: name 'favorite_color' is not defined
2461
+ **********************************************************************
2462
+ 1 items had failures:
2463
+ 1 of 2 in test_doctest.txt
2464
+ ***Test Failed*** 1 failures.
2465
+ TestResults(failed=1, attempted=2)
2466
+ >>> doctest.master = None # Reset master.
2467
+
2468
+ (Note: we'll be clearing doctest.master after each call to
2469
+ `doctest.testfile`, to suppress warnings about multiple tests with the
2470
+ same name.)
2471
+
2472
+ Globals may be specified with the `globs` and `extraglobs` parameters:
2473
+
2474
+ >>> globs = {'favorite_color': 'blue'}
2475
+ >>> doctest.testfile('test_doctest.txt', globs=globs)
2476
+ TestResults(failed=0, attempted=2)
2477
+ >>> doctest.master = None # Reset master.
2478
+
2479
+ >>> extraglobs = {'favorite_color': 'red'}
2480
+ >>> doctest.testfile('test_doctest.txt', globs=globs,
2481
+ ... extraglobs=extraglobs) # doctest: +ELLIPSIS
2482
+ **********************************************************************
2483
+ File "...", line 6, in test_doctest.txt
2484
+ Failed example:
2485
+ favorite_color
2486
+ Expected:
2487
+ 'blue'
2488
+ Got:
2489
+ 'red'
2490
+ **********************************************************************
2491
+ 1 items had failures:
2492
+ 1 of 2 in test_doctest.txt
2493
+ ***Test Failed*** 1 failures.
2494
+ TestResults(failed=1, attempted=2)
2495
+ >>> doctest.master = None # Reset master.
2496
+
2497
+ The file may be made relative to a given module or package, using the
2498
+ optional `module_relative` parameter:
2499
+
2500
+ >>> doctest.testfile('test_doctest.txt', globs=globs,
2501
+ ... module_relative='test')
2502
+ TestResults(failed=0, attempted=2)
2503
+ >>> doctest.master = None # Reset master.
2504
+
2505
+ Verbosity can be increased with the optional `verbose` parameter:
2506
+
2507
+ >>> doctest.testfile('test_doctest.txt', globs=globs, verbose=True)
2508
+ Trying:
2509
+ favorite_color
2510
+ Expecting:
2511
+ 'blue'
2512
+ ok
2513
+ Trying:
2514
+ if 1:
2515
+ print('a')
2516
+ print()
2517
+ print('b')
2518
+ Expecting:
2519
+ a
2520
+ <BLANKLINE>
2521
+ b
2522
+ ok
2523
+ 1 items passed all tests:
2524
+ 2 tests in test_doctest.txt
2525
+ 2 tests in 1 items.
2526
+ 2 passed and 0 failed.
2527
+ Test passed.
2528
+ TestResults(failed=0, attempted=2)
2529
+ >>> doctest.master = None # Reset master.
2530
+
2531
+ The name of the test may be specified with the optional `name`
2532
+ parameter:
2533
+
2534
+ >>> doctest.testfile('test_doctest.txt', name='newname')
2535
+ ... # doctest: +ELLIPSIS
2536
+ **********************************************************************
2537
+ File "...", line 6, in newname
2538
+ ...
2539
+ TestResults(failed=1, attempted=2)
2540
+ >>> doctest.master = None # Reset master.
2541
+
2542
+ The summary report may be suppressed with the optional `report`
2543
+ parameter:
2544
+
2545
+ >>> doctest.testfile('test_doctest.txt', report=False)
2546
+ ... # doctest: +ELLIPSIS
2547
+ **********************************************************************
2548
+ File "...", line 6, in test_doctest.txt
2549
+ Failed example:
2550
+ favorite_color
2551
+ Exception raised:
2552
+ ...
2553
+ NameError: name 'favorite_color' is not defined
2554
+ TestResults(failed=1, attempted=2)
2555
+ >>> doctest.master = None # Reset master.
2556
+
2557
+ The optional keyword argument `raise_on_error` can be used to raise an
2558
+ exception on the first error (which may be useful for postmortem
2559
+ debugging):
2560
+
2561
+ >>> doctest.testfile('test_doctest.txt', raise_on_error=True)
2562
+ ... # doctest: +ELLIPSIS
2563
+ Traceback (most recent call last):
2564
+ doctest.UnexpectedException: ...
2565
+ >>> doctest.master = None # Reset master.
2566
+
2567
+ If the tests contain non-ASCII characters, the tests might fail, since
2568
+ it's unknown which encoding is used. The encoding can be specified
2569
+ using the optional keyword argument `encoding`:
2570
+
2571
+ >>> doctest.testfile('test_doctest4.txt', encoding='latin-1') # doctest: +ELLIPSIS
2572
+ **********************************************************************
2573
+ File "...", line 7, in test_doctest4.txt
2574
+ Failed example:
2575
+ '...'
2576
+ Expected:
2577
+ 'f\xf6\xf6'
2578
+ Got:
2579
+ 'f\xc3\xb6\xc3\xb6'
2580
+ **********************************************************************
2581
+ ...
2582
+ **********************************************************************
2583
+ 1 items had failures:
2584
+ 2 of 2 in test_doctest4.txt
2585
+ ***Test Failed*** 2 failures.
2586
+ TestResults(failed=2, attempted=2)
2587
+ >>> doctest.master = None # Reset master.
2588
+
2589
+ >>> doctest.testfile('test_doctest4.txt', encoding='utf-8')
2590
+ TestResults(failed=0, attempted=2)
2591
+ >>> doctest.master = None # Reset master.
2592
+
2593
+ Test the verbose output:
2594
+
2595
+ >>> doctest.testfile('test_doctest4.txt', encoding='utf-8', verbose=True)
2596
+ Trying:
2597
+ 'föö'
2598
+ Expecting:
2599
+ 'f\xf6\xf6'
2600
+ ok
2601
+ Trying:
2602
+ 'bąr'
2603
+ Expecting:
2604
+ 'b\u0105r'
2605
+ ok
2606
+ 1 items passed all tests:
2607
+ 2 tests in test_doctest4.txt
2608
+ 2 tests in 1 items.
2609
+ 2 passed and 0 failed.
2610
+ Test passed.
2611
+ TestResults(failed=0, attempted=2)
2612
+ >>> doctest.master = None # Reset master.
2613
+ >>> sys.argv = save_argv
2614
+ """
2615
+
2616
+ def test_testmod(): r"""
2617
+ Tests for the testmod function. More might be useful, but for now we're just
2618
+ testing the case raised by Issue 6195, where trying to doctest a C module would
2619
+ fail with a UnicodeDecodeError because doctest tried to read the "source" lines
2620
+ out of the binary module.
2621
+
2622
+ >>> import unicodedata
2623
+ >>> doctest.testmod(unicodedata, verbose=False)
2624
+ TestResults(failed=0, attempted=0)
2625
+ """
2626
+
2627
+ try:
2628
+ os.fsencode("foo-bär@baz.py")
2629
+ except UnicodeEncodeError:
2630
+ # Skip the test: the filesystem encoding is unable to encode the filename
2631
+ pass
2632
+ else:
2633
+ def test_unicode(): """
2634
+ Check doctest with a non-ascii filename:
2635
+
2636
+ >>> doc = '''
2637
+ ... >>> raise Exception('clé')
2638
+ ... '''
2639
+ ...
2640
+ >>> parser = doctest.DocTestParser()
2641
+ >>> test = parser.get_doctest(doc, {}, "foo-bär@baz", "foo-bär@baz.py", 0)
2642
+ >>> test
2643
+ <DocTest foo-bär@baz from foo-bär@baz.py:0 (1 example)>
2644
+ >>> runner = doctest.DocTestRunner(verbose=False)
2645
+ >>> runner.run(test) # doctest: +ELLIPSIS
2646
+ **********************************************************************
2647
+ File "foo-bär@baz.py", line 2, in foo-bär@baz
2648
+ Failed example:
2649
+ raise Exception('clé')
2650
+ Exception raised:
2651
+ Traceback (most recent call last):
2652
+ File ...
2653
+ compileflags, 1), test.globs)
2654
+ File "<doctest foo-bär@baz[0]>", line 1, in <module>
2655
+ raise Exception('clé')
2656
+ Exception: clé
2657
+ TestResults(failed=1, attempted=1)
2658
+ """
2659
+
2660
+ def test_CLI(): r"""
2661
+ The doctest module can be used to run doctests against an arbitrary file.
2662
+ These tests test this CLI functionality.
2663
+
2664
+ We'll use the support module's script_helpers for this, and write a test files
2665
+ to a temp dir to run the command against. Due to a current limitation in
2666
+ script_helpers, though, we need a little utility function to turn the returned
2667
+ output into something we can doctest against:
2668
+
2669
+ >>> def normalize(s):
2670
+ ... return '\n'.join(s.decode().splitlines())
2671
+
2672
+ Note: we also pass TERM='' to all the assert_python calls to avoid a bug
2673
+ in the readline library that is triggered in these tests because we are
2674
+ running them in a new python process. See:
2675
+
2676
+ http://lists.gnu.org/archive/html/bug-readline/2013-06/msg00000.html
2677
+
2678
+ With those preliminaries out of the way, we'll start with a file with two
2679
+ simple tests and no errors. We'll run both the unadorned doctest command, and
2680
+ the verbose version, and then check the output:
2681
+
2682
+ >>> from test import script_helper
2683
+ >>> with script_helper.temp_dir() as tmpdir:
2684
+ ... fn = os.path.join(tmpdir, 'myfile.doc')
2685
+ ... with open(fn, 'w') as f:
2686
+ ... _ = f.write('This is a very simple test file.\n')
2687
+ ... _ = f.write(' >>> 1 + 1\n')
2688
+ ... _ = f.write(' 2\n')
2689
+ ... _ = f.write(' >>> "a"\n')
2690
+ ... _ = f.write(" 'a'\n")
2691
+ ... _ = f.write('\n')
2692
+ ... _ = f.write('And that is it.\n')
2693
+ ... rc1, out1, err1 = script_helper.assert_python_ok(
2694
+ ... '-m', 'doctest', fn, TERM='')
2695
+ ... rc2, out2, err2 = script_helper.assert_python_ok(
2696
+ ... '-m', 'doctest', '-v', fn, TERM='')
2697
+
2698
+ With no arguments and passing tests, we should get no output:
2699
+
2700
+ >>> rc1, out1, err1
2701
+ (0, b'', b'')
2702
+
2703
+ With the verbose flag, we should see the test output, but no error output:
2704
+
2705
+ >>> rc2, err2
2706
+ (0, b'')
2707
+ >>> print(normalize(out2))
2708
+ Trying:
2709
+ 1 + 1
2710
+ Expecting:
2711
+ 2
2712
+ ok
2713
+ Trying:
2714
+ "a"
2715
+ Expecting:
2716
+ 'a'
2717
+ ok
2718
+ 1 items passed all tests:
2719
+ 2 tests in myfile.doc
2720
+ 2 tests in 1 items.
2721
+ 2 passed and 0 failed.
2722
+ Test passed.
2723
+
2724
+ Now we'll write a couple files, one with three tests, the other a python module
2725
+ with two tests, both of the files having "errors" in the tests that can be made
2726
+ non-errors by applying the appropriate doctest options to the run (ELLIPSIS in
2727
+ the first file, NORMALIZE_WHITESPACE in the second). This combination will
2728
+ allow to thoroughly test the -f and -o flags, as well as the doctest command's
2729
+ ability to process more than one file on the command line and, since the second
2730
+ file ends in '.py', its handling of python module files (as opposed to straight
2731
+ text files).
2732
+
2733
+ >>> from test import script_helper
2734
+ >>> with script_helper.temp_dir() as tmpdir:
2735
+ ... fn = os.path.join(tmpdir, 'myfile.doc')
2736
+ ... with open(fn, 'w') as f:
2737
+ ... _ = f.write('This is another simple test file.\n')
2738
+ ... _ = f.write(' >>> 1 + 1\n')
2739
+ ... _ = f.write(' 2\n')
2740
+ ... _ = f.write(' >>> "abcdef"\n')
2741
+ ... _ = f.write(" 'a...f'\n")
2742
+ ... _ = f.write(' >>> "ajkml"\n')
2743
+ ... _ = f.write(" 'a...l'\n")
2744
+ ... _ = f.write('\n')
2745
+ ... _ = f.write('And that is it.\n')
2746
+ ... fn2 = os.path.join(tmpdir, 'myfile2.py')
2747
+ ... with open(fn2, 'w') as f:
2748
+ ... _ = f.write('def test_func():\n')
2749
+ ... _ = f.write(' \"\"\"\n')
2750
+ ... _ = f.write(' This is simple python test function.\n')
2751
+ ... _ = f.write(' >>> 1 + 1\n')
2752
+ ... _ = f.write(' 2\n')
2753
+ ... _ = f.write(' >>> "abc def"\n')
2754
+ ... _ = f.write(" 'abc def'\n")
2755
+ ... _ = f.write("\n")
2756
+ ... _ = f.write(' \"\"\"\n')
2757
+ ... import shutil
2758
+ ... rc1, out1, err1 = script_helper.assert_python_failure(
2759
+ ... '-m', 'doctest', fn, fn2, TERM='')
2760
+ ... rc2, out2, err2 = script_helper.assert_python_ok(
2761
+ ... '-m', 'doctest', '-o', 'ELLIPSIS', fn, TERM='')
2762
+ ... rc3, out3, err3 = script_helper.assert_python_ok(
2763
+ ... '-m', 'doctest', '-o', 'ELLIPSIS',
2764
+ ... '-o', 'NORMALIZE_WHITESPACE', fn, fn2, TERM='')
2765
+ ... rc4, out4, err4 = script_helper.assert_python_failure(
2766
+ ... '-m', 'doctest', '-f', fn, fn2, TERM='')
2767
+ ... rc5, out5, err5 = script_helper.assert_python_ok(
2768
+ ... '-m', 'doctest', '-v', '-o', 'ELLIPSIS',
2769
+ ... '-o', 'NORMALIZE_WHITESPACE', fn, fn2, TERM='')
2770
+
2771
+ Our first test run will show the errors from the first file (doctest stops if a
2772
+ file has errors). Note that doctest test-run error output appears on stdout,
2773
+ not stderr:
2774
+
2775
+ >>> rc1, err1
2776
+ (1, b'')
2777
+ >>> print(normalize(out1)) # doctest: +ELLIPSIS
2778
+ **********************************************************************
2779
+ File "...myfile.doc", line 4, in myfile.doc
2780
+ Failed example:
2781
+ "abcdef"
2782
+ Expected:
2783
+ 'a...f'
2784
+ Got:
2785
+ 'abcdef'
2786
+ **********************************************************************
2787
+ File "...myfile.doc", line 6, in myfile.doc
2788
+ Failed example:
2789
+ "ajkml"
2790
+ Expected:
2791
+ 'a...l'
2792
+ Got:
2793
+ 'ajkml'
2794
+ **********************************************************************
2795
+ 1 items had failures:
2796
+ 2 of 3 in myfile.doc
2797
+ ***Test Failed*** 2 failures.
2798
+
2799
+ With -o ELLIPSIS specified, the second run, against just the first file, should
2800
+ produce no errors, and with -o NORMALIZE_WHITESPACE also specified, neither
2801
+ should the third, which ran against both files:
2802
+
2803
+ >>> rc2, out2, err2
2804
+ (0, b'', b'')
2805
+ >>> rc3, out3, err3
2806
+ (0, b'', b'')
2807
+
2808
+ The fourth run uses FAIL_FAST, so we should see only one error:
2809
+
2810
+ >>> rc4, err4
2811
+ (1, b'')
2812
+ >>> print(normalize(out4)) # doctest: +ELLIPSIS
2813
+ **********************************************************************
2814
+ File "...myfile.doc", line 4, in myfile.doc
2815
+ Failed example:
2816
+ "abcdef"
2817
+ Expected:
2818
+ 'a...f'
2819
+ Got:
2820
+ 'abcdef'
2821
+ **********************************************************************
2822
+ 1 items had failures:
2823
+ 1 of 2 in myfile.doc
2824
+ ***Test Failed*** 1 failures.
2825
+
2826
+ The fifth test uses verbose with the two options, so we should get verbose
2827
+ success output for the tests in both files:
2828
+
2829
+ >>> rc5, err5
2830
+ (0, b'')
2831
+ >>> print(normalize(out5))
2832
+ Trying:
2833
+ 1 + 1
2834
+ Expecting:
2835
+ 2
2836
+ ok
2837
+ Trying:
2838
+ "abcdef"
2839
+ Expecting:
2840
+ 'a...f'
2841
+ ok
2842
+ Trying:
2843
+ "ajkml"
2844
+ Expecting:
2845
+ 'a...l'
2846
+ ok
2847
+ 1 items passed all tests:
2848
+ 3 tests in myfile.doc
2849
+ 3 tests in 1 items.
2850
+ 3 passed and 0 failed.
2851
+ Test passed.
2852
+ Trying:
2853
+ 1 + 1
2854
+ Expecting:
2855
+ 2
2856
+ ok
2857
+ Trying:
2858
+ "abc def"
2859
+ Expecting:
2860
+ 'abc def'
2861
+ ok
2862
+ 1 items had no tests:
2863
+ myfile2
2864
+ 1 items passed all tests:
2865
+ 2 tests in myfile2.test_func
2866
+ 2 tests in 2 items.
2867
+ 2 passed and 0 failed.
2868
+ Test passed.
2869
+
2870
+ We should also check some typical error cases.
2871
+
2872
+ Invalid file name:
2873
+
2874
+ >>> rc, out, err = script_helper.assert_python_failure(
2875
+ ... '-m', 'doctest', 'nosuchfile', TERM='')
2876
+ >>> rc, out
2877
+ (1, b'')
2878
+ >>> print(normalize(err)) # doctest: +ELLIPSIS
2879
+ Traceback (most recent call last):
2880
+ ...
2881
+ FileNotFoundError: [Errno ...] No such file or directory: 'nosuchfile'
2882
+
2883
+ Invalid doctest option:
2884
+
2885
+ >>> rc, out, err = script_helper.assert_python_failure(
2886
+ ... '-m', 'doctest', '-o', 'nosuchoption', TERM='')
2887
+ >>> rc, out
2888
+ (2, b'')
2889
+ >>> print(normalize(err)) # doctest: +ELLIPSIS
2890
+ usage...invalid...nosuchoption...
2891
+
2892
+ """
2893
+
2894
+ ######################################################################
2895
+ ## Main
2896
+ ######################################################################
2897
+
2898
+ def test_main():
2899
+ # Check the doctest cases in doctest itself:
2900
+ support.run_doctest(doctest, verbosity=True)
2901
+ # Check the doctest cases defined here:
2902
+ from test import test_doctest
2903
+ support.run_doctest(test_doctest, verbosity=True)
2904
+
2905
+ import sys, re, io
2906
+
2907
+ def test_coverage(coverdir):
2908
+ trace = support.import_module('trace')
2909
+ tracer = trace.Trace(ignoredirs=[sys.base_prefix, sys.base_exec_prefix,],
2910
+ trace=0, count=1)
2911
+ tracer.run('test_main()')
2912
+ r = tracer.results()
2913
+ print('Writing coverage results...')
2914
+ r.write_results(show_missing=True, summary=True,
2915
+ coverdir=coverdir)
2916
+
2917
+ if __name__ == '__main__':
2918
+ if '-c' in sys.argv:
2919
+ test_coverage('/tmp/doctest.cover')
2920
+ else:
2921
+ test_main()