diff options
Diffstat (limited to 'testenv/tests/validators/test_net.py')
-rw-r--r-- | testenv/tests/validators/test_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testenv/tests/validators/test_net.py b/testenv/tests/validators/test_net.py index 14f2b57c..a67fbeff 100644 --- a/testenv/tests/validators/test_net.py +++ b/testenv/tests/validators/test_net.py @@ -147,7 +147,7 @@ def test_fail__valid_rfc_host(arg: Any) -> None: @pytest.mark.parametrize("arg", ["0 ", 0, "22", 443, 65535]) def test_ok__valid_port(arg: Any) -> None: value = valid_port(arg) - assert type(value) == int # pylint: disable=unidiomatic-typecheck + assert type(value) is int # pylint: disable=unidiomatic-typecheck assert value == int(str(arg).strip()) |