merged ronny's nose-compatibility hacks, i.e. nosestyle

setup_module() and setup() functions are supported.
added a few notes to changelog and documentation about it

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-10-27 16:49:38 +01:00
6 changed files with 123 additions and 34 deletions
+4 -2
View File
@@ -1,6 +1,5 @@
import py
import sys
import os, sys
WIDTH = 75
plugins = [
@@ -269,6 +268,9 @@ class PluginDoc(RestWriter):
self.Print(opt.help, indent=4)
if __name__ == "__main__":
if os.path.exists("py"):
sys.path.insert(0, os.getcwd())
import py
_config = py.test.config
_config.parse([])
_config.pluginmanager.do_configure(_config)