Makes the tzdata package impossible to import.
()
| 39 | |
| 40 | @pytest.fixture |
| 41 | def block_tzdata(): |
| 42 | """Makes the tzdata package impossible to import.""" |
| 43 | from dateutil import tz |
| 44 | |
| 45 | with set_tzpath(tuple(tz.TZPATH), block_tzdata=True): |
| 46 | yield |
nothing calls this directly
no test coverage detected