Skip to content

Commit 2209377

Browse files
.
1 parent 9fa6761 commit 2209377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integrations/pyramid/test_pyramid.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
try:
2020
from importlib.metadata import version
2121

22-
PYRAMID_VERSION = Version(version("pyramid"))
22+
PYRAMID_VERSION = Version(version("pyramid")).release
2323

2424
except ImportError:
2525
# < py3.8
@@ -312,7 +312,7 @@ def errorhandler(exc, request):
312312

313313

314314
@pytest.mark.skipif(
315-
PYRAMID_VERSION < Version("1.9"),
315+
PYRAMID_VERSION < (1, 9),
316316
reason="We don't have the right hooks in older Pyramid versions",
317317
)
318318
def test_errorhandler_500(

0 commit comments

Comments
 (0)