diff options
| author | Ján Jančár | 2023-10-15 23:33:50 +0200 |
|---|---|---|
| committer | GitHub | 2023-10-15 23:33:50 +0200 |
| commit | 8e9f00c2dbbd0b8a50d35f316f0002815ae5b183 (patch) | |
| tree | dea9467fca166117fa6619ae025f4051f8b9d0a7 | |
| parent | e7d67a8ecc6240d21c051e4d1458bb725046a3ef (diff) | |
| parent | 819b4e121b6a339a6dc5c915f973d2ff81926290 (diff) | |
| download | pyecsca-8e9f00c2dbbd0b8a50d35f316f0002815ae5b183.tar.gz pyecsca-8e9f00c2dbbd0b8a50d35f316f0002815ae5b183.tar.zst pyecsca-8e9f00c2dbbd0b8a50d35f316f0002815ae5b183.zip | |
Merge pull request #50 from Tomko10/fix/test-target-import
Fix import error in test_target.py
| -rw-r--r-- | test/sca/test_target.py | 2 |
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() |
