summaryrefslogtreecommitdiff
path: root/Python/pytime.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-09-11 11:50:38 +0100
committerGitHub <noreply@github.com>2019-09-11 11:50:38 +0100
commitf2173ae38fa49235c3cdc28ae2ca2e19a375a596 (patch)
tree3b8da2cef5c99cbc560bdb0b4570781fc67fade9 /Python/pytime.c
parentc37447481ec8f6d0e49d0587ec0de3f9e7d56b28 (diff)
downloadcpython-git-f2173ae38fa49235c3cdc28ae2ca2e19a375a596.tar.gz
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 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions