  import numpy as np
  from PIL import ImageTk
  
  from lib.logger import log_setup
  log_setup("DEBUG", "", "PyTest, False")  # Need to setup logging to avoid trace/verbose errors
  
  from lib.utils import get_backend  # pylint:disable=wrong-import-position  # noqa
  from tools.preview.viewer import _Faces, FacesDisplay, ImagesCanvas  # pylint:disable=wrong-import-position  # noqa
  
  if TYPE_CHECKING:
 
</s> remove log_setup("DEBUG", "", "PyTest, False")  # Need to setup logging to avoid trace/verbose errors
 </s> add # Need to setup logging to avoid trace/verbose errors
log_setup("DEBUG", "pytest_utils.log", "PyTest, False")
# Need to setup logging to avoid trace/verbose errors
log_setup("DEBUG", "pytest_viewer.log", "PyTest, False")
  import numpy as np
  from PIL import ImageTk
  
  from lib.logger import log_setup
# Need to setup logging to avoid trace/verbose errors
log_setup("DEBUG", "pytest_viewer.log", "PyTest, False")
  
  from lib.utils import get_backend  # pylint:disable=wrong-import-position  # noqa
  from tools.preview.viewer import _Faces, FacesDisplay, ImagesCanvas  # pylint:disable=wrong-import-position  # noqa
  
  if TYPE_CHECKING:
keep keep keep keep replace keep keep keep keep keep
 bugfix - skip tkinter unit tests 
tests/tools/preview/viewer_test.py