Skip to content

Commit 8bad689

Browse files
committed
remove docstring tests
1 parent 217b59c commit 8bad689

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

tests/test_hashlib_compat.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,6 @@ def test_str_rejected_update(self):
3939
'Strings must be encoded before hashing'):
4040
obj.update('hello')
4141

42-
# ── docstrings reflect bytes-only input ─────────────────────────
43-
44-
def test_update_docstring(self):
45-
for algo in ('xxh32', 'xxh64', 'xxh3_64', 'xxh3_128'):
46-
obj = getattr(xxhash, algo)()
47-
doc = obj.update.__doc__
48-
self.assertIn('bytes-like', doc)
49-
self.assertNotIn('string', doc)
50-
51-
def test_digest_docstring(self):
52-
for algo in ('xxh32', 'xxh64', 'xxh3_64', 'xxh3_128'):
53-
obj = getattr(xxhash, algo)()
54-
doc = obj.digest.__doc__
55-
self.assertNotIn('strings passed', doc)
56-
5742
# ── data keyword ───────────────────────────────────────────────
5843

5944
def test_data_keyword(self):

0 commit comments

Comments
 (0)