summaryrefslogtreecommitdiff
path: root/ansicolor
diff options
context:
space:
mode:
Diffstat (limited to 'ansicolor')
-rw-r--r--ansicolor/ansicolor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansicolor/ansicolor.py b/ansicolor/ansicolor.py
index 799089f..4aaa3d2 100644
--- a/ansicolor/ansicolor.py
+++ b/ansicolor/ansicolor.py
@@ -187,7 +187,7 @@ def wrap_string(s, pos, color, bold=False, reverse=False):
This function has been deprecated in favor of :func:`colorize`.
"""
- warnings.warn("wrap_string is deprecated", PendingDeprecationWarning, 2)
+ warnings.warn("wrap_string is deprecated", DeprecationWarning, 2)
if _disabled:
if pos == 0: