Skip to content

Commit 476d106

Browse files
Requested changes
Tá cosc ar an nGaeilge :-(
1 parent 6838563 commit 476d106

2 files changed

Lines changed: 17 additions & 19 deletions

File tree

.github/CODEOWNERS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,10 @@
6363
.azure-pipelines/ @AA-Turner
6464

6565
# GitHub & related scripts
66-
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz
67-
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz
68-
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
66+
.github/ @ezio-melotti @hugovk @AA-Turner @webknjaz
67+
Tools/build/compute-changes.py @AA-Turner @hugovk @webknjaz
68+
Lib/test/test_tools/test_compute_changes.py @AA-Turner @hugovk @webknjaz
69+
Tools/build/verify_ensurepip_wheels.py @AA-Turner @pfmoore @pradyunsg
6970

7071
# Pre-commit
7172
.pre-commit-config.yaml @hugovk

Lib/test/test_tools/test_compute_changes.py

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,11 @@ def test_windows(self):
3434
self.assertTrue(result.run_windows_tests)
3535

3636
def test_docs(self):
37-
files = (
37+
for f in (
3838
".github/workflows/reusable-docs.yml",
3939
"Doc/library/datetime.rst",
40-
"Doc/Makefile"
41-
)
42-
for f in files:
40+
"Doc/Makefile",
41+
):
4342
with self.subTest(f=f):
4443
result = process_changed_files({Path(f)})
4544
self.assertTrue(result.run_docs)
@@ -49,7 +48,7 @@ def test_ci_fuzz_stdlib(self):
4948
for p in LIBRARY_FUZZER_PATHS:
5049
with self.subTest(p=p):
5150
if p.is_dir():
52-
f = p / "comhad"
51+
f = p / "file"
5352
elif p.is_file():
5453
f = p
5554
else:
@@ -60,15 +59,15 @@ def test_ci_fuzz_stdlib(self):
6059
def test_android(self):
6160
for d in ANDROID_DIRS:
6261
with self.subTest(d=d):
63-
result = process_changed_files({Path(d) / "comhad"})
62+
result = process_changed_files({Path(d) / "file"})
6463
self.assertTrue(result.run_tests)
6564
self.assertTrue(result.run_android)
6665
self.assertFalse(result.run_windows_tests)
6766

6867
def test_ios(self):
6968
for d in IOS_DIRS:
7069
with self.subTest(d=d):
71-
result = process_changed_files({Path(d) / "comhad"})
70+
result = process_changed_files({Path(d) / "file"})
7271
self.assertTrue(result.run_tests)
7372
self.assertTrue(result.run_ios)
7473
self.assertFalse(result.run_windows_tests)
@@ -81,7 +80,7 @@ def test_macos(self):
8180

8281
for d in MACOS_DIRS:
8382
with self.subTest(d=d):
84-
result = process_changed_files({Path(d) / "comhad"})
83+
result = process_changed_files({Path(d) / "file"})
8584
self.assertTrue(result.run_tests)
8685
self.assertTrue(result.run_macos)
8786
self.assertFalse(result.run_windows_tests)
@@ -94,7 +93,7 @@ def test_wasi(self):
9493

9594
for d in WASI_DIRS:
9695
with self.subTest(d=d):
97-
result = process_changed_files({d / "comhad"})
96+
result = process_changed_files({d / "file"})
9897
self.assertTrue(result.run_tests)
9998
self.assertTrue(result.run_wasi)
10099
self.assertFalse(result.run_windows_tests)
@@ -107,21 +106,19 @@ def test_unix(self):
107106
self.assertFalse(result.run_windows_tests)
108107

109108
def test_msi(self):
110-
files = (
109+
for f in (
111110
".github/workflows/reusable-windows-msi.yml",
112111
"Tools/msi/build.bat",
113-
)
114-
for f in files:
112+
):
115113
with self.subTest(f=f):
116114
result = process_changed_files({Path(f)})
117115
self.assertTrue(result.run_windows_msi)
118116

119117
def test_all_run(self):
120-
files = [
118+
for f in (
121119
".github/workflows/some-new-workflow.yml",
122120
".github/workflows/build.yml",
123-
]
124-
for f in files:
121+
):
125122
with self.subTest(f=f):
126123
result = process_changed_files({Path(f)})
127124
self.assertTrue(result.run_tests)
@@ -137,7 +134,7 @@ def test_all_ignored(self):
137134
self.assertEqual(process_changed_files({Path(f)}), Outputs())
138135

139136
def test_wasi_and_android(self):
140-
f = {Path(".github/workflows/reusable-wasi.yml"), Path("Android/comhad")}
137+
f = {Path(".github/workflows/reusable-wasi.yml"), Path("Android/file")}
141138
result = process_changed_files(f)
142139
self.assertTrue(result.run_tests)
143140
self.assertTrue(result.run_wasi)

0 commit comments

Comments
 (0)