Skip to content

Commit

Permalink
subset.ipynb: fix output change for new Jupyter env (#275)
Browse files Browse the repository at this point in the history
Related to Jupyter env
Ouranosinc/PAVICS-e2e-workflow-tests#115

To fix this error:
```
  ___________ finch-master/docs/source/notebooks/subset.ipynb::Cell 16 ___________
  Notebook cell execution failed
  Cell 16: Cell outputs differ

  Input:
  all_shapes.plot()

  Traceback:
   mismatch 'text/plain'

   assert reference_output == test_output failed:

    '<AxesSubplot:>' == '<Axes: >'
    - <Axes: >
    + <AxesSubplot:>
```
  • Loading branch information
tlvu authored Jun 1, 2023
2 parents d25c467 + 78cd610 commit dd35019
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 83 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ notebook-sanitizer:
.PHONY: test-notebooks
test-notebooks: notebook-sanitizer
@echo "Running notebook-based tests"
@bash -c "env WPS_URL=$(WPS_URL) pytest --nbval --verbose $(CURDIR)/docs/source/notebooks/ --sanitize-with $(CURDIR)/docs/source/output-sanitize.cfg --ignore $(CURDIR)/docs/source/notebooks/.ipynb_checkpoints"
@bash -c "env WPS_URL=$(WPS_URL) pytest --nbval --verbose $(CURDIR)/docs/source/notebooks/ --nbval-sanitize-with $(CURDIR)/docs/source/output-sanitize.cfg --ignore $(CURDIR)/docs/source/notebooks/.ipynb_checkpoints"

.PHONY: lint
lint:
Expand Down
Loading

0 comments on commit dd35019

Please sign in to comment.