Kaynağa Gözat

Fixed formatting for "extension not found" messages

Risto Kankkunen 13 yıl önce
ebeveyn
işleme
ab7a0a529e
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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