Skip to content

Commit 2d1de0b

Browse files
committed
sort tutorial names to run sequenciually
1 parent 0d13ee8 commit 2d1de0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/wheels/test_tutorials.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
continue
3333
py_tutorials.append(f)
3434

35+
py_tutorials = sorted(py_tutorials, key=lambda p: p.name)
3536

3637
def test_tutorials_are_detected():
3738
assert len(py_tutorials) > 0
@@ -74,6 +75,7 @@ def test_tutorial(tutorial):
7475
continue
7576
cpp_tutorials.append(f)
7677

78+
cpp_tutorials = sorted(cpp_tutorials, key=lambda p: p.name)
7779

7880
def test_cpp_tutorials_are_detected():
7981
assert len(cpp_tutorials) > 0

0 commit comments

Comments
 (0)