aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_resources.py
diff options
context:
space:
mode:
authortarek <none@none>2009-11-11 19:39:04 +0100
committertarek <none@none>2009-11-11 19:39:04 +0100
commit4072145aebca513ceaa0d25a64cb60d29842b300 (patch)
tree925ccdf895da4fda20814a9662dfb25aa2edd52c /setuptools/tests/test_resources.py
parenta0ca582da7e9322a6abc5d4ce028ee631ddbde70 (diff)
downloadexternal_python_setuptools-4072145aebca513ceaa0d25a64cb60d29842b300.tar.gz
external_python_setuptools-4072145aebca513ceaa0d25a64cb60d29842b300.tar.bz2
external_python_setuptools-4072145aebca513ceaa0d25a64cb60d29842b300.zip
unknown setuptools version can be added in the working set, refs #90
--HG-- branch : distribute extra : rebase_source : c0aabd45025465b61ffd23a2196994f4afece233
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):