projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
31b92a5
c153cd3
)
Merge branch 3.2
author
Petri Lehtinen
<petri@digip.org>
Sat, 12 Nov 2011 19:15:12 +0000
(21:15 +0200)
committer
Petri Lehtinen
<petri@digip.org>
Sat, 12 Nov 2011 19:15:24 +0000
(21:15 +0200)
1
2
Lib/test/test_mailbox.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
Lib/test/test_mailbox.py
index 17aebc7a714f71248716bf677671a36795b9086b,007c419b9decaf53133566351d07b2e83efa5786..a1c684e0c56861a9e7798289a5d0a6141f297eb9
---
1
/
Lib/test/test_mailbox.py
---
2
/
Lib/test/test_mailbox.py
+++ b/
Lib/test/test_mailbox.py
@@@
-921,9
-926,11
+926,10
@@@
class TestMaildir(TestMailbox)
self.assertFalse(refreshed())
# Now, write something into cur and remove it. This changes
- # the mtime and should cause a re-read.
+ # the mtime and should cause a re-read. Note that "sleep
+ # emulation" is still in effect, as skewfactor is -3.
filename = os.path.join(self._path, 'cur', 'stray-file')
- f = open(filename, 'w')
- f.close()
+ support.create_empty_file(filename)
os.unlink(filename)
self._box._refresh()
self.assertTrue(refreshed())