Results of 1 - 8 of about 8 for testfile (0.044 sec.)
- doctest --- 対話型の Python の例をテストする — Python 3.14.8 ドキュメント 12146
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » doctest --- 対話型の Python の例をテストする テーマ 自動 ライト ダーク | doctest --- 対話型の Python の例をテストする
...mples of doctests in the standard Python test suite and libraries. Especially useful examples can be found in the standard test file Lib/test/test_doctest/test_doctest.py . Added in version 3.13: Output is colorized by default and can be controlled using...中の実行例をチェックする ¶ doctest のもう一つの簡単な用途は、テキストファイル中にある対話実行例に対するテストです。これには testfile() 関数を使います: import doctest doctest . testfile ( "example.txt" ) この短いスクリプトは、 example.txt というファイルの中...port ``factorial`` from the ``example`` module: >>> from example import factorial Now use it: >>> factorial(6) 120 doctest.testfile("example.txt") を実行すると、このドキュメント内のエラーを見つけ出します: File "./example.txt" , line 14 , in example . txt... - https://man.mtool.work/python/3.14/library/doctest.html
- doctest --- 対話型の Python の例をテストする — Python 3.14.8 ドキュメント 12146
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » doctest --- 対話型の Python の例をテストする テーマ 自動 ライト ダーク | doctest --- 対話型の Python の例をテストする
...mples of doctests in the standard Python test suite and libraries. Especially useful examples can be found in the standard test file Lib/test/test_doctest/test_doctest.py . Added in version 3.13: Output is colorized by default and can be controlled using...中の実行例をチェックする ¶ doctest のもう一つの簡単な用途は、テキストファイル中にある対話実行例に対するテストです。これには testfile() 関数を使います: import doctest doctest . testfile ( "example.txt" ) この短いスクリプトは、 example.txt というファイルの中...port ``factorial`` from the ``example`` module: >>> from example import factorial Now use it: >>> factorial(6) 120 doctest.testfile("example.txt") を実行すると、このドキュメント内のエラーを見つけ出します: File "./example.txt" , line 14 , in example . txt... - https://man.mtool.work/python/3.14/library/doctest.html
- 索引 — Python 3.14.8 ドキュメント 8241
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – T t-string t-strings T_BOOL (C macro) T_BYTE (C macro) T_CHAR (C macro) T_DOUBLE (C macro) T_FLOAT (C macro) T_FMT (locale モジュール)
...TEST_HTTP_URL (test.support モジュール) TEST_SUPPORT_DIR (test.support モジュール) TestCase (unittest のクラス) TestFailed testfile() (doctest モジュール) TESTFN (test.support.os_helper モジュール) TESTFN_NONASCII (test.support.os_helper モジュール) TEST... - https://man.mtool.work/python/3.14/genindex-T.html
- 索引 — Python 3.14.8 ドキュメント 8241
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – T t-string t-strings T_BOOL (C macro) T_BYTE (C macro) T_CHAR (C macro) T_DOUBLE (C macro) T_FLOAT (C macro) T_FMT (locale モジュール)
...TEST_HTTP_URL (test.support モジュール) TEST_SUPPORT_DIR (test.support モジュール) TestCase (unittest のクラス) TestFailed testfile() (doctest モジュール) TESTFN (test.support.os_helper モジュール) TESTFN_NONASCII (test.support.os_helper モジュール) TEST... - https://man.mtool.work/python/3.14/genindex-T.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 7934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...実際のテストケースとして意図していないようなコードスニペットのために用意されました。 An encoding parameter was added to the testfile() function and the DocFileSuite class to specify the file's encoding. This makes it easier to use non-ASCII characters in... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- What's New in Python 2.5 — Python 3.14.8 ドキュメント 7934
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.5 テーマ 自動 ライト ダーク | What's New in Python 2.5 ¶ 著者 : A.M. Kuchling This article explains the new feature
...実際のテストケースとして意図していないようなコードスニペットのために用意されました。 An encoding parameter was added to the testfile() function and the DocFileSuite class to specify the file's encoding. This makes it easier to use non-ASCII characters in... - https://man.mtool.work/python/3.14/whatsnew/2.5.html
- 索引 — Python 3.14.8 ドキュメント 7790
- ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ
...TEST_HTTP_URL (test.support モジュール) TEST_SUPPORT_DIR (test.support モジュール) TestCase (unittest のクラス) TestFailed testfile() (doctest モジュール) TESTFN (test.support.os_helper モジュール) TESTFN_NONASCII (test.support.os_helper モジュール) TEST... - https://man.mtool.work/python/3.14/genindex-all.html
- 変更履歴 — Python 3.14.8 ドキュメント 7790
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » 変更履歴 テーマ 自動 ライト ダーク | 変更履歴 ¶ Python next ¶ Release date: XXXX-XX-XX セキュリティ ¶ gh-157265 : In tarfile , when extrac
...did not save the PC is found. Patch by Victor Stinner. gh-109276 : libregrtest now calls random.seed() before running each test file when -r/--randomize command line option is used. Moreover, it's also called in worker processes. It should help to make t...ests more deterministic. Previously, it was only called once in the main process before running all test files and it was not called in worker processes. Patch by Victor Stinner. gh-109276 : libregrtest now uses a separated file de...8 : Regression tests, when run with -w, are now re-running only the affected test methods instead of re-running the entire test file. bpo-42095 : Added interop tests for Apple plists: generate plist files with Python plistlib and parse with Apple plutil;... - https://man.mtool.work/python/3.14/whatsnew/changelog.html
PREV
1
NEXT