From b7dd8eac8e2ce94ce5d10760835bf603be0abac8 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 9 Oct 2014 22:45:33 +0200 Subject: [PATCH] remove unused import --- CHANGELOG | 2 +- _pytest/doctest.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 980ef24df..0f004590c 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,7 +10,7 @@ - use hookwrapper mechanism in builtin pytest plugins. -- add a doctest option for doctest flags, thanks Holger Peters. +- add a doctest ini option for doctest flags, thanks Holger Peters. 2.6.4.dev ---------- diff --git a/_pytest/doctest.py b/_pytest/doctest.py index 2dd8706ad..e72320c75 100644 --- a/_pytest/doctest.py +++ b/_pytest/doctest.py @@ -99,7 +99,6 @@ def _get_flag_lookup(): COMPARISON_FLAGS=doctest.COMPARISON_FLAGS) def get_optionflags(parent): - import doctest optionflags_str = parent.config.getini("doctest_optionflags") flag_lookup_table = _get_flag_lookup() flag_acc = 0