Skip to content

Commit

Permalink
Another attempt to fix mypy number 2
Browse files Browse the repository at this point in the history
  • Loading branch information
hbldh committed Apr 29, 2024
1 parent 9b71945 commit 0dba57f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_exceptions.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
from builtins import type as Type
from collections import namedtuple
import sys
from typing import Union

import pytest

import bankid


if sys.version_info >= (3, 9):
from builtins import type as Type
else:
# Remove once PyBankID no longer support Python 3.8 or lower
from typing import Type


@pytest.mark.parametrize(
Expand Down

0 comments on commit 0dba57f

Please sign in to comment.