Skip to content

Commit a941bd6

Browse files
pythongh-104683: Rename Lib/test/clinic.test as Lib/test/clinic.test.c (python#106443)
1 parent ad07568 commit a941bd6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
File renamed without changes.

Diff for: Lib/test/test_clinic.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1089,15 +1089,16 @@ class ClinicExternalTest(TestCase):
10891089
maxDiff = None
10901090

10911091
def test_external(self):
1092+
CLINIC_TEST = 'clinic.test.c'
10921093
# bpo-42398: Test that the destination file is left unchanged if the
10931094
# content does not change. Moreover, check also that the file
10941095
# modification time does not change in this case.
1095-
source = support.findfile('clinic.test')
1096+
source = support.findfile(CLINIC_TEST)
10961097
with open(source, 'r', encoding='utf-8') as f:
10971098
orig_contents = f.read()
10981099

10991100
with os_helper.temp_dir() as tmp_dir:
1100-
testfile = os.path.join(tmp_dir, 'clinic.test.c')
1101+
testfile = os.path.join(tmp_dir, CLINIC_TEST)
11011102
with open(testfile, 'w', encoding='utf-8') as f:
11021103
f.write(orig_contents)
11031104
old_mtime_ns = os.stat(testfile).st_mtime_ns

0 commit comments

Comments
 (0)