dev-python/pyfakefs: skip test needing dev-python/openpyxl

We could add it as a test dep but it's a single test:
> FAILED pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel - ImportError: Missing optional dependency 'openpyxl'.  Use pip or conda to install openpyxl.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-08-07 23:16:25 +01:00
parent e14cbe784e
commit df26fa6f08
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
2 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,8 @@ python_test() {
local EPYTEST_DESELECT=(
# requires *.dist-info/RECORD file that we're stripping
pyfakefs/tests/fake_filesystem_test.py::RealFileSystemAccessTest::test_add_package_metadata
# wants dev-python/openpyxl
pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel
)
local EPYTEST_IGNORE=(
# test for regression with opentimelineio package

View File

@ -29,6 +29,8 @@ python_test() {
local EPYTEST_DESELECT=(
# requires *.dist-info/RECORD file that we're stripping
pyfakefs/tests/fake_filesystem_test.py::RealFileSystemAccessTest::test_add_package_metadata
# wants dev-python/openpyxl
pyfakefs/tests/patched_packages_test.py::TestPatchedPackages::test_read_excel
)
local EPYTEST_IGNORE=(
# test for regression with opentimelineio package