diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-09-20 15:52:21 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-09-20 15:52:21 (GMT) |
commit | c6bb6c0f8c90f5f14d933b974db4c3ce2c7b296f (patch) | |
tree | 9a27b32b9463ffbd3264800ac7f138022f58f685 /Lib/test/test_dircache.py | |
parent | a64988c001d21335d47451586654702caec8aa1f (diff) | |
download | cpython-c6bb6c0f8c90f5f14d933b974db4c3ce2c7b296f.zip cpython-c6bb6c0f8c90f5f14d933b974db4c3ce2c7b296f.tar.gz cpython-c6bb6c0f8c90f5f14d933b974db4c3ce2c7b296f.tar.bz2 |
Patch #707167: Pass dircache exceptions to the caller. Fixes #682813.
Not backported because of behaviour change.
Diffstat (limited to 'Lib/test/test_dircache.py')
-rw-r--r-- | Lib/test/test_dircache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dircache.py b/Lib/test/test_dircache.py index 2ec89a2..52014e2 100644 --- a/Lib/test/test_dircache.py +++ b/Lib/test/test_dircache.py @@ -56,7 +56,7 @@ class DircacheTests(unittest.TestCase): self.assert_(dircache.listdir(self.tempdir) is entries) ## UNSUCCESSFUL CASES - self.assertEquals(dircache.listdir(self.tempdir+"_nonexistent"), []) + self.assertRaises(OSError, dircache.listdir, self.tempdir+"_nonexistent") def test_annotate(self): self.writeTemp("test2") |