aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 19:36:59 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2024-07-13 19:36:59 -0400
commitd2102eb8d70e8e510eec1c6a85da67e0b40d1d49 (patch)
tree507ba05709c2afaa399c154fc500ee6255674fd5 /tests
parent4da288f9438b75e55bafee892796bc83292c5062 (diff)
downloadqolab-d2102eb8d70e8e510eec1c6a85da67e0b40d1d49.tar.gz
qolab-d2102eb8d70e8e510eec1c6a85da67e0b40d1d49.zip
flake9 linter satisfaction
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)