From d49f6dccf43983b317d31aa49b7e9a54aa28bf01 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 30 Apr 2002 02:02:56 +0000 Subject: Changed for 0.7.3 release git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@48 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/testing/rorpitertest.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'rdiff-backup/testing/rorpitertest.py') diff --git a/rdiff-backup/testing/rorpitertest.py b/rdiff-backup/testing/rorpitertest.py index 28ac54b..718f75a 100644 --- a/rdiff-backup/testing/rorpitertest.py +++ b/rdiff-backup/testing/rorpitertest.py @@ -70,17 +70,11 @@ class RORPIterTest(unittest.TestCase): def compare_no_times(self, src_rp, dest_rp): """Compare but disregard directories attributes""" - dsiter1, dsiter2 = map(DestructiveStepping.Iterate_with_Finalizer, - [src_rp, dest_rp], [1, None]) - def equal(src_rorp, dest_rorp): return ((src_rorp.isdir() and dest_rorp.isdir()) or src_rorp == dest_rorp) - result = Iter.equal(dsiter1, dsiter2, 1, equal) - for i in dsiter1: pass # make sure all files processed anyway - for i in dsiter2: pass - return result + return CompareRecursive(src_rp, dest_rp, None, equal) class IndexedTupleTest(unittest.TestCase): -- cgit v1.2.1