# HG changeset patch # User Matt Mackall # Date 1406840322 18000 # Node ID df808f92c0f19241920ee8cd9ef0ddd7e1c312a6 # Parent bcc8390d7819b22fa699e2a0bda6635a818cf079 tests: skip hidden/obsolete tests on older hg diff -r bcc8390d7819 -r df808f92c0f1 tests/test-hidden.py --- a/tests/test-hidden.py Thu Jul 31 15:49:00 2014 -0500 +++ b/tests/test-hidden.py Thu Jul 31 15:58:42 2014 -0500 @@ -32,6 +32,8 @@ def test_obsolete_in(self): """test the 'hidden' keyword with the 'in' method""" + if self.client.version < (2, 9, 0): + return self.append('gna1','ga') self.client.add('gna1') cs0 = self.client.commit('gna1')[1] #get id @@ -49,6 +51,8 @@ """test the "hidden" context method with obsolete changesets enabled on hidden and visible changesets""" def test_hidden(self): + if self.client.version < (2, 9, 0): + return self.append('gna1','ga') self.client.add('gna1') cs0 = self.client.commit('gna1')[1] #get id