changeset 8186:a455353077c8

py3: automatic migration with 2to3 -f asserts
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 05 Feb 2020 23:04:27 +0100
parents 6e537f0a9961
children 7e9d3865b4f9
files kallithea/tests/vcs/test_git.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/tests/vcs/test_git.py	Wed Feb 05 23:04:10 2020 +0100
+++ b/kallithea/tests/vcs/test_git.py	Wed Feb 05 23:04:27 2020 +0100
@@ -343,7 +343,7 @@
         start = offset
         end = limit and offset + limit or None
         sliced = list(self.repo[start:end])
-        pytest.failUnlessEqual(result, sliced,
+        pytest.assertEqual(result, sliced,
             msg="Comparison failed for limit=%s, offset=%s"
             "(get_changeset returned: %s and sliced: %s"
             % (limit, offset, result, sliced))