()
| 13 | sys.platform == "win32", reason="Test only available for UNIX systems" |
| 14 | ) |
| 15 | def test_unix_symlink(): |
| 16 | # A ZONE setting in the target path of a symbolic linked localtime, |
| 17 | # f ex systemd distributions |
| 18 | local_path = os.path.join(os.path.split(__file__)[0], "..") |
| 19 | tz = _get_unix_timezone(_root=os.path.join(local_path, "fixtures", "tz", "symlink")) |
| 20 | |
| 21 | assert tz.name == "Europe/Paris" |
| 22 | |
| 23 | |
| 24 | @pytest.mark.skipif( |
nothing calls this directly
no test coverage detected