Skip to content

Generate clean 2D game sprites & animation atlases — component-row pipeline: state rows, alpha cleanup, frame extraction, runtime atlases. Codex/Claude skill.

test: a child call that already read UTF-8 names the encoding once

Soohong Kim5961da149372
diff --git a/tests/gen/test_codex_unavailable.py b/tests/gen/test_codex_unavailable.py
index bcfdb15..8a48169 100644
--- a/tests/gen/test_codex_unavailable.py
+++ b/tests/gen/test_codex_unavailable.py
@@ -49,7 +49,7 @@ NOT_SIGNED_IN = "codex not logged in (codex login status exit 1)"
def _cli(*args: str, env: dict[str, str] | None = None) -> subprocess.CompletedProcess[str]:
- return subprocess.run([sys.executable, "-m", "sprite_gen.cli", *args], capture_output=True, encoding="utf-8",
+ return subprocess.run([sys.executable, "-m", "sprite_gen.cli", *args], capture_output=True,
encoding="utf-8", env=env, cwd=REPO_ROOT)
diff --git a/tests/spec/test_publish_rwlock_cross_process.py b/tests/spec/test_publish_rwlock_cross_process.py
index 80ffecc..6e2d69e 100644
--- a/tests/spec/test_publish_rwlock_cross_process.py
+++ b/tests/spec/test_publish_rwlock_cross_process.py
@@ -37,7 +37,6 @@ class ChildGuard:
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
encoding="utf-8",
- encoding="utf-8",
)
self.thread = threading.Thread(target=self._drain, daemon=True)
self.thread.start()