From adea823cbd25cafca4eb173a7172ebb3a44b24fe Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Thu, 9 Apr 2015 20:44:08 +0300 Subject: [PATCH] Make it possible to use py.test --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index 786ce0a..5f27731 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,3 +6,8 @@ ignore = E127,E128,E226,E401,E501 # E128: continuation line under-indented for visual indent # E226: missing whitespace around arithmetic operator # E401: multiple imports on one line + +[pytest] +python_files = imgdiff.py tests.py +python_functions = !test_suite +addopts = --doctest-modules --ignore=setup.py