We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43e9377 commit ff12cb4Copy full SHA for ff12cb4
test/test_sdo.py
@@ -471,10 +471,9 @@ def test_sdo_block_upload_retransmit(self):
471
(RX, b'\xc9\x3b\x49\x00\x00\x00\x00\x00'),
472
(TX, b'\xa1\x00\x00\x00\x00\x00\x00\x00'), # --> Transfer ends without issues
473
]
474
- data = []
475
with self.network[2].sdo[0x1008].open('r', block_transfer=True) as fp:
476
data = fp.read()
477
- assert data == 39 * "the crazy fox jumps over the lazy dog\n"
+ self.assertEqual(data, 39 * 'the crazy fox jumps over the lazy dog\n')
478
479
def test_writable_file(self):
480
self.data = [
0 commit comments