Explorar o código

Fix tests on Python 3.

Jelmer Vernooij %!s(int64=6) %!d(string=hai) anos
pai
achega
d3f906e40e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')