We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f625679 commit e125009Copy full SHA for e125009
test/unit/security_test.py
@@ -4,6 +4,7 @@
4
import subprocess
5
from contextlib import contextmanager
6
from inspect import cleandoc
7
+from typing import Type
8
from unittest import mock
9
10
import pytest
@@ -475,7 +476,7 @@ def test_from_json(json_file, expected):
475
476
),
477
],
478
)
-def test_from_prefix(prefix: str, expected: security.VulnerabilitySource | None):
479
+def test_from_prefix(prefix: str, expected):
480
assert security.VulnerabilitySource.from_prefix(prefix) == expected
481
482
0 commit comments