mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[tests] warning filter improved
This commit is contained in:
@@ -11,7 +11,7 @@ class PacmanTest(TestCase):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
warnings.filterwarnings('ignore')
|
warnings.filterwarnings('ignore', category=DeprecationWarning)
|
||||||
|
|
||||||
def test_list_ignored_packages(self):
|
def test_list_ignored_packages(self):
|
||||||
ignored = pacman.list_ignored_packages(FILE_DIR + '/resources/pacman_ign_pkgs.conf')
|
ignored = pacman.list_ignored_packages(FILE_DIR + '/resources/pacman_ign_pkgs.conf')
|
||||||
|
|||||||
Reference in New Issue
Block a user