開発ツール¶
The modules described in this chapter help you write software. For example, the
pydoc
module takes a module and generates documentation based on the
module's contents. The doctest
and unittest
modules contains
frameworks for writing unit tests that automatically exercise code and verify
that the expected output is produced. 2to3 can translate Python 2.x
source code into valid Python 3.x code.
この章で解説されるモジュールのリスト:
typing
--- 型ヒントのサポートpydoc
--- Documentation generator and online help system- Python 開発モード
doctest
--- Test interactive Python examplesunittest
--- Unit testing frameworkunittest.mock
--- mock object libraryunittest.mock
--- getting started- 2to3 --- Python 2 から 3 への自動コード変換
test
--- Regression tests package for Pythontest.support
--- テストのためのユーティリティ関数test.support.socket_helper
--- Utilities for socket teststest.support.script_helper
--- Utilities for the Python execution teststest.support.bytecode_helper
--- Support tools for testing correct bytecode generationtest.support.threading_helper
--- Utilities for threading teststest.support.os_helper
--- Utilities for os teststest.support.import_helper
--- Utilities for import teststest.support.warnings_helper
--- Utilities for warnings tests