Message406449
Ubuntu Release 20.04.3 LTS (Focal Fossa) 64-bit
Using unittest, testing with assertEqual on int values and known good output. Unittest produces one-off error on handful of edge-case tests causing assert to fail. Commenting out passing assertEquals tests to isolate failing tests causes previous failing tests to pass (reproducible). All input values produce output values when testing by hand, only different when using unittest.
Pardon the homework. Removing the class and moving member variables into my_datetime function resolves the issue; however, the behavior as written should not be happening. |
|
Date |
User |
Action |
Args |
2021-11-17 04:28:37 | nuse | set | recipients:
+ nuse |
2021-11-17 04:28:37 | nuse | set | messageid: <1637123317.28.0.291429551369.issue45827@roundup.psfhosted.org> |
2021-11-17 04:28:37 | nuse | link | issue45827 messages |
2021-11-17 04:28:37 | nuse | create | |
|