suppress SetuptoolsDeprecationWarning in test suite

pull/3407/head^2
sebres 2024-07-04 19:06:36 +02:00
parent 599ec5e01e
commit 8170e9fe75
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ class SetupTest(unittest.TestCase):
# suppress stdout (and stderr) if not heavydebug
supdbgout = ' >/dev/null' if unittest.F2B.log_level >= logging.DEBUG else '' # HEAVYDEBUG
try:
self.assertEqual(os.system("%s %s install --root=%s%s"
self.assertEqual(os.system("%s -W 'ignore:setup.py install is deprecated' %s install --root=%s%s"
% (sys.executable, self.setup, tmp, supdbgout)), 0)
def strippath(l):