فهرست منبع

Merge fix for formatting of 'extension not found' messages.

Jelmer Vernooij 13 سال پیش
والد
کامیت
5eb93b106f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dulwich/tests/utils.py

+ 1 - 1
dulwich/tests/utils.py

@@ -159,7 +159,7 @@ def ext_functest_builder(method, func):
 
     def do_test(self):
         if not isinstance(func, types.BuiltinFunctionType):
-            raise SkipTest("%s extension not found", func.func_name)
+            raise SkipTest("%s extension not found" % func.func_name)
         method(self, func)
 
     return do_test