summaryrefslogtreecommitdiffstats
path: root/Python/dynload_stub.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-09-09 20:32:48 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-09-09 20:32:48 (GMT)
commit3e2c8d84c69063b8042a75ba04b5e75b1de0704e (patch)
tree0b76315fb3c840687934abb5b40ecf9a92dbeaac /Python/dynload_stub.c
parent9ae47dfbd9b2f094205faad758b32803bea8e463 (diff)
downloadcpython-3e2c8d84c69063b8042a75ba04b5e75b1de0704e.zip
cpython-3e2c8d84c69063b8042a75ba04b5e75b1de0704e.tar.gz
cpython-3e2c8d84c69063b8042a75ba04b5e75b1de0704e.tar.bz2
test_time: rewrite PyTime API rounding tests
Drop all hardcoded tests. Instead, reimplement each function in Python, usually using decimal.Decimal for the rounding mode. Add much more values to the dataset. Test various timestamp units from picroseconds to seconds, in integer and float. Enhance also _PyTime_AsSecondsDouble().
Diffstat (limited to 'Python/dynload_stub.c')
0 files changed, 0 insertions, 0 deletions