tests docs: update python3 venv packages

- Package update performed by
  1. updating pip, pip-tools, setuptools
  2. 'make test-refresh-deps' on ubuntu 22.04
  3. fixing 'make test' and 'make docs' issues
     on ubuntu 22.04
  4. 'make test-refresh-deps' on ubuntu 20.04
- Add dependency for 'make test-refresh-deps'
  to insure python venv is set up.
- Update of python formatter, black,
  caused reformating of 41 python code
  files.

Type: make

Change-Id: I7cafdf4b5189065ac57cb6b254937f6e0897a924
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
Dave Wallace
2023-08-15 19:05:26 -04:00
committed by Andrew Yourtchenko
parent d826a60269
commit 7b8b465269
45 changed files with 583 additions and 471 deletions

View File

@ -1002,7 +1002,7 @@ class VppTestCase(CPUInterface, unittest.TestCase):
@classmethod
def pg_start(cls, trace=True):
"""Enable the PG, wait till it is done, then clean up"""
for (intf, worker) in cls._old_pcaps:
for intf, worker in cls._old_pcaps:
intf.handle_old_pcap_file(intf.get_in_path(worker), intf.in_history_counter)
cls._old_pcaps = []
if trace:
@ -1435,7 +1435,6 @@ class VppTestCase(CPUInterface, unittest.TestCase):
@classmethod
def sleep(cls, timeout, remark=None):
# /* Allow sleep(0) to maintain win32 semantics, and as decreed
# * by Guido, only the main thread can be interrupted.
# */