diff options
author | Benjamin Peterson <benjamin@python.org> | 2019-09-11 10:50:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 10:50:38 (GMT) |
commit | f2173ae38fa49235c3cdc28ae2ca2e19a375a596 (patch) | |
tree | 3b8da2cef5c99cbc560bdb0b4570781fc67fade9 /Objects/call.c | |
parent | c37447481ec8f6d0e49d0587ec0de3f9e7d56b28 (diff) | |
download | cpython-f2173ae38fa49235c3cdc28ae2ca2e19a375a596.zip cpython-f2173ae38fa49235c3cdc28ae2ca2e19a375a596.tar.gz cpython-f2173ae38fa49235c3cdc28ae2ca2e19a375a596.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.
Diffstat (limited to 'Objects/call.c')
0 files changed, 0 insertions, 0 deletions