From 4072145aebca513ceaa0d25a64cb60d29842b300 Mon Sep 17 00:00:00 2001 From: tarek Date: Wed, 11 Nov 2009 19:39:04 +0100 Subject: unknown setuptools version can be added in the working set, refs #90 --HG-- branch : distribute extra : rebase_source : c0aabd45025465b61ffd23a2196994f4afece233 --- setuptools/tests/test_resources.py | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'setuptools/tests/test_resources.py') diff --git a/setuptools/tests/test_resources.py b/setuptools/tests/test_resources.py index 6a89e8a8..d805d02a 100644 --- a/setuptools/tests/test_resources.py +++ b/setuptools/tests/test_resources.py @@ -203,15 +203,12 @@ class DistroTests(TestCase): version="0.6c9") ws.add(d2) - - - - - - - - - + # a unexisting version needs to work + ws = WorkingSet([]) + d3 = Distribution( + "/some/path", + project_name="setuptools") + ws.add(d3) class EntryPointTests(TestCase): -- cgit v1.2.3