D5158: tests: fix pyflakes warning in test-duplicateoptions.py

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Fri Oct 19 15:31:28 UTC 2018


durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5158

AFFECTED FILES
  tests/test-duplicateoptions.py

CHANGE DETAILS

diff --git a/tests/test-duplicateoptions.py b/tests/test-duplicateoptions.py
--- a/tests/test-duplicateoptions.py
+++ b/tests/test-duplicateoptions.py
@@ -10,6 +10,7 @@
 
 try:
     import sqlite3
+    del sqlite3 # unused, just checking that import works
 except ImportError:
     ignore.add(b'sqlitestore')
 



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list