()
| 194 | |
| 195 | |
| 196 | def test_strptime(): |
| 197 | d = pendulum.DateTime.strptime("1975-05-21 22:32:11", "%Y-%m-%d %H:%M:%S") |
| 198 | assert_datetime(d, 1975, 5, 21, 22, 32, 11) |
| 199 | assert isinstance(d, pendulum.DateTime) |
| 200 | assert d.timezone_name == "UTC" |
| 201 | |
| 202 | |
| 203 | def test_from_format_2_digit_year(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…