Procházet zdrojové kódy

Fix tests on Python 3.

Jelmer Vernooij před 6 roky
rodič
revize
d3f906e40e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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')