From ca46f4fe2a870d858ec5678116ea5d3b865489fe Mon Sep 17 00:00:00 2001 From: Thomas Hisch Date: Wed, 13 Sep 2017 13:47:48 +0200 Subject: [PATCH] Remove conftest --- testing/logging/conftest.py | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 testing/logging/conftest.py diff --git a/testing/logging/conftest.py b/testing/logging/conftest.py deleted file mode 100644 index 9b559d7eb..000000000 --- a/testing/logging/conftest.py +++ /dev/null @@ -1,33 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import absolute_import, division, print_function - -import pytest - - -pytest_plugins = 'pytester' - - -def pytest_addoption(parser): - parser.addoption('--run-perf', - action='store', dest='run_perf', - choices=['yes', 'no', 'only', 'check'], - nargs='?', default='check', const='yes', - help='Run performance tests (can be slow)', - ) - - parser.addoption('--perf-graph', - action='store', dest='perf_graph_name', - nargs='?', default=None, const='graph.svg', - help='Plot a graph using data found in --benchmark-storage', - ) - parser.addoption('--perf-expr', - action='store', dest='perf_expr_primary', - default='log_emit', - help='Benchmark (or expression combining benchmarks) to plot', - ) - parser.addoption('--perf-expr-secondary', - action='store', dest='perf_expr_secondary', - default='caplog - stub', - help=('Benchmark (or expression combining benchmarks) to plot ' - 'as a secondary line'), - )