1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Ole Streicher <olebole@debian.org>
Date: Tue, 2 Sep 2025 13:43:42 +0200
Subject: Disable tests that fail due to old importlib_metadata version in
Debian
See https://github.com/sunpy/sunpy/issues/7650
---
sunpy/tests/tests/test_self_test.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sunpy/tests/tests/test_self_test.py b/sunpy/tests/tests/test_self_test.py
index a63b5ef..acce79b 100644
--- a/sunpy/tests/tests/test_self_test.py
+++ b/sunpy/tests/tests/test_self_test.py
@@ -6,11 +6,13 @@ from sunpy.tests.self_test import _self_test_args
from sunpy.util.exceptions import SunpyDeprecationWarning, warn_deprecated
+@pytest.mark.xfail(reason="https://github.com/sunpy/sunpy/issues/7650")
def test_main_nonexisting_module():
with pytest.raises(ModuleNotFoundError):
sunpy.self_test(package='doesnotexist')
+@pytest.mark.xfail(reason="https://github.com/sunpy/sunpy/issues/7650")
def test_main_stdlib_module():
"""
This test makes sure that the module is really searched within the sunpy
|