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 306da34 commit 0f2115fCopy full SHA for 0f2115f
1 file changed
test/test_eds.py
@@ -65,6 +65,8 @@ def test_load_unsupported_format(self):
65
canopen.import_od(__file__)
66
with self.assertRaisesRegex(ValueError, "''"):
67
canopen.import_od('')
68
+ with self.assertRaisesRegex(ValueError, "''"):
69
+ canopen.import_od(object())
70
71
filelike_object = io.StringIO() # no .name attribute
72
self.addCleanup(filelike_object.close)
0 commit comments