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