mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merged revisions 76055 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76055 | antoine.pitrou | 2009-11-02 12:36:51 +0100 (lun., 02 nov. 2009) | 13 lines Merged revisions 76034,76054 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76034 | antoine.pitrou | 2009-11-01 22:29:33 +0100 (dim., 01 nov. 2009) | 3 lines This should finally fix #6896. Let's watch the buildbots. ........ r76054 | antoine.pitrou | 2009-11-02 12:34:27 +0100 (lun., 02 nov. 2009) | 3 lines Since r76034 was successful, add a NEWS entry for it. ........ ................
This commit is contained in:
parent
628b41f2bd
commit
868b578929
3 changed files with 19 additions and 1 deletions
|
@ -673,6 +673,9 @@ class TestMaildir(TestMailbox):
|
|||
self.assertEqual(self._box._lookup(key0), os.path.join('new', key0))
|
||||
os.remove(os.path.join(self._path, 'new', key0))
|
||||
self.assertEqual(self._box._toc, {key0: os.path.join('new', key0)})
|
||||
# Be sure that the TOC is read back from disk (see issue #6896
|
||||
# about bad mtime behaviour on some systems).
|
||||
self._box.flush()
|
||||
self.assertRaises(KeyError, lambda: self._box._lookup(key0))
|
||||
self.assertEqual(self._box._toc, {})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue