Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
3 changes: 2 additions & 1 deletion mdx_attr_cols.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
""" Bootstrap 3 grid extension fo Python Markdown
"""

from markdown.util import etree
from xml.etree import ElementTree as etree

from markdown import Extension
from markdown.treeprocessors import Treeprocessor

Expand Down
6 changes: 3 additions & 3 deletions tests.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from unittest import TestCase
from xml.etree import ElementTree as etree

import xmltodict

from markdown import Markdown
from markdown.util import etree

from mdx_attr_cols import AttrColTreeProcessor, AttrColExtension, makeExtension

Expand Down Expand Up @@ -90,7 +90,7 @@ def test_extend_markdown(self):
def test_missing_attr_list(self):
md = self.mk_markdown(['mdx_outline'])
ext = AttrColExtension({})
self.assertRaisesRegexp(
self.assertRaisesRegex(
RuntimeError,
"The attr_cols markdown extension depends the following"
" extensions which must preceded it in the extension list:"
Expand All @@ -101,7 +101,7 @@ def test_missing_attr_list(self):
def test_missing_outline(self):
md = self.mk_markdown([])
ext = AttrColExtension({})
self.assertRaisesRegexp(
self.assertRaisesRegex(
RuntimeError,
"The attr_cols markdown extension depends the following"
" extensions which must preceded it in the extension list:"
Expand Down