Thanks to visit codestin.com Credit goes to github.com
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 96d3c3c commit d11304aCopy full SHA for d11304a
intelhex/test.py
@@ -680,6 +680,9 @@ def getitem(index):
680
self.assertEqual({2:3, 10:4}, ih[2:].todict())
681
self.assertEqual({0:1, 2:3, 10:4}, ih[::2].todict())
682
self.assertEqual({10:4}, ih[3:11].todict())
683
+ # https://github.com/python-intelhex/intelhex/issues/52
684
+ self.assertEqual({}, ih[0:0].todict())
685
+ self.assertEqual({}, ih[1:1].todict())
686
687
def test__setitem__(self):
688
ih = IntelHex()
0 commit comments