コード例 #1
0
ファイル: test_scoresheet.py プロジェクト: wct1998/linkpred
    def test_to_file_from_file(self):
        with temp_file() as fname:
            self.scoresheet.to_file(fname)

            newsheet = BaseScoresheet.from_file(fname)
            assert self.scoresheet == newsheet
コード例 #2
0
ファイル: test_scoresheet.py プロジェクト: TythonLee/linkpred
    def test_to_file_from_file(self):
        with temp_file() as fname:
            self.scoresheet.to_file(fname)

            newsheet = BaseScoresheet.from_file(fname)
            assert_dict_equal(self.scoresheet, newsheet)
コード例 #3
0
    def test_to_file_from_file(self):
        with temp_file() as fname:
            self.scoresheet.to_file(fname)

            newsheet = BaseScoresheet.from_file(fname)
            assert_dict_equal(self.scoresheet, newsheet)