(d, dt_fmt, as_bytes)
| 378 | @pytest.mark.parametrize('d,dt_fmt', __make_date_examples()) |
| 379 | @pytest.mark.parametrize('as_bytes', [True, False]) |
| 380 | def test_parse_isodate(d, dt_fmt, as_bytes): |
| 381 | d_str = d.strftime(dt_fmt) |
| 382 | if as_bytes: |
| 383 | d_str = d_str.encode('ascii') |
| 384 | |
| 385 | iparser = isoparser() |
| 386 | assert iparser.parse_isodate(d_str) == d |
| 387 | |
| 388 | |
| 389 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected