Fixed string formatting for Python 2.6 in tests.

Updated Travis Python 2.7 version to 2.7.6.
More excludes.
This commit is contained in:
Brandon Taylor committed 2014-09-12 09:20:36 -04:00
1 parent fcb7fd132d
commit 82e683756e
2 files changed
+11 -3

No files matched your search

+2 -2
View File
@@ -162,10 +162,10 @@ class SortableTestCase(TestCase):
result = self.first_person.get_next()
self.assertEqual(self.second_person, result, 'Next person should '
'be "{}"'.format(self.second_person))
'be "{0}"'.format(self.second_person))
def test_get_previous(self):
result = self.second_person.get_previous()
self.assertEqual(self.first_person, result, 'Previous person should '
'be "{}"'.format(self.first_person))
'be "{0}"'.format(self.first_person))