From 5ea5e8d8f96e215acbde3e94f765bf5cd16168bb Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 29 Jul 2024 03:54:16 -0700 Subject: [PATCH] prefix unused variables --- fatamorgana/test/test_files_cells.py | 4 ++-- fatamorgana/test/test_files_properties.py | 4 ++-- fatamorgana/test/test_files_texts.py | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fatamorgana/test/test_files_cells.py b/fatamorgana/test/test_files_cells.py index 59bc6d4..285bd08 100644 --- a/fatamorgana/test/test_files_cells.py +++ b/fatamorgana/test/test_files_cells.py @@ -113,7 +113,7 @@ def test_file_3() -> None: buf.seek(0) with pytest.raises(InvalidRecordError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) def write_file_4(buf: IO[bytes]) -> IO[bytes]: @@ -226,7 +226,7 @@ def test_file_6() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) #base_tests(layout) #assert len(layout.cellnames) == 2 diff --git a/fatamorgana/test/test_files_properties.py b/fatamorgana/test/test_files_properties.py index 99bdc37..0100318 100644 --- a/fatamorgana/test/test_files_properties.py +++ b/fatamorgana/test/test_files_properties.py @@ -1065,7 +1065,7 @@ def test_file_8() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) def test_file_9() -> None: @@ -1075,4 +1075,4 @@ def test_file_9() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) diff --git a/fatamorgana/test/test_files_texts.py b/fatamorgana/test/test_files_texts.py index 0d10744..2603691 100644 --- a/fatamorgana/test/test_files_texts.py +++ b/fatamorgana/test/test_files_texts.py @@ -494,7 +494,7 @@ def test_file_3() -> None: buf.seek(0) with pytest.raises(InvalidRecordError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) def write_file_4(buf: IO[bytes]) -> IO[bytes]: @@ -567,7 +567,7 @@ def test_file_6() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) def write_file_7(buf: IO[bytes]) -> IO[bytes]: @@ -598,7 +598,7 @@ def test_file_7() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) def write_file_8(buf: IO[bytes]) -> IO[bytes]: @@ -629,7 +629,7 @@ def test_file_8() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf) def write_file_9(buf: IO[bytes]) -> IO[bytes]: @@ -732,4 +732,4 @@ def test_file_11() -> None: buf.seek(0) with pytest.raises(InvalidDataError): - layout = OasisLayout.read(buf) + _layout = OasisLayout.read(buf)