Explorar o código

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

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