()
| 59 | |
| 60 | |
| 61 | def test_to_strings(): |
| 62 | dt = pendulum.naive(2013, 3, 31, 2, 30) |
| 63 | |
| 64 | assert dt.isoformat() == "2013-03-31T02:30:00" |
| 65 | assert dt.to_iso8601_string() == "2013-03-31T02:30:00" |
| 66 | assert dt.to_rfc3339_string() == "2013-03-31T02:30:00" |
| 67 | assert dt.to_atom_string() == "2013-03-31T02:30:00" |
| 68 | assert dt.to_cookie_string() == "Sunday, 31-Mar-2013 02:30:00 " |
| 69 | |
| 70 | |
| 71 | def test_naive_method(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…