39fb7b5b96ea46aca94099d166106365eaf0647e,lib/matplotlib/tests/test_backend_ps.py,,test_savefig_to_stringio,#Any#Any#Any#,49
Before Change
values = [x.getvalue() for x in buffers]
if six.PY3:
values = [
values[0].encode("ascii"),
values[1].encode("ascii"),
values[2]]
// Remove comments from the output. This includes things that
// could change from run to run, such as the time.
values = [re.sub(b"%%.*?\n", b"", x) for x in values]
assert values[0] == values[1]
assert values[1] == values[2].replace(b"\r\n", b"\n")
After Change
fig.savefig(b_buf, format=format)
s_val = s_buf.getvalue().encode("ascii")
b_val = b_buf.getvalue()
// Remove comments from the output. This includes things that could
// change from run to run, such as the time.
s_val, b_val = [re.sub(b"%%.*?\n", b"", x) for x in [s_val, b_val]]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: matplotlib/matplotlib
Commit Name: 39fb7b5b96ea46aca94099d166106365eaf0647e
Time: 2018-03-08
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/test_backend_ps.py
Class Name:
Method Name: test_savefig_to_stringio
Project Name: autorope/donkeycar
Commit Name: 558cf909ff79341e699cf872082231f83f4cdc50
Time: 2017-02-08
Author: wroscoe@gmail.com
File Name: donkey/remotes.py
Class Name: CameraMJPEGHandler
Method Name: get
Project Name: theislab/scanpy
Commit Name: 5533b644e796379fd146bf8e659fd49f92f718cd
Time: 2020-08-16
Author: flying-sheep@web.de
File Name: scanpy/logging.py
Class Name:
Method Name: print_versions