summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_resources.py
diff options
context:
space:
mode:
authortarek <devnull@localhost>2009-11-11 19:39:04 +0100
committertarek <devnull@localhost>2009-11-11 19:39:04 +0100
commitbda740c1dc26515c4e981d2720bbaed9be079abb (patch)
treea927f94dd80276f7de981616d680a7d4809456f7 /setuptools/tests/test_resources.py
parent68a2b90da8445a9ec1421d285acba81c1b03b67c (diff)
downloadpython-setuptools-bitbucket-bda740c1dc26515c4e981d2720bbaed9be079abb.tar.gz
unknown setuptools version can be added in the working set, refs #90
Diffstat (limited to 'setuptools/tests/test_resources.py')
-rw-r--r--setuptools/tests/test_resources.py15
1 files changed, 6 insertions, 9 deletions
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):