fa658fb6221bce1a8e571f0dbc95e588a531479a,GPy/testing/pickle_tests.py,Test,test_parameter_index_operations,#Test#,44
Before Change
f = tempfile.TemporaryFile("w+b")
with f:
pickle.dump(piov, f)
with f:
pio2 = GPy.load(f)
//py3 fix
//self.assertListDictEquals(dict(piov.items()), dict(pio2.iteritems()))
After Change
f = tempfile.TemporaryFile("w+b")
pickle.dump(piov, f)
f.seek(0)
pio2 = GPy.load(f)
f.close()
//py3 fix
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: SheffieldML/GPy
Commit Name: fa658fb6221bce1a8e571f0dbc95e588a531479a
Time: 2015-10-10
Author: ibinbei@gmail.com
File Name: GPy/testing/pickle_tests.py
Class Name: Test
Method Name: test_parameter_index_operations
Project Name: catalyst-cooperative/pudl
Commit Name: 560c741511f3c5e7b496809c3a174953cd8241c6
Time: 2018-06-15
Author: karldw@users.noreply.github.com
File Name: pudl/load.py
Class Name:
Method Name: _csv_dump_load
Project Name: sony/nnabla
Commit Name: 5aa0e65747cd13c072749cbc7364f61bd149cadf
Time: 2020-03-24
Author: Yuchi.Wen@sony.com
File Name: python/src/nnabla/utils/save.py
Class Name:
Method Name: save