Simplify test_getitem
This commit is contained in:
parent
bb44f1d4cc
commit
7cebd95936
@ -84,8 +84,7 @@ def test_start_no_items(hist):
|
|||||||
|
|
||||||
def test_getitem(hist):
|
def test_getitem(hist):
|
||||||
"""Test __getitem__."""
|
"""Test __getitem__."""
|
||||||
for i in range(0, len(HISTORY)):
|
assert hist[0] == HISTORY[0]
|
||||||
assert hist[i] == HISTORY[i]
|
|
||||||
|
|
||||||
|
|
||||||
def test_setitem(hist):
|
def test_setitem(hist):
|
||||||
|
Loading…
Reference in New Issue
Block a user