This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nuse
Recipients nuse
Date 2021-11-17.04:28:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637123317.28.0.291429551369.issue45827@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-11-17 04:28:37nusesetrecipients: + nuse
2021-11-17 04:28:37nusesetmessageid: <1637123317.28.0.291429551369.issue45827@roundup.psfhosted.org>
2021-11-17 04:28:37nuselinkissue45827 messages
2021-11-17 04:28:37nusecreate