summaryrefslogtreecommitdiff
path: root/tests/decorators
diff options
context:
space:
mode:
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):