diff options
Diffstat (limited to 'Cython/TestUtils.py')
-rw-r--r-- | Cython/TestUtils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/TestUtils.py b/Cython/TestUtils.py index 6e8c255d9..d5abacaa6 100644 --- a/Cython/TestUtils.py +++ b/Cython/TestUtils.py @@ -249,7 +249,7 @@ def write_newer_file(file_path, newer_than, content, dedent=False): try: other_time = os.path.getmtime(newer_than) except OSError: - # Support + # Support writing a fresh file (which is always newer than a non-existant one) other_time = None while other_time is None or other_time >= os.path.getmtime(file_path): |