Commit acd3d10
authored
Fix typeddict tests on systems with 32-bit time_t (#415)
Reduce the range of generated `datetime` instances to values valid
for 32-bit `time_t` range, as otherwise multiple tests fail with errors
such as:
FAILED tests/test_typeddicts.py::test_simple_roundtrip - OverflowError: timestamp out of range for platform time_t
This is based on an earlier fix for `test_preconf.py`,
see a0e56f4
and c580287.
Originally reported as https://bugs.gentoo.org/912187.1 parent 17f4680 commit acd3d10
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
0 commit comments