Skip to content

Commit fffe03b

Browse files
committed
test
1 parent 172ceb3 commit fffe03b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/tests_pytorch/loggers/test_utilities.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def test_listmap_getitem():
8787
lm = _ListMap([1, 2])
8888
assert lm[0] == 1
8989
assert lm[1] == 2
90+
assert lm[-1] == 2
91+
assert lm[0:2] == [1, 2]
9092

9193

9294
def test_listmap_setitem():

0 commit comments

Comments
 (0)