summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_safestring.py
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-05-01 13:37:21 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-04 12:10:47 +0200
commitd17b380653da5f95885ce53468fe7aac60672841 (patch)
tree9fbe962d480093a45cf238d22596812637765c74 /tests/utils_tests/test_safestring.py
parent787981f9d1d5abc489a0b069e3353b8ad7aa9778 (diff)
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.
Diffstat (limited to 'tests/utils_tests/test_safestring.py')
-rw-r--r--tests/utils_tests/test_safestring.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils_tests/test_safestring.py b/tests/utils_tests/test_safestring.py
index 4068896020..2eeddb0571 100644
--- a/tests/utils_tests/test_safestring.py
+++ b/tests/utils_tests/test_safestring.py
@@ -7,8 +7,8 @@ from django.utils.safestring import SafeData, mark_safe
class customescape(str):
def __html__(self):
- # implement specific and obviously wrong escaping
- # in order to be able to tell for sure when it runs
+ # Implement specific and wrong escaping in order to be able to detect
+ # when it runs.
return self.replace('<', '<<').replace('>', '>>')