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 172ceb3 commit fffe03bCopy full SHA for fffe03b
tests/tests_pytorch/loggers/test_utilities.py
@@ -87,6 +87,8 @@ def test_listmap_getitem():
87
lm = _ListMap([1, 2])
88
assert lm[0] == 1
89
assert lm[1] == 2
90
+ assert lm[-1] == 2
91
+ assert lm[0:2] == [1, 2]
92
93
94
def test_listmap_setitem():
0 commit comments