[PATCH net-next] tc-testing: correction to docstring in get_unique_item

Subsystems: kernel selftest framework, the rest

STALE3216d

3 messages, 3 authors, 2017-11-01 · open the first message on its own page

[PATCH net-next] tc-testing: correction to docstring in get_unique_item

From: Brenda J. Butler <hidden>
Date: 2017-10-31 18:28:10

Signed-off-by: Brenda J. Butler <redacted>
---
 tools/testing/selftests/tc-testing/tdc_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/tc-testing/tdc_helper.py b/tools/testing/selftests/tc-testing/tdc_helper.py
index c3254f861fb2..6f99a4efe761 100644
--- a/tools/testing/selftests/tc-testing/tdc_helper.py
+++ b/tools/testing/selftests/tc-testing/tdc_helper.py
@@ -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))
 
 
-- 
2.15.0.rc0

Re: [PATCH net-next] tc-testing: correction to docstring in get_unique_item

From: Lucas Bates <hidden>
Date: 2017-10-31 18:43:15

On Tue, Oct 31, 2017 at 2:28 PM, Brenda J. Butler [off-list ref] wrote:
quoted hunk
Signed-off-by: Brenda J. Butler <redacted>
---
 tools/testing/selftests/tc-testing/tdc_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/tc-testing/tdc_helper.py b/tools/testing/selftests/tc-testing/tdc_helper.py
index c3254f861fb2..6f99a4efe761 100644
--- a/tools/testing/selftests/tc-testing/tdc_helper.py
+++ b/tools/testing/selftests/tc-testing/tdc_helper.py
@@ -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))


--
2.15.0.rc0
Acked-by: Lucas Bates <redacted>

Re: [PATCH net-next] tc-testing: correction to docstring in get_unique_item

From: David Miller <davem@davemloft.net>
Date: 2017-11-01 02:06:34

From: "Brenda J. Butler" <redacted>
Date: Tue, 31 Oct 2017 14:28:02 -0400
Signed-off-by: Brenda J. Butler <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help