summaryrefslogtreecommitdiff
path: root/api_tests.txt
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-06 20:54:01 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-06 20:54:01 +0000
commit568f7f51fb0dea510cfae83b178c642a06b801bd (patch)
treef745445a4fb71569bafd2e4c2444cc30964fbc8c /api_tests.txt
parent8afe820f59c3b63795bd235f2800b0e1329eb7e1 (diff)
downloadpython-setuptools-git-568f7f51fb0dea510cfae83b178c642a06b801bd.tar.gz
Fix WorkingSet yielding the same distribution more than once if more than
one path entry points to it. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041182
Diffstat (limited to 'api_tests.txt')
-rwxr-xr-xapi_tests.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api_tests.txt b/api_tests.txt
index ad5ea819..24f3adea 100755
--- a/api_tests.txt
+++ b/api_tests.txt
@@ -192,6 +192,7 @@ optional second parameter to ``add()``
But even if a distribution is found under multiple path entries, it still only
shows up once when iterating the working set:
+ >>> ws.add_entry(ws.entries[0])
>>> list(ws)
[Bar 0.9 (http://example.com/something)]