From 4e8180190bf443b6389f064886321fcdeccf6ea4 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Thu, 27 Apr 2006 18:05:53 +0000 Subject: 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 --- setuptools/tests/test_resources.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'setuptools/tests') 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): -- cgit v1.2.3