Mercurial > public > mercurial-scm > hg
comparison tests/test-duplicateoptions.py @ 40376:801c8ca60af5
tests: fix pyflakes warning in test-duplicateoptions.py
Differential Revision: https://phab.mercurial-scm.org/D5158
author | Augie Fackler <augie@google.com> |
---|---|
date | Fri, 19 Oct 2018 11:31:18 -0400 |
parents | c3ad9ef0876c |
children | c93d046d4300 |
comparison
equal
deleted
inserted
replaced
40375:76d4272bd57b | 40376:801c8ca60af5 |
---|---|
8 | 8 |
9 ignore = {b'highlight', b'win32text', b'factotum', b'beautifygraph'} | 9 ignore = {b'highlight', b'win32text', b'factotum', b'beautifygraph'} |
10 | 10 |
11 try: | 11 try: |
12 import sqlite3 | 12 import sqlite3 |
13 del sqlite3 # unused, just checking that import works | |
13 except ImportError: | 14 except ImportError: |
14 ignore.add(b'sqlitestore') | 15 ignore.add(b'sqlitestore') |
15 | 16 |
16 if os.name != 'nt': | 17 if os.name != 'nt': |
17 ignore.add(b'win32mbcs') | 18 ignore.add(b'win32mbcs') |