Skip to content

Commit 89dabaf

Browse files
committed
PEP8
1 parent ec0350c commit 89dabaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nibabel/streamlines/tests/test_tractogram.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,10 @@ def test_lazydict_creation(self):
412412
lazy_dicts += [LazyDict(DATA['data_per_streamline_func'])]
413413
lazy_dicts += [LazyDict(**DATA['data_per_streamline_func'])]
414414

415+
expected_keys = DATA['data_per_streamline_func'].keys()
415416
for data_dict in lazy_dicts:
416417
assert_true(is_lazy_dict(data_dict))
417-
assert_equal(data_dict.keys(), DATA['data_per_streamline_func'].keys())
418+
assert_equal(data_dict.keys(), expected_keys)
418419
for k in data_dict.keys():
419420
assert_array_equal(list(data_dict[k]),
420421
list(DATA['data_per_streamline'][k]))

0 commit comments

Comments
 (0)