commit: ffc8e3bd69757580edaa0bd029bc09bdcfcf7798
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 2 11:09:47 2026 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 2 11:09:47 2026 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=ffc8e3bd
rename {snakeoil.contexts -> contextlib}.chdir
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
tests/scripts/test_pkgcheck_scan.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/scripts/test_pkgcheck_scan.py
b/tests/scripts/test_pkgcheck_scan.py
index bb9ad6bc..7aee972e 100644
--- a/tests/scripts/test_pkgcheck_scan.py
+++ b/tests/scripts/test_pkgcheck_scan.py
@@ -9,6 +9,7 @@ import subprocess
import textwrap
import typing
from collections import defaultdict
+from contextlib import chdir
from dataclasses import dataclass
from functools import partial
from io import StringIO
@@ -20,7 +21,7 @@ import pytest
from pkgcore import const as pkgcore_const
from pkgcore.ebuild import atom, restricts
from pkgcore.restrictions import packages
-from snakeoil.contexts import chdir, os_environ
+from snakeoil.contexts import os_environ
from snakeoil.fileutils import touch
from snakeoil.formatters import PlainTextFormatter