()
| 44 | sys.platform == "win32", reason="Test only available for UNIX systems" |
| 45 | ) |
| 46 | def test_unix_etc_timezone_dir(): |
| 47 | # Should not fail if `/etc/timezone` is a folder |
| 48 | local_path = os.path.join(os.path.split(__file__)[0], "..") |
| 49 | root_path = os.path.join(local_path, "fixtures", "tz", "timezone_dir") |
| 50 | tz = _get_unix_timezone(_root=root_path) |
| 51 | |
| 52 | assert tz.name == "Europe/Paris" |
nothing calls this directly
no test coverage detected