()
| 25 | sys.platform == "win32", reason="Test only available for UNIX systems" |
| 26 | ) |
| 27 | def test_unix_clock(): |
| 28 | # A ZONE setting in the target path of a symbolic linked localtime, |
| 29 | # f ex systemd distributions |
| 30 | local_path = os.path.join(os.path.split(__file__)[0], "..") |
| 31 | tz = _get_unix_timezone(_root=os.path.join(local_path, "fixtures", "tz", "clock")) |
| 32 | |
| 33 | assert tz.name == "Europe/Zurich" |
| 34 | |
| 35 | |
| 36 | @pytest.mark.skipif(sys.platform != "win32", reason="Test only available for Windows") |
nothing calls this directly
no test coverage detected