Skip to content

Commit d126126

Browse files
committed
Refactor loop syntax in verify_python_in_jupyter_container test
1 parent 875799b commit d126126

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

crates/pet/tests/ci_jupyter_container.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,7 @@ fn verify_python_in_jupyter_contaner() {
9999
..Default::default()
100100
};
101101

102-
for env in [
103-
conda,
104-
current_python,
105-
usr_bin_python,
106-
]
107-
.iter()
108-
{
102+
for env in [conda, current_python, usr_bin_python].iter() {
109103
let python_env = environments
110104
.iter()
111105
.find(|e| e.executable == env.executable)

0 commit comments

Comments
 (0)