Skip to content

Commit 7ee2325

Browse files
Apply suggestions from code review
Co-authored-by: SarahAlidoost <55081872+SarahAlidoost@users.noreply.github.com>
1 parent 866c58e commit 7ee2325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ def test_stack_pointselection_nan(self):
103103
threshold=100, method="amplitude_dispersion"
104104
)
105105
assert stm.space.shape[0] == 99 # only the nan is removed
106-
assert set([k for k in stm.coords.keys()]).issubset(
106+
assert set(list(stm.coords.keys())).issubset(
107107
["time", "azimuth", "range"]
108108
)
109-
assert set([d for d in stm.data_vars.keys()]).issubset(
109+
assert set(list(stm.data_vars.keys())).issubset(
110110
["complex", "amplitude", "phase"]
111111
)
112112

0 commit comments

Comments
 (0)