aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/sca/test_target.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sca/test_target.py b/test/sca/test_target.py
index 96dc081..ac0c8c8 100644
--- a/test/sca/test_target.py
+++ b/test/sca/test_target.py
@@ -5,7 +5,6 @@ from copy import copy
import pytest
from importlib_resources import files, as_file
-from smartcard.pcsc.PCSCExceptions import BaseSCardException
import test.data.sca
from pyecsca.ec.key_agreement import ECDH_SHA1
from pyecsca.ec.key_generation import KeyGeneration
@@ -88,6 +87,7 @@ def target():
if not has_pyscard:
pytest.skip("No pyscard.")
from smartcard.System import readers
+ from smartcard.pcsc.PCSCExceptions import BaseSCardException
rs = None
try:
rs = readers()