Skip to content

Commit

Permalink
JQ-325 (cgates): Fix sporadically failing (py3) vcf test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgates committed Jul 11, 2019
1 parent 48f21f8 commit 304014b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/vcf_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def test_equals(self):
def testHash(self):
sample_names = ["sampleA"]
base = VcfRecord.parse_record(self.entab("A|B|ID|C|D|QUAL|FILTER|INFO|F|S\n"), sample_names)
base_equivalent = VcfRecord.parse_record(self.entab("A|B|ID|C|D|QUAL|FILTER||foo|S\n"), sample_names)
base_equivalent = VcfRecord.parse_record(self.entab("A|B|ID|C|D|QUAL|FILTER||F|S\n"), sample_names)
self.assertEquals(base.__hash__(), base_equivalent.__hash__())
record_set = set()
record_set.add(base)
Expand Down

0 comments on commit 304014b

Please sign in to comment.