MCPcopy
hub / github.com/numpy/numpy / write

Method write

numpy/lib/tests/test_io.py:54–55  ·  view source on GitHub ↗
(self, s)

Source from the content-addressed store, hash-verified

52 BytesIO.__init__(self, asbytes(s))
53
54 def write(self, s):
55 BytesIO.write(self, asbytes(s))
56
57 def writelines(self, lines):
58 BytesIO.writelines(self, [asbytes(s) for s in lines])

Callers 15

test_recordMethod · 0.95
test_arrayMethod · 0.95
test_1DMethod · 0.95
test_missingMethod · 0.95
test_comments_unicodeMethod · 0.95
test_comments_byteMethod · 0.95
test_skiprowsMethod · 0.95
test_fancy_dtypeMethod · 0.95

Calls 1

asbytesFunction · 0.90

Tested by

no test coverage detected