← Back to team overview

dulwich-users team mailing list archive

[PATCH 1/2] tests/__init__.py: put keyword-arguments before *args

 

This is for python 2.5.x users; it doesn't support the current form.
---
 dulwich/tests/__init__.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dulwich/tests/__init__.py b/dulwich/tests/__init__.py
index dbc3f7c..7115e47 100644
--- a/dulwich/tests/__init__.py
+++ b/dulwich/tests/__init__.py
@@ -88,7 +88,7 @@ def test_suite():
         os.chdir(test.__dulwich_tempdir)
     def teardown(test):
         shutil.rmtree(test.__dulwich_tempdir)
-    suite = doctest.DocFileSuite(*tutorial_files, setUp=setup,
-        tearDown=teardown)
+    suite = doctest.DocFileSuite(setUp=setup, tearDown=teardown,
+        *tutorial_files)
     result.addTests(suite)
     return result
-- 
1.7.3.2.msysgit.0




Follow ups

References