change pluginmanager.register API to raise ValueError if the plugin object or the name is already registered

This commit is contained in:
holger krekel
2012-06-16 21:29:04 +02:00
parent 2e163e4aae
commit b2e87ce027
5 changed files with 15 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ def main():
name='pytest',
description='py.test: simple powerful testing with Python',
long_description = long_description,
version='2.2.5.dev1',
version='2.2.5.dev2',
url='http://pytest.org',
license='MIT license',
platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],