Răsfoiți Sursa

Fix tests on Python 3.

Jelmer Vernooij 6 ani în urmă
părinte
comite
d3f906e40e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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')