summaryrefslogtreecommitdiff
path: root/Cython/TestUtils.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2021-07-03 14:49:22 +0200
committerStefan Behnel <stefan_ml@behnel.de>2021-07-03 14:49:22 +0200
commite17c8e547571e648cb342aceceec40bfe2d48926 (patch)
tree51af0f1e789eae4b6db4d3c0f84b16d494e35ff1 /Cython/TestUtils.py
parentf7eb64034890495654e0728f0362c848348c6674 (diff)
downloadcython-e17c8e547571e648cb342aceceec40bfe2d48926.tar.gz
Extend somment.
Diffstat (limited to 'Cython/TestUtils.py')
-rw-r--r--Cython/TestUtils.py2
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):