From d2f74d342ed8f51c4e57215671903b4d4dff1669 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Tue, 25 Jun 2019 12:54:34 +0100 Subject: [PATCH] fix safe_str docstring --- src/_pytest/compat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/compat.py b/src/_pytest/compat.py index 7668c3a94c..df661bfff0 100644 --- a/src/_pytest/compat.py +++ b/src/_pytest/compat.py @@ -377,7 +377,7 @@ def safe_str(v): else: def safe_str(v): - """returns v as string, converting to ascii if necessary""" + """returns v as string, converting to utf-8 if necessary""" try: return str(v) except UnicodeError: