MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_tell_bad_args

Method test_tell_bad_args

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
ZstdFileClass · 0.90
assertRaisesMethod · 0.45

Tested by

no test coverage detected