瀏覽代碼

Fix tests on Python 3.

Jelmer Vernooij 6 年之前
父節點
當前提交
d3f906e40e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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')