(current, expected)
| 6866 | # DST begins at 2012-3-11T02:00:00 and ends at 2012-11-4T02:00:00. |
| 6867 | DT = datetime.datetime |
| 6868 | def test(current, expected): |
| 6869 | actual = fh.computeRollover(current.timestamp()) |
| 6870 | diff = actual - expected.timestamp() |
| 6871 | if diff: |
| 6872 | self.assertEqual(diff, 0, datetime.timedelta(seconds=diff)) |
| 6873 | |
| 6874 | fh = logging.handlers.TimedRotatingFileHandler( |
| 6875 | self.fn, encoding="utf-8", when='MIDNIGHT', utc=False) |
nothing calls this directly
no test coverage detected