summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_resources.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-04-27 18:05:53 +0000
committerPJ Eby <distutils-sig@python.org>2006-04-27 18:05:53 +0000
commit4e8180190bf443b6389f064886321fcdeccf6ea4 (patch)
tree9a85fb01bc3d11fb4ea260b3baf30d0c2cdb152d /setuptools/tests/test_resources.py
parent847ce20a9390a14d3c415d9127db4bf9b86af3cb (diff)
downloadpython-setuptools-git-4e8180190bf443b6389f064886321fcdeccf6ea4.tar.gz
Fix entry point parsing when a standalone module name has whitespace
between it and the extras. --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4045765
Diffstat (limited to 'setuptools/tests/test_resources.py')
-rw-r--r--setuptools/tests/test_resources.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py
index b4dbfdbd..6f3b1d78 100644
--- a/setuptools/tests/test_resources.py
+++ b/setuptools/tests/test_resources.py
@@ -254,18 +254,18 @@ class EntryPointTests(TestCase):
def checkSubMap(self, m):
self.assertEqual(str(m),
- "{"
- "'feature2': EntryPoint.parse("
+ "{'feature2': EntryPoint.parse("
"'feature2 = another.module:SomeClass [extra1,extra2]'), "
+ "'feature3': EntryPoint.parse('feature3 = this.module [something]'), "
"'feature1': EntryPoint.parse("
- "'feature1 = somemodule:somefunction')"
- "}"
+ "'feature1 = somemodule:somefunction')}"
)
submap_str = """
# define features for blah blah
feature1 = somemodule:somefunction
feature2 = another.module:SomeClass [extra1,extra2]
+ feature3 = this.module [something]
"""
def testParseList(self):