Commit c33ad966 authored by Dylan Trotter's avatar Dylan Trotter Committed by GitHub

Revert capitalize() hack since str.capitalize() is now implemented. (#179)

parent 40676f4a
...@@ -686,8 +686,7 @@ class TestCase(object): ...@@ -686,8 +686,7 @@ class TestCase(object):
seq1_repr = seq1_repr[:30] + '...' seq1_repr = seq1_repr[:30] + '...'
if len(seq2_repr) > 30: if len(seq2_repr) > 30:
seq2_repr = seq2_repr[:30] + '...' seq2_repr = seq2_repr[:30] + '...'
#elements = (seq_type_name.capitalize(), seq1_repr, seq2_repr) elements = (seq_type_name.capitalize(), seq1_repr, seq2_repr)
elements = (seq_type_name[0].upper() + seq_type_name[1:].lower(), seq1_repr, seq2_repr)
differing = '%ss differ: %s != %s\n' % elements differing = '%ss differ: %s != %s\n' % elements
for i in xrange(min(len1, len2)): for i in xrange(min(len1, len2)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment