File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def deprecated(
89
89
gone_in ,
90
90
"pip {} will enforce this behaviour change."
91
91
if not is_gone
92
- else "This behavior change has been enforced since pip {} ." ,
92
+ else "Since pip {}, this is no longer supported ." ,
93
93
),
94
94
(
95
95
replacement ,
@@ -101,7 +101,7 @@ def deprecated(
101
101
),
102
102
(
103
103
issue ,
104
- "Discussion can be found at https://github.com/pypa/pip/issues/{}. " ,
104
+ "Discussion can be found at https://github.com/pypa/pip/issues/{}" ,
105
105
),
106
106
]
107
107
@@ -111,7 +111,7 @@ def deprecated(
111
111
if value is not None
112
112
)
113
113
114
- # Raise as an error if this behaviour is no longer supported .
114
+ # Raise as an error if this behaviour is deprecated .
115
115
if is_gone :
116
116
raise PipDeprecationWarning (message )
117
117
Original file line number Diff line number Diff line change @@ -934,10 +934,9 @@ def test_deprecated_message_reads_well():
934
934
935
935
assert message == (
936
936
"DEPRECATION: Stop doing this! "
937
- "This behavior change has been enforced since pip 1.0 . "
937
+ "Since pip 1.0, this is no longer supported . "
938
938
"A possible replacement is to be nicer. "
939
- "Discussion can be found at "
940
- "https://github.com/pypa/pip/issues/100000."
939
+ "Discussion can be found at https://github.com/pypa/pip/issues/100000"
941
940
)
942
941
943
942
You can’t perform that action at this time.
0 commit comments