Skip to content

Commit c59a185

Browse files
authored
Merge pull request #69 from kdeldycke/remove-py2-click-compat
remove Python 2 compatibility code
2 parents 8d00582 + 8e87947 commit c59a185

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Version 2.1.1
33

44
Unreleased
55

6+
- Remove leftover Python 2 compatibility code. :pr:`69`
67
- Dotted underlines on links are smaller. :issue:`70`
78

89

src/pallets_sphinx_themes/themes/click/domain.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from functools import partial
77

88
import click
9-
from click._compat import text_type
109
from click.testing import CliRunner
1110
from click.testing import EchoingStdin
1211
from docutils import nodes
@@ -67,7 +66,7 @@ def dummy_call(*args, **kwargs):
6766
class ExampleRunner(CliRunner):
6867
def __init__(self):
6968
super().__init__(echo_stdin=True)
70-
self.namespace = {"click": click, "__file__": "dummy.py", "str": text_type}
69+
self.namespace = {"click": click, "__file__": "dummy.py"}
7170

7271
@contextlib.contextmanager
7372
def isolation(self, *args, **kwargs):

0 commit comments

Comments
 (0)