Closed dataflake closed 2 weeks ago
Ah I was worried that something like what you describe with teyit
https://github.com/zopefoundation/DateTime/pull/61#discussion_r1413129912 would happen.
How about writing it like this instead, separating the ==
and !=
to another line ?
is_eq = dt == DateTime(1.0) # testing __eq__
self.assertTrue(is_eq)
in other places, something like this is checked:
self.assertTrue(str(dt).find('60') < 0)
this seems better:
self.assertNotIn('60', str(dt))
please include the changes from https://github.com/zopefoundation/DateTime/commit/70d34a4b5eb1279bb3c5f6e01ff8daf67a1f6759 if you like this.
There's an exclude forFIXEDteyit
because some tests want to specifically test somethingteyit
would change, like the following test code: