Skip to content

Commit

Permalink
Revert "fix: fix failure in test enumeration"
Browse files Browse the repository at this point in the history
This reverts commit eda6eed.
  • Loading branch information
gaige committed Jun 29, 2024
1 parent eda6eed commit 0cf6401
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,12 @@ jobs:
run: |
pytest --cov=mdformat_pelican --cov-report=xml --cov-report=term-missing
- name: Run pytest with mdformat-gfm
- name: Install mdformat-gfm
run: |
pip install mdformat-gfm
- name: Run pytest with mdformat-gfm
run: |
pytest --cov=mdformat_pelican --cov-report=xml --cov-report=term-missing
pre-commit-hook:
Expand Down
2 changes: 1 addition & 1 deletion mdformat_pelican/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,5 @@ def _patch_gfm_link_renderer(node: RenderTreeNode, context: RenderContext) -> st
mdformat_gfm.plugin.RENDERERS["link"] = _patch_gfm_link_renderer

# Register the link renderer the usual way if the gfm plugin is not installed.
except (ImportError,AttributeError) as e:
except ImportError:
RENDERERS["link"] = _pelican_link_open_renderer

0 comments on commit 0cf6401

Please sign in to comment.