Skip to content

Commit

Permalink
Fixed tab/spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Jul 5, 2010
1 parent 9882b07 commit 30ff0e9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Tests/test_SeqIO_index.py
Expand Up @@ -88,16 +88,16 @@ def get_raw_check(self, filename, format, alphabet):
self.assertEqual(True, compare_record(rec1, rec2))

def test_duplicates_index(self):
"""Index file with duplicate identifers with Bio.SeqIO.index()"""
self.assertRaises(ValueError, SeqIO.index, "Fasta/dups.fasta", "fasta")
"""Index file with duplicate identifers with Bio.SeqIO.index()"""
self.assertRaises(ValueError, SeqIO.index, "Fasta/dups.fasta", "fasta")

def test_duplicates_to_dict(self):
"""Index file with duplicate identifers with Bio.SeqIO.to_dict()"""
handle = open("Fasta/dups.fasta", "rU")
iterator = SeqIO.parse(handle, "fasta")
self.assertRaises(ValueError, SeqIO.to_dict, iterator)
handle.close()
"""Index file with duplicate identifers with Bio.SeqIO.to_dict()"""
handle = open("Fasta/dups.fasta", "rU")
iterator = SeqIO.parse(handle, "fasta")
self.assertRaises(ValueError, SeqIO.to_dict, iterator)
handle.close()

tests = [
("Ace/contig1.ace", "ace", generic_dna),
("Ace/consed_sample.ace", "ace", None),
Expand Down

0 comments on commit 30ff0e9

Please sign in to comment.