()
| 78 | |
| 79 | |
| 80 | def test_fluid_on(): |
| 81 | d = pendulum.datetime(2016, 7, 2, 0, 41, 20) |
| 82 | new = d.on(1995, 11, 9) |
| 83 | assert isinstance(new, datetime) |
| 84 | assert new.year == 1995 |
| 85 | assert new.month == 11 |
| 86 | assert new.day == 9 |
| 87 | assert d.year == 2016 |
| 88 | assert d.month == 7 |
| 89 | assert d.day == 2 |
| 90 | |
| 91 | |
| 92 | def test_fluid_on_with_transition(): |