summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pathlib.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-21 17:51:56 (GMT)
committerGitHub <noreply@github.com>2019-05-21 17:51:56 (GMT)
commit6b48e658bf80b0e30fddd9dfe80021313e57fb6a (patch)
tree47a786bdb304a3ab09efc62a369a876b142a9405 /Lib/test/test_pathlib.py
parent3c9c2dc8dde709a5f27c74aff1614d6ed3456964 (diff)
downloadcpython-6b48e658bf80b0e30fddd9dfe80021313e57fb6a.zip
cpython-6b48e658bf80b0e30fddd9dfe80021313e57fb6a.tar.gz
cpython-6b48e658bf80b0e30fddd9dfe80021313e57fb6a.tar.bz2
bpo-36929: Modify io/re tests to allow for missing mod name (GH-13392)
* bpo-36929: Modify io/re tests to allow for missing mod name For a vanishingly small number of internal types, CPython sets the tp_name slot to mod_name.type_name, either in the PyTypeObject or the PyType_Spec. There are a few minor places where this surfaces: * Custom repr functions for those types (some of which ignore the tp_name in favor of using a string literal, such as _io.TextIOWrapper) * Pickling error messages The test suite only tests the former. This commit modifies the test suite to allow Python implementations to omit the module prefix. https://bugs.python.org/issue36929 (cherry picked from commit ccb7ca728e09b307f9e9fd36ec40353137e68a3b) Co-authored-by: Max Bernstein <tekknolagi@users.noreply.github.com>
Diffstat (limited to 'Lib/test/test_pathlib.py')
0 files changed, 0 insertions, 0 deletions