Skip to content

Commit 95185fa

Browse files
committed
Improve the explanatory comment at the top of check_consistent.py
1 parent b336182 commit 95185fa

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/check_consistent.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#!/usr/bin/env python3
22

3-
# Symlinks are bad on Windows, so we cannot use them in typeshed.
4-
# This checks that certain files are duplicated exactly.
3+
# For various reasons we need the contents of certain files to be
4+
# duplicated in two places, for example stdlib/2and3/builtins.pyi and
5+
# stdlib/2/__builtin__.pyi must be identical. In the past we used
6+
# symlinks but that doesn't always work on Windows, so now you must
7+
# manually update both files, and this test verifies that they are
8+
# identical. The list below indicates which sets of files must match.
59

610
import os
711
import filecmp

0 commit comments

Comments
 (0)