Message267278
| Author |
JelleZijlstra |
| Recipients |
JelleZijlstra, berker.peksag, brett.cannon |
| Date |
2016年06月04日.17:11:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1465060311.41.0.983491834537.issue27200@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I would consider this a test of the quality of the documentation, not of the implementation. It's important that the examples in the documentation are actually correct. For example, a doctest in Doc/library/datetime.rst passes an "hours=" keyword argument to datetime.time when "hour=" is correct. It's going to be hard to find such bugs in examples without an automated check like `make doctest`.
I'm open to simplifying the patches by removing testsetup blocks. For what it's worth though, the docs already contain 17 testsetup blocks. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年06月04日 17:11:51 | JelleZijlstra | set | recipients:
+ JelleZijlstra, brett.cannon, berker.peksag |
| 2016年06月04日 17:11:51 | JelleZijlstra | set | messageid: <1465060311.41.0.983491834537.issue27200@psf.upfronthosting.co.za> |
| 2016年06月04日 17:11:51 | JelleZijlstra | link | issue27200 messages |
| 2016年06月04日 17:11:50 | JelleZijlstra | create |
|