subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdo...@apache.org
Subject svn commit: r1392041 - /subversion/trunk/subversion/bindings/swig/python/tests/core.py
Date Sun, 30 Sep 2012 15:40:16 GMT
Author: rdonch
Date: Sun Sep 30 15:40:16 2012
New Revision: 1392041

URL: http://svn.apache.org/viewvc?rev=1392041&view=rev
Log:
* subversion/bindings/swig/python/tests/core.py:
  (SubversionCoreTestCase.test_exception_interoperability): Fix a typo that
    made the test pass for the wrong reasons.


Modified:
    subversion/trunk/subversion/bindings/swig/python/tests/core.py

Modified: subversion/trunk/subversion/bindings/swig/python/tests/core.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/core.py?rev=1392041&r1=1392040&r2=1392041&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/core.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/core.py Sun Sep 30 15:40:16 2012
@@ -97,7 +97,7 @@ class SubversionCoreTestCase(unittest.Te
       # will be passed through.
       rec.e = svn.core.SubversionException("No fields except message.")
       # e.apr_err is None but should be an int
-      self.assertRaises(TypeError, svn.client.info2, args)
+      self.assertRaises(TypeError, svn.client.info2, *args)
     finally:
       # This would happen without the finally block as well, but we expliticly
       # order the operations so that the cleanup is not hindered by any open



Mime
View raw message