From 870bf6095484206655f58753a12430da4569645c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 17 Oct 2012 14:44:03 +0200 Subject: tests/test_apt_cache.py: delete test_cache_delete_leasks_fds() as its not reliable --- tests/test_apt_cache.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests') 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 @@ -107,16 +107,6 @@ class TestAptCache(TestCase): fds_after_open_twice = get_open_file_descriptors() 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() -- cgit v1.2.3