Skip to content

Commit

Permalink
exclude threaded actions from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishavlin committed Nov 30, 2023
1 parent ccb6eea commit fd614a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/yt_napari/_widget_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def load_data(self):
py_kwargs = self._validate_data_model()
model = _data_model.InputModel.parse_obj(py_kwargs)

if _use_threading:
if _use_threading: # pragma: no cover
worker = time_series_load(model)
worker.returned.connect(self.process_timeseries_layers)
worker.start()
Expand Down Expand Up @@ -342,6 +342,6 @@ def _validate_data_model(self):


@thread_worker(progress=True)
def time_series_load(model):
def time_series_load(model): # pragma: no cover
_, layer_list = _model_ingestor._process_validated_model(model)
return layer_list

0 comments on commit fd614a9

Please sign in to comment.