summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-10-03 11:15:38 -0400
committerR David Murray <rdmurray@bitdance.com>2014-10-03 11:15:38 -0400
commitbf905888e97545b4212715ce2d79770f25609dd8 (patch)
tree0ca27e6eee86478129197aa6647030f7ab6f759f /Python/codecs.c
parent29292e4b55bf39d8ad545eab85fb52b78a5648c0 (diff)
downloadcpython-bf905888e97545b4212715ce2d79770f25609dd8.tar.gz
#12780: update inspect test skipIf for PEP 3147.
The test needs to be skipped if unicodedata is either part of the main binary (a repackaging of cpython on Windows?) or has python source (pypy?). PEP 3147 makes __file__ point to the .py source, so we need to change the extension check from looking for the old .pyc/.pyo to just looking for .py. Note that this skip should never trigger on CPython itself, so one could argue it should be dropped instead. But since it exists, why risk breaking someone else's python.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions