Message336270
The following code works in an interactive shell or in a batch file, but not when executed as part of a unittest suite or pdb:
from random import random
out = [random() for ind in range(3)]
It can be made to work using pdb interact, but this doesn't help with unittest.
Tested in Python 3.7.2 |
|
Date |
User |
Action |
Args |
2019-02-21 23:25:38 | woodscn | set | recipients:
+ woodscn |
2019-02-21 23:25:38 | woodscn | set | messageid: <1550791538.43.0.767407053529.issue36070@roundup.psfhosted.org> |
2019-02-21 23:25:38 | woodscn | link | issue36070 messages |
2019-02-21 23:25:38 | woodscn | create | |
|