| 1 | There is still two remaining problems : |
| 2 | |
| 3 | - I temporary used {{{sleep(float(0.5))}}} to fix a doctest but it can't be a good solution. The problem is using {{{sleep(0.5)}}} doesn't pause the thread 500 ms with python3 : |
| 4 | |
| 5 | {{{ |
| 6 | sage: time sleep(0.5) |
| 7 | CPU times: user 48 µs, sys: 0 ns, total: 48 µs |
| 8 | Wall time: 52.2 µs |
| 9 | sage: time sleep(1) |
| 10 | CPU times: user 468 µs, sys: 8 µs, total: 476 µs |
| 11 | Wall time: 1 s |
| 12 | }}} |
| 13 | |
| 14 | Does somebody knows if there is a ticket related to this problem or if i should open a new one ? |
| 15 | |
| 16 | - In pexpect.py the doctest |
| 17 | {{{ |
| 18 | sage: w = walltime(t); w > 0.4 and w < 10 |
| 19 | True |
| 20 | }}} |
| 21 | fails in python3 because the walltime is shorter than 0.4. I don't know why it should be considered as an error or if it is expected with python3 for some reason. |