Cleanup in paths.py and related documents

This commit is contained in:
2026-11-21 00:08:35 +01:00
parent 1575bec4ac
commit a419167939
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
"""Tests for ``ki18n.paths`` (PyInstaller / source checkout detection, data directories)."""
"""Tests for ``ki18n.paths`` (PyInstaller bundle detection, per-user data directories)."""
import sys
from pathlib import Path
@@ -23,7 +23,7 @@ def test_is_frozen_returns_bool(monkeypatch):
assert paths.is_frozen() is True
def test_source_checkout_uses_parent_of_package_directory(monkeypatch):
def test_not_frozen_uses_parent_of_package_directory(monkeypatch):
monkeypatch.setattr(sys, "frozen", False, raising=False)
assert paths.bundle_root() == Path(paths.__file__).resolve().parent.parent