              Mocker for checking _build_faces_image method called
          """
          f_display = self.get_faces_display_instance(columns, face_size)
          f_display._build_faces_image = cast(MagicMock, mocker.MagicMock())  # type:ignore
          f_display._get_scale_size = cast(MagicMock,  # type:ignore
                                           mocker.MagicMock(return_value=(128, 128)))
          f_display._faces_source = np.zeros((face_size, face_size, 3), dtype=np.uint8)
 
</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_viewer.log", "PyTest, False") </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")
        # TODO find out how we can test this on a headless system
        # Launching tk.Tk() will result in an error because a display is not found
              Mocker for checking _build_faces_image method called
          """
        # TODO find out how we can test this on a headless system
        # Launching tk.Tk() will result in an error because a display is not found
          f_display = self.get_faces_display_instance(columns, face_size)
          f_display._build_faces_image = cast(MagicMock, mocker.MagicMock())  # type:ignore
          f_display._get_scale_size = cast(MagicMock,  # type:ignore
                                           mocker.MagicMock(return_value=(128, 128)))
          f_display._faces_source = np.zeros((face_size, face_size, 3), dtype=np.uint8)
keep add keep keep keep keep keep
 bugfix - skip tkinter unit tests 
tests/tools/preview/viewer_test.py