File tree 2 files changed +2
-2
lines changed
src/pallets_sphinx_themes/themes/click 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Version 2.1.1
3
3
4
4
Unreleased
5
5
6
+ - Remove leftover Python 2 compatibility code. :pr: `69 `
6
7
- Dotted underlines on links are smaller. :issue: `70 `
7
8
8
9
Original file line number Diff line number Diff line change 6
6
from functools import partial
7
7
8
8
import click
9
- from click ._compat import text_type
10
9
from click .testing import CliRunner
11
10
from click .testing import EchoingStdin
12
11
from docutils import nodes
@@ -67,7 +66,7 @@ def dummy_call(*args, **kwargs):
67
66
class ExampleRunner (CliRunner ):
68
67
def __init__ (self ):
69
68
super ().__init__ (echo_stdin = True )
70
- self .namespace = {"click" : click , "__file__" : "dummy.py" , "str" : text_type }
69
+ self .namespace = {"click" : click , "__file__" : "dummy.py" }
71
70
72
71
@contextlib .contextmanager
73
72
def isolation (self , * args , ** kwargs ):
You can’t perform that action at this time.
0 commit comments