Skip to content

Commit a1d684a

Browse files
committed
test_read_wrong_id fix
1 parent c926f51 commit a1d684a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_v4_blocks/test_atblock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_read_wrong_id(self) -> None:
5454
stream.write(b"_NOK")
5555

5656
with self.assertRaises(MdfException):
57-
AttachmentBlock(address=97, stream=stream)
57+
AttachmentBlock(address=97, stream=stream, file_limit=1<<20)
5858

5959
def test_bytes_compressed(self) -> None:
6060
attachment = AttachmentBlock(file_name=self.filename, data=self.data, embedded=True, compression=True)

0 commit comments

Comments
 (0)