summaryrefslogtreecommitdiff
path: root/tests/decorators
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-02 20:43:21 -0500
committerTim Graham <timograham@gmail.com>2017-02-03 08:01:45 -0500
commit29f607927fe82e2c8baab171dfa8baf710cd9b83 (patch)
treef525c6c4784ccafe77e01f706093fa6f4a5c9481 /tests/decorators
parenta21ec12409a5b72d602cd03ee925b6ceb1cd5492 (diff)
downloaddjango-29f607927fe82e2c8baab171dfa8baf710cd9b83.tar.gz
Fixed spelling of "nonexistent".
Diffstat (limited to 'tests/decorators')
-rw-r--r--tests/decorators/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/decorators/tests.py b/tests/decorators/tests.py
index 8fedacec22..3afab467a1 100644
--- a/tests/decorators/tests.py
+++ b/tests/decorators/tests.py
@@ -384,10 +384,10 @@ class MethodDecoratorTests(SimpleTestCase):
"""
msg = (
"The keyword argument `name` must be the name of a method of the "
- "decorated class: <class 'Test'>. Got 'non_existing_method' instead"
+ "decorated class: <class 'Test'>. Got 'nonexistent_method' instead"
)
with self.assertRaisesMessage(ValueError, msg):
- @method_decorator(lambda: None, name="non_existing_method")
+ @method_decorator(lambda: None, name='nonexistent_method')
class Test:
@classmethod
def __module__(cls):