comparison tests/test-rust-revlog.py @ 45942:89a2afe31e82

formating: upgrade to black 20.8b1 This required a couple of small tweaks to un-confuse black, but now it works. Big formatting changes come from: * Dramatically improved collection-splitting logic upstream * Black having a strong (correct IMO) opinion that """ is better than ''' Differential Revision: https://phab.mercurial-scm.org/D9430
author Augie Fackler <raf@durin42.com>
date Fri, 27 Nov 2020 17:03:29 -0500
parents 443dc1655923
children 6000f5b25c9b
comparison
equal deleted inserted replaced
45941:346af7687c6f 45942:89a2afe31e82
15 15
16 from mercurial.testing import revlog as revlogtesting 16 from mercurial.testing import revlog as revlogtesting
17 17
18 18
19 @unittest.skipIf( 19 @unittest.skipIf(
20 rustext is None, "rustext module revlog relies on is not available", 20 rustext is None,
21 "rustext module revlog relies on is not available",
21 ) 22 )
22 class RustRevlogIndexTest(revlogtesting.RevlogBasedTestBase): 23 class RustRevlogIndexTest(revlogtesting.RevlogBasedTestBase):
23 def test_heads(self): 24 def test_heads(self):
24 idx = self.parseindex() 25 idx = self.parseindex()
25 rustidx = revlog.MixedIndex(idx) 26 rustidx = revlog.MixedIndex(idx)