Message405031
A side-effect of keeping tests inside the package, is that they appear in the package contents module docstring, which may be slightly confusing to new users.
>>> import sqlite3
>>> help(sqlite3)
Help on package sqlite3:
NAME
sqlite3
DESCRIPTION
[...]
PACKAGE CONTENTS
dbapi2
dump
test (package)
Regarding history: Serhiy already moved the sqlite3 test files (see commit 3e19409d6443c66a6a7d62f58b2bb4e8330e56c4 of 2021-09-13). If one worries about needing to add the --follow switch to git log, or possibly backporting issues, that train already left the station:
$ git log --oneline Lib/sqlite3/test/test_dbapi.py | wc -l
4
$ git log --follow --oneline Lib/sqlite3/test/test_dbapi.py | wc -l
71
So, I'm +1 regarding moving the sqlite3 tests :) |
|
Date |
User |
Action |
Args |
2021-10-26 08:26:57 | erlendaasland | set | recipients:
+ erlendaasland, barry, brett.cannon, theller, rhettinger, terry.reedy, ghaering, belopolsky, benjamin.peterson, tarek, gpolo, ned.deily, ezio.melotti, eric.araujo, r.david.murray, michael.foord, berker.peksag, zach.ware, gmwils, Leonardofreua |
2021-10-26 08:26:56 | erlendaasland | set | messageid: <1635236816.91.0.390445466919.issue10572@roundup.psfhosted.org> |
2021-10-26 08:26:56 | erlendaasland | link | issue10572 messages |
2021-10-26 08:26:56 | erlendaasland | create | |
|