Skip to content

Commit

Permalink
fix tests for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
jlkravitz committed Aug 11, 2017
1 parent b0474ef commit f7720b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_vcf_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _merge_metadata_naive(variants):
return {
k: v
for d in variants.source_to_metadata_dict.values()
for k, v in d.iteritems()
for k, v in d.items()
}

def _do_roundtrip_test(filenames):
Expand Down
2 changes: 1 addition & 1 deletion varcode/vcf_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def build_info_pair(key, val):
if not info_dict:
return '.'

return ';'.join(build_info_pair(k, v) for k,v in info_dict.iteritems())
return ';'.join(build_info_pair(k, v) for k,v in info_dict.items())

def build_format_field(variant):
"""Build the sample format string from the given variant.
Expand Down

0 comments on commit f7720b5

Please sign in to comment.