We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fa6761 commit 2209377Copy full SHA for 2209377
tests/integrations/pyramid/test_pyramid.py
@@ -19,7 +19,7 @@
19
try:
20
from importlib.metadata import version
21
22
- PYRAMID_VERSION = Version(version("pyramid"))
+ PYRAMID_VERSION = Version(version("pyramid")).release
23
24
except ImportError:
25
# < py3.8
@@ -312,7 +312,7 @@ def errorhandler(exc, request):
312
313
314
@pytest.mark.skipif(
315
- PYRAMID_VERSION < Version("1.9"),
+ PYRAMID_VERSION < (1, 9),
316
reason="We don't have the right hooks in older Pyramid versions",
317
)
318
def test_errorhandler_500(
0 commit comments