aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_file_utils.py1
-rw-r--r--tests/test_response2numStr.py1
-rw-r--r--tests/test_tableflow.py3
3 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_file_utils.py b/tests/test_file_utils.py
index 65ea0c4..ca799f3 100644
--- a/tests/test_file_utils.py
+++ b/tests/test_file_utils.py
@@ -1,4 +1,3 @@
-import pytest
import os
from qolab.file_utils import infer_compression, save_table_with_header
diff --git a/tests/test_response2numStr.py b/tests/test_response2numStr.py
index 9bb4e8b..c098173 100644
--- a/tests/test_response2numStr.py
+++ b/tests/test_response2numStr.py
@@ -1,4 +1,3 @@
-import pytest
from qolab.hardware.scpi import response2numStr
diff --git a/tests/test_tableflow.py b/tests/test_tableflow.py
index c53437b..41f3620 100644
--- a/tests/test_tableflow.py
+++ b/tests/test_tableflow.py
@@ -11,7 +11,7 @@ def test_table_load_noinputs():
def test_wrong_comment_in_table_file_to_load():
- with pytest.raises(Exception) as exc_info:
+ with pytest.raises(Exception):
# should raise ParserError
tblfl.loadInOutTables(
inputFileName="tests/tableflow_test_data/tableIn1.csv",
@@ -113,7 +113,6 @@ def test_reflowTable():
outputFileName="tests/tableflow_test_data/tableOut1pariallyProcessed.csv",
comment="#",
)
- tOutRef = tOut.copy()
# check for warnings
with pytest.warns(UserWarning):
tblfl.reflowTable(tIn, tOut)