(self)
| 6421 | |
| 6422 | @support.run_with_tz('EST+05EDT,M3.2.0,M11.1.0') |
| 6423 | def test_fromtimestamp(self): |
| 6424 | s = 1414906200 |
| 6425 | dt0 = datetime.fromtimestamp(s) |
| 6426 | dt1 = datetime.fromtimestamp(s + 3600) |
| 6427 | self.assertEqual(dt0.fold, 0) |
| 6428 | self.assertEqual(dt1.fold, 1) |
| 6429 | |
| 6430 | @support.run_with_tz('Australia/Lord_Howe') |
| 6431 | def test_fromtimestamp_lord_howe(self): |
nothing calls this directly
no test coverage detected