()
| 141 | reason="Path to timezone database is not configurable " |
| 142 | "on non-Windows platforms") |
| 143 | def test_set_timezone_db_path_non_windows(): |
| 144 | # set_timezone_db_path raises an error on non-Windows platforms |
| 145 | with pytest.warns(FutureWarning, match="deprecated"): |
| 146 | with pytest.raises(ArrowInvalid, |
| 147 | match="Arrow was set to use OS timezone " |
| 148 | "database at compile time"): |
| 149 | pa.set_timezone_db_path("path") |
| 150 | |
| 151 | |
| 152 | @pytest.mark.parametrize('klass', [ |
nothing calls this directly
no outgoing calls
no test coverage detected