comparison mercurial/testing/revlog.py @ 46413:521ac0d7047f stable

typing: disable import error warnings that are already handled I'm assuming that the cffi ones are handled somewhere, but the others definitely are. Differential Revision: https://phab.mercurial-scm.org/D10207
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 13 Mar 2021 00:38:59 -0500
parents 8a8305f557d0
children 6000f5b25c9b
comparison
equal deleted inserted replaced
46412:65f437c240f2 46413:521ac0d7047f
22 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00' 22 b'\x00\x00\x00\x00\x00\x00\x00\x00\x00'
23 ) 23 )
24 24
25 25
26 try: 26 try:
27 from ..cext import parsers as cparsers 27 from ..cext import parsers as cparsers # pytype: disable=import-error
28 except ImportError: 28 except ImportError:
29 cparsers = None 29 cparsers = None
30 30
31 31
32 @unittest.skipIf( 32 @unittest.skipIf(