--- a/tests/test-filecache.py Thu Nov 03 17:31:14 2016 -0700
+++ b/tests/test-filecache.py Mon Oct 17 23:16:55 2016 +0200
@@ -197,7 +197,7 @@
repetition = 3
# repeat changing via checkambigatclosing, to examine whether
- # st_mtime is advanced multiple times as expecetd
+ # st_mtime is advanced multiple times as expected
for i in xrange(repetition):
# explicit closing
fp = scmutil.checkambigatclosing(open(filename, 'a'))
@@ -214,7 +214,7 @@
continue
# st_mtime should be advanced "repetition * 2" times, because
- # all changes occured at same time (in sec)
+ # all changes occurred at same time (in sec)
expected = (oldstat.st_mtime + repetition * 2) & 0x7fffffff
if newstat.st_mtime != expected:
print("'newstat.st_mtime %s is not %s (as %s + %s * 2)" %