prefix unused variables

This commit is contained in:
Jan Petykiewicz 2024-07-29 03:54:16 -07:00
parent d05561af41
commit 5ea5e8d8f9
3 changed files with 9 additions and 9 deletions

View File

@ -113,7 +113,7 @@ def test_file_3() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidRecordError): with pytest.raises(InvalidRecordError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
def write_file_4(buf: IO[bytes]) -> IO[bytes]: def write_file_4(buf: IO[bytes]) -> IO[bytes]:
@ -226,7 +226,7 @@ def test_file_6() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
#base_tests(layout) #base_tests(layout)
#assert len(layout.cellnames) == 2 #assert len(layout.cellnames) == 2

View File

@ -1065,7 +1065,7 @@ def test_file_8() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
def test_file_9() -> None: def test_file_9() -> None:
@ -1075,4 +1075,4 @@ def test_file_9() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)

View File

@ -494,7 +494,7 @@ def test_file_3() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidRecordError): with pytest.raises(InvalidRecordError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
def write_file_4(buf: IO[bytes]) -> IO[bytes]: def write_file_4(buf: IO[bytes]) -> IO[bytes]:
@ -567,7 +567,7 @@ def test_file_6() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
def write_file_7(buf: IO[bytes]) -> IO[bytes]: def write_file_7(buf: IO[bytes]) -> IO[bytes]:
@ -598,7 +598,7 @@ def test_file_7() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
def write_file_8(buf: IO[bytes]) -> IO[bytes]: def write_file_8(buf: IO[bytes]) -> IO[bytes]:
@ -629,7 +629,7 @@ def test_file_8() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)
def write_file_9(buf: IO[bytes]) -> IO[bytes]: def write_file_9(buf: IO[bytes]) -> IO[bytes]:
@ -732,4 +732,4 @@ def test_file_11() -> None:
buf.seek(0) buf.seek(0)
with pytest.raises(InvalidDataError): with pytest.raises(InvalidDataError):
layout = OasisLayout.read(buf) _layout = OasisLayout.read(buf)