summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@users.noreply.github.com>2017-10-12 16:28:55 (GMT)
committerGitHub <noreply@github.com>2017-10-12 16:28:55 (GMT)
commit03b9537dc515d10528f83c920d38910b95755aff (patch)
tree78544b30548bd7d2b5a4b703387962ba819bf049 /Lib/test/test_typing.py
parentcba9a0c6def70549046f1afa6a80e38fe706520e (diff)
downloadcpython-03b9537dc515d10528f83c920d38910b95755aff.zip
cpython-03b9537dc515d10528f83c920d38910b95755aff.tar.gz
cpython-03b9537dc515d10528f83c920d38910b95755aff.tar.bz2
bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)
Diffstat (limited to 'Lib/test/test_typing.py')
-rw-r--r--Lib/test/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index 87d707c..a3b6eb9 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -1471,8 +1471,8 @@ class ForwardRefTests(BaseTestCase):
def test_meta_no_type_check(self):
@no_type_check_decorator
- def magic_decorator(deco):
- return deco
+ def magic_decorator(func):
+ return func
self.assertEqual(magic_decorator.__name__, 'magic_decorator')