Andreas Wacknitz
2024-03-24 3df02058fb3d48a999bbc8d5d56c2910fbc249a4
commit | author | age
ad3102 1 --- importlib_metadata-7.1.0/tests/test_api.py.orig
MT 2 +++ importlib_metadata-7.1.0/tests/test_api.py
a5b0e8 3 @@ -17,6 +17,8 @@
MT 4      version,
5  )
6  
7 +import pytest
8 +
9  
10  @contextlib.contextmanager
11  def suppress_known_deprecation():
12 @@ -198,6 +200,9 @@
13      def test_files_dist_info(self):
14          self._test_files(files('distinfo-pkg'))
15  
16 +    @pytest.mark.skip(
17 +        reason="always fails: https://github.com/python/importlib_metadata/issues/463"
18 +    )
19      def test_files_egg_info(self):
20          self._test_files(files('egginfo-pkg'))
21          self._test_files(files('egg_with_module-pkg'))
ad3102 22 --- importlib_metadata-7.1.0/tests/test_main.py.orig
MT 23 +++ importlib_metadata-7.1.0/tests/test_main.py
24 @@ -24,6 +24,8 @@
a5b0e8 25      version,
MT 26  )
27  
28 +import pytest
29 +
30  
31  @contextlib.contextmanager
32  def suppress_known_deprecation():
ad3102 33 @@ -194,6 +196,9 @@
a5b0e8 34      fixtures.DistInfoPkg,
MT 35      unittest.TestCase,
36  ):
37 +    @pytest.mark.skip(
38 +        reason="always fails: https://github.com/python/importlib_metadata/issues/479"
39 +    )
40      def test_package_discovery(self):
41          dists = list(distributions())
42          assert all(isinstance(dist, Distribution) for dist in dists)
ad3102 43 @@ -428,6 +433,9 @@
a5b0e8 44      fixtures.EggInfoPkgSourcesFallback,
MT 45      unittest.TestCase,
46  ):
47 +    @pytest.mark.skip(
48 +        reason="always fails: https://github.com/python/importlib_metadata/issues/463"
49 +    )
50      def test_packages_distributions_on_eggs(self):
51          """
52          Test old-style egg packages with a variation of 'top_level.txt',
ad3102 53 @@ -459,6 +467,9 @@
3e38a5 54  
MT 55  
56  class EditableDistributionTest(fixtures.DistInfoPkgEditable, unittest.TestCase):
57 +    @pytest.mark.skip(
58 +        reason="always fails: https://github.com/python/importlib_metadata/issues/479"
59 +    )
60      def test_origin(self):
61          dist = Distribution.from_name('distinfo-pkg')
62          assert dist.origin.url.endswith('.whl')