diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-10-17 14:44:03 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-10-17 14:44:03 +0200 |
| commit | 870bf6095484206655f58753a12430da4569645c (patch) | |
| tree | 3a4789bed9aa7b7b4e53c0738d66f4bfdee56e8e | |
| parent | f4f89cd0080e9ee8632b42a575393ce0b7dbb987 (diff) | |
| download | python-apt-870bf6095484206655f58753a12430da4569645c.tar.gz | |
tests/test_apt_cache.py: delete test_cache_delete_leasks_fds() as its not reliable
| -rw-r--r-- | tests/test_apt_cache.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/test_apt_cache.py b/tests/test_apt_cache.py index 22c4e871..7e2ead2d 100644 --- a/tests/test_apt_cache.py +++ b/tests/test_apt_cache.py @@ -108,16 +108,6 @@ class TestAptCache(TestCase): self.assertEqual(fds_before_open, fds_after_open_twice) @if_sources_list_is_readable - def test_cache_delete_leasks_fds(self): - fds_before_open = get_open_file_descriptors() - cache = apt.Cache() - del cache - import gc - gc.collect() - fds_after_delete = get_open_file_descriptors() - self.assertEqual(fds_before_open, fds_after_delete) - - @if_sources_list_is_readable def test_cache_close_download_fails(self): cache = apt.Cache() self.assertEqual(cache.required_download, 0) |
