summaryrefslogtreecommitdiff
path: root/tests/test_apis.py
diff options
context:
space:
mode:
authorL <leven.cn@gmail.com>2022-05-17 02:23:39 +0800
committerGitHub <noreply@github.com>2022-05-16 14:23:39 -0400
commit7334ecd4c747f9a36351a5073b55c2a606917ef9 (patch)
tree8db483032514a2c676fe99509c8467817d6e7634 /tests/test_apis.py
parent0394b26c61014feea4d5be4f543f2caa7f058b0b (diff)
downloadpython-markdown-7334ecd4c747f9a36351a5073b55c2a606917ef9.tar.gz
Use `@deprecated` for __setitem__ and __delitem__ of Registry.
Diffstat (limited to 'tests/test_apis.py')
-rw-r--r--tests/test_apis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_apis.py b/tests/test_apis.py
index c977e6b..7a3c735 100644
--- a/tests/test_apis.py
+++ b/tests/test_apis.py
@@ -358,7 +358,7 @@ class RegistryTests(unittest.TestCase):
self.assertEqual(list(r), [])
# Check the warnings
- self.assertEqual(len(w), 3)
+ self.assertEqual(len(w), 4)
self.assertTrue(all(issubclass(x.category, DeprecationWarning) for x in w))
def testRegistrySlice(self):