# HG changeset patch # User Augie Fackler # Date 1466987389 14400 # Node ID 9f1fa3cc6ba5500359156ffcbb4fc4e08ee0992c # Parent 4379baf58f9ed81bd3313c6dcf392cb858e4b538 test_fetch_renames: change how this if statement works It was just muddying the waters a little when I had to do some debugging. diff --git a/tests/test_fetch_renames.py b/tests/test_fetch_renames.py --- a/tests/test_fetch_renames.py +++ b/tests/test_fetch_renames.py @@ -80,10 +80,9 @@ class TestFetchRenames(test_util.TestBas bool(cp), bool(want), 'copy records differ for %s in %d (want %r, got %r)' % ( f, rev, want, cp)) - if not cp: - continue - self.assertEqual(cp[0], want[0]) - self.assertEqual(ctx[f].data(), want[1]) + if cp: + self.assertEqual(cp[0], want[0]) + self.assertEqual(ctx[f].data(), want[1]) self.assertEqual(repo['tip']['changed3'].data(), 'changed\nchanged3\n')