Skip to content

Commit 6c5f43e

Browse files
author
Thomas Lemon
committed
move Keithley2600Channel to if TYPE_CHECKING block.
1 parent 5e6166e commit 6c5f43e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/drivers/test_keithley_26xx.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
from collections import Counter
2-
from typing import cast
2+
from typing import TYPE_CHECKING, cast
33
from unittest.mock import patch
44

55
import numpy as np
66
import pytest
77

88
from qcodes.dataset import LinSweep
99
from qcodes.instrument_drivers.Keithley import (
10-
Keithley2600Channel,
1110
Keithley2600MeasurementStatus,
1211
Keithley2614B,
1312
)
1413

14+
if TYPE_CHECKING:
15+
from qcodes.instrument_drivers.Keithley import Keithley2600Channel
16+
1517

1618
@pytest.fixture(scope="function", name="driver")
1719
def _make_driver():

0 commit comments

Comments
 (0)