[docs] Rename and document test.script_helper as test.support.script_helper (issue 18576)

storchaka at gmail.com storchaka at gmail.com
Mon Dec 9 13:16:55 CET 2013


http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst
File Doc/library/test.rst (right):

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode615
Doc/library/test.rst:615: .. function::
test.support.script_helper._assert_python(expected_success, *args,
**env_vars)
This is private function and isn't used outside the module.

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode621
Doc/library/test.rst:621: Assert that running the interpreter with
`args` and optional environment
*args*

And same for other parameters.

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode622
Doc/library/test.rst:622: variables `env_vars` succeeds (rc == 0) and
return a (return code, stdout,
``rc == 0``

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode625
Doc/library/test.rst:625: If the __cleanenv keyword is set, env_vars is
used a fresh environment.
*__cleanenv*

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode627
Doc/library/test.rst:627: Python is started in isolated mode (command
line option -I),
``-I``

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode628
Doc/library/test.rst:628: except if the __isolated keyword is set to
False.
*__isolated*

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode633
Doc/library/test.rst:633: variables `env_vars` fails (rc != 0) and
return a (return code, stdout,
``rc != 0``

http://bugs.python.org/review/18576/diff/10257/Doc/library/test.rst#newcode656
Doc/library/test.rst:656: .. function::
test.support.script_helper.make_zip_pkg(zip_dir, zip_basename, pkg_name,
script_basename, source, depth=1, compiled=False)
Did you tried to use backslash for line continuation?

.. function:: test.support.script_helper.make_zip_pkg(zip_dir,
zip_basename, \
        pkg_name, script_basename, source, depth=1, compiled=False)

http://bugs.python.org/review/18576/


More information about the docs mailing list