fmt: update to 11.1.2
[oi-userland.git] / components / python / Cython / patches / 01-test-sorted-list.patch
blobed1fb6da2434297b126449b2d4215cd8efcca38b
1 Make sure the order of tests does not change between test runs.
3 --- cython-3.0.11/runtests.py.orig
4 +++ cython-3.0.11/runtests.py
5 @@ -1932,6 +1932,8 @@
6 skipped_dirs = ['Cython' + os.path.sep + 'Debugger' + os.path.sep]
8 for dirpath, dirnames, filenames in os.walk(path):
9 + dirnames.sort()
10 + filenames.sort()
11 if dirpath != path and "__init__.py" not in filenames:
12 skipped_dirs.append(dirpath + os.path.sep)
13 continue
14 @@ -1973,6 +1975,8 @@
15 filename in excludelist)
16 import doctest
17 for dirpath, dirnames, filenames in os.walk(path):
18 + dirnames.sort()
19 + filenames.sort()
20 for dir in list(dirnames):
21 if not package_matches(dir):
22 dirnames.remove(dir)