MCPcopy Index your code
hub / github.com/python/cpython / test_tell_bad_args

Method test_tell_bad_args

Lib/test/test_zstd.py:2322–2325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2320 self.assertEqual(f.tell(), len(DAT_130K_D))
2321
2322 def test_tell_bad_args(self):
2323 f = ZstdFile(io.BytesIO(COMPRESSED_100_PLUS_32KB))
2324 f.close()
2325 self.assertRaises(ValueError, f.tell)
2326
2327 def test_file_dict(self):
2328 # default

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
ZstdFileClass · 0.90
assertRaisesMethod · 0.45

Tested by

no test coverage detected