diff options
author | hut <hut@lavabit.com> | 2010-01-13 20:57:54 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-13 20:57:54 +0100 |
commit | 63502bea559898d5e79738659424fe3875f913ad (patch) | |
tree | 611ca776659ba157733a9ac608c0207a2f680285 /test/tc_directory.py | |
parent | f70ee6b2209af6785cf9a030b1a8893f09a770ac (diff) | |
download | ranger-63502bea559898d5e79738659424fe3875f913ad.tar.gz |
fsobject.directory: removed __getitem__ (too ambiguous)
Diffstat (limited to 'test/tc_directory.py')
-rw-r--r-- | test/tc_directory.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/tc_directory.py b/test/tc_directory.py index 45b58cf5..7634de0e 100644 --- a/test/tc_directory.py +++ b/test/tc_directory.py @@ -24,7 +24,6 @@ class Test1(unittest.TestCase): self.assertEqual(dir.filenames, None) self.assertEqual(dir.files, None) self.assertRaises(fsobject.NotLoadedYet, len, dir) - self.assertRaises(fsobject.NotLoadedYet, dir.__getitem__, 0) def test_after_content_loaded(self): import os @@ -66,7 +65,6 @@ class Test1(unittest.TestCase): self.assertFalse(dir.accessible) self.assertEqual(dir.filenames, None) self.assertRaises(fsobject.NotLoadedYet, len, dir) - self.assertRaises(fsobject.NotLoadedYet, dir.__getitem__, 0) def test_load_if_outdated(self): import os |