Standard 6-digit fractional seconds should parse correctly.
()
| 39 | |
| 40 | |
| 41 | def test_parse_timestamp_microseconds(): |
| 42 | """Standard 6-digit fractional seconds should parse correctly.""" |
| 43 | result = parse_timestamp("2025-01-15T10:30:00.123456+0000") |
| 44 | assert result == datetime.datetime( |
| 45 | 2025, 1, 15, 10, 30, 0, 123456, tzinfo=datetime.timezone.utc |
| 46 | ) |
| 47 | |
| 48 | |
| 49 | def test_parse_timestamp_nanoseconds(): |
nothing calls this directly
no test coverage detected