From c9f5d613a914a809791419af5c20ca0395d61aad Mon Sep 17 00:00:00 2001 From: Christian Darsow-Fromm <cdarsowf@physnet.uni-hamburg.de> Date: Wed, 18 Dec 2019 15:12:54 +0100 Subject: [PATCH] small things --- .../test_importers/data_files/ASCII_Header/header_#.csv | 6 +++--- .../test_data_container_csv/test_data_container_csv.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/tests/test_io/test_importers/data_files/ASCII_Header/header_#.csv b/src/tests/test_io/test_importers/data_files/ASCII_Header/header_#.csv index 63e43fa..4aeec94 100644 --- a/src/tests/test_io/test_importers/data_files/ASCII_Header/header_#.csv +++ b/src/tests/test_io/test_importers/data_files/ASCII_Header/header_#.csv @@ -2,9 +2,9 @@ ## It continues at the next line. ## And another line ## with newline. -#voltage, 5 V -#speed: 6 m/s -#septab 7 +# voltage, 5 V +# speed: 6 m/s +# septab 7 time values +1.280000e+002 -4.078996e+001 +2.560000e+002 -5.155923e+001 diff --git a/src/tests/test_io/test_importers/test_data_container_csv/test_data_container_csv.py b/src/tests/test_io/test_importers/test_data_container_csv/test_data_container_csv.py index 7cb8f83..c552986 100644 --- a/src/tests/test_io/test_importers/test_data_container_csv/test_data_container_csv.py +++ b/src/tests/test_io/test_importers/test_data_container_csv/test_data_container_csv.py @@ -8,13 +8,13 @@ from openqlab.io.importers.data_container_csv import DataContainerCSV from openqlab.io.importers.utils import ImportFailed, UnknownFileType filedir = Path(__file__).parent -datadir = f"{filedir}/../data_files" +datadir = filedir / "../data_files" class TestDataContainerCSV(unittest.TestCase): importer = DataContainerCSV - files_path = Path(datadir) - supported_files_path = Path(fr"{datadir}/DataContainerCSV") + files_path = datadir + supported_files_path = datadir / "DataContainerCSV" def read_file(self, file): try: -- GitLab