Parcourir la source

Fix tests on Python 3.

Jelmer Vernooij il y a 6 ans
Parent
commit
d3f906e40e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      dulwich/tests/test_web.py

+ 1 - 1
dulwich/tests/test_web.py

@@ -286,7 +286,7 @@ class DumbHandlersTestCase(WebTestCase):
 
         mat = re.search('info/refs', '/foo/info/refs')
         self.assertEqual(
-            ['No git repository was found at /foo'],
+            [b'No git repository was found at /foo'],
             list(get_info_refs(self._req, backend, mat)))
         self.assertEqual(HTTP_NOT_FOUND, self._status)
         self.assertContentTypeEquals('text/plain')