Skip to contentSkip to conversation

tc-testing: correction to docstring in get_unique_item

PATCH Applied Brenda J. Butler 3 participants 3 messages Oct 31, 2017 – Nov 1, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tc-testing: correction to docstring in get_unique_item

---
 tools/testing/selftests/tc-testing/tdc_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/tc-testing/tdc_helper.py +1 -1
index c3254f861fb2..6f99a4efe761 100644
@@ -15,7 +15,7 @@ def get_categorized_testlist(alltests, ucat):
 
 
 def get_unique_item(lst):
-    """ For a list, return a set of the unique items in the list. """
+    """ For a list, return a list of the unique items in the list. """
     return list(set(lst))
 
 
Signature · 1 line
2.15.0.rc0
Acked-by on v1 1/1
#1 lore raw
Quoted 19 lines · Brenda J. Butler
---
 tools/testing/selftests/tc-testing/tdc_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/tc-testing/tdc_helper.py +1 -2
index c3254f861fb2..6f99a4efe761 100644
@@ -15,7 +15,7 @@ def get_categorized_testlist(alltests, ucat):
 
 
 def get_unique_item(lst):
-    """ For a list, return a set of the unique items in the list. """
+    """ For a list, return a list of the unique items in the list. """
     return list(set(lst))
 
 
--
Quoted 2 lines

2.15.0.rc0