From 9b3b28f1851701b46dd641223e31dcccb5b9f71b Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 31 Mar 2014 12:18:53 +0200 Subject: [PATCH] use defaultdict instead of OrderedDict for testing purposes, since OrderedDict is not supported in Python 2.6 --- test/completion/docstring.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/completion/docstring.py b/test/completion/docstring.py index 1413569c..1d7bff7f 100644 --- a/test/completion/docstring.py +++ b/test/completion/docstring.py @@ -66,14 +66,14 @@ def list_with_non_imports(lst): """ Should be able to work with tuples and lists and still import stuff. - :type lst: (threading.Thread, [collections.OrderedDict, ...]) + :type lst: (threading.Thread, [collections.defaultdict, ...]) """ #? ['start'] lst[0].start import collections as col # use some weird index - #? col.OrderedDict() + #? col.defaultdict() lst[1][10]