Skip to content

Commit

Permalink
Remove deprecated test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed May 14, 2023
1 parent 2b42f68 commit 115d6a8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions click_extra/tests/test_pygments.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from pygments.filter import Filter
from pygments.formatter import Formatter
from pygments.lexers import find_lexer_class_by_name
from pygments.style import Style
import requests

if sys.version_info >= (3, 11):
Expand Down Expand Up @@ -204,15 +203,6 @@ def test_registered_formatters():
check_entry_points(entry_points, "tool", "poetry", "plugins", "pygments.formatters")


def test_registered_styles():
entry_points = {}
for name in collect_class_names(Style):
entry_id = camel2under(name).replace("_", "-")
entry_points[entry_id] = f"click_extra.pygments:{name}"

check_entry_points(entry_points, "tool", "poetry", "plugins", "pygments.styles")


def test_ansi_lexers_doc():
doc_content = PROJECT_ROOT.joinpath("docs/pygments.md").read_text()
for lexer in collect_session_lexers():
Expand Down

0 comments on commit 115d6a8

Please sign in to comment.