From df85ddf0d28d8249412c4e4a8f037ac652b4588f Mon Sep 17 00:00:00 2001 From: holger krekel Date: Wed, 6 Jul 2011 20:25:54 +0200 Subject: [PATCH] don't import py --- doc/conf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 87fcca639..97feface3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -51,10 +51,9 @@ copyright = u'2011, holger krekel et alii' # The short X.Y version. version = '2.0' # The full version, including alpha/beta/rc tags. -import py, pytest +import pytest release = pytest.__version__ version = ".".join(release.split(".")[:2]) -#assert py.path.local().relto(py.path.local(pytest.__file__).dirpath().dirpath()) # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages.