[py-svn] r10737 - py/branch/py-collect/documentation

hpk at codespeak.net hpk at codespeak.net
Sat Apr 16 19:03:50 CEST 2005


Author: hpk
Date: Sat Apr 16 19:03:50 2005
New Revision: 10737

Modified:
   py/branch/py-collect/documentation/rest_test.py
Log:
generalize


Modified: py/branch/py-collect/documentation/rest_test.py
==============================================================================
--- py/branch/py-collect/documentation/rest_test.py	(original)
+++ py/branch/py-collect/documentation/rest_test.py	Sat Apr 16 19:03:50 2005
@@ -3,8 +3,7 @@
 import py
 from py.__impl__.misc import rest 
 
-pydir = py.magic.autopath(vars(py)).dirpath()
-docdir = py.path.svnwc(pydir.join('documentation'))
+docdir = py.path.svnwc(py.magic.autopath().dirpath())
 
 def restcheck(path):
     try:



More information about the pytest-commit mailing list