Преглед изворни кода

Fixed formatting for "extension not found" messages

Risto Kankkunen пре 13 година
родитељ
комит
ab7a0a529e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      dulwich/tests/utils.py

+ 1 - 1
dulwich/tests/utils.py

@@ -160,7 +160,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