You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/02/22 15:45:56 UTC

svn commit: r1292322 - /subversion/trunk/subversion/bindings/swig/python/tests/repository.py

Author: danielsh
Date: Wed Feb 22 14:45:56 2012
New Revision: 1292322

URL: http://svn.apache.org/viewvc?rev=1292322&view=rev
Log:
Follow-up to r1292316: fix run-time failure.

* subversion/bindings/swig/python/tests/repository.py
  (SubversionRepositoryTestCase.test_dir_delta):
    Use the set() constructor correctly.

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

Modified: subversion/trunk/subversion/bindings/swig/python/tests/repository.py
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/python/tests/repository.py?rev=1292322&r1=1292321&r2=1292322&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/python/tests/repository.py (original)
+++ subversion/trunk/subversion/bindings/swig/python/tests/repository.py Wed Feb 22 14:45:56 2012
@@ -172,9 +172,9 @@ class SubversionRepositoryTestCase(unitt
 
     # Check results.
     # Ignore the order in which the editor delivers the two sibling files.
-    self.assertEqual(set(editor.textdeltas[0].new_data,
-                         editor.textdeltas[1].new_data),
-                     set("This is a test.\n", "A test.\n"))
+    self.assertEqual(set([editor.textdeltas[0].new_data,
+                          editor.textdeltas[1].new_data]),
+                     set(["This is a test.\n", "A test.\n"]))
     self.assertEqual(len(editor.textdeltas), 2)
 
   def test_retrieve_and_change_rev_prop(self):