summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cgi.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 11:51:01 (GMT)
committerGitHub <noreply@github.com>2019-09-11 11:51:01 (GMT)
commit0553369b9827bb5497bb7a65f64dd259781ae792 (patch)
tree7883272b3cb6472faadf38e6f0dffe42edde6209 /Lib/test/test_cgi.py
parentd378fdb10a5476b86b5a01d74c1bcc4e2f52e003 (diff)
downloadcpython-0553369b9827bb5497bb7a65f64dd259781ae792.zip
cpython-0553369b9827bb5497bb7a65f64dd259781ae792.tar.gz
cpython-0553369b9827bb5497bb7a65f64dd259781ae792.tar.bz2
bpo-35066: Make trailing percent test more portable. (GH-15907)
Different libc implementations have different behavior when presented with trailing % in strftime strings. To make test_strftime_trailing_percent more portable, compare the output of datetime.strftime directly to that of time.strftime rather than hardcoding. (cherry picked from commit f2173ae38fa49235c3cdc28ae2ca2e19a375a596) Co-authored-by: Benjamin Peterson <benjamin@python.org>
Diffstat (limited to 'Lib/test/test_cgi.py')
0 files changed, 0 insertions, 0 deletions