summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tdc.py
diff options
context:
space:
mode:
authorBrenda J. Butler <bjb@mojatatu.com>2017-10-31 19:28:35 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-01 03:04:47 +0100
commit6c26c3fbc3295ce71f5e03caccc9eeb7369123ca (patch)
treeea15f0084e827cf0d1fa159537cde468b49f02bb /tools/testing/selftests/tc-testing/tdc.py
parenttc-testing: correction to docstring in get_unique_item (diff)
downloadlinux-6c26c3fbc3295ce71f5e03caccc9eeb7369123ca.tar.xz
linux-6c26c3fbc3295ce71f5e03caccc9eeb7369123ca.zip
tc-testing: better check if thing is list
Check if tcase[k] is an instance of a list (is or is derived from list) instead of checking if it is a list. This will be useful if the data structures change to be something that implements list, instead of being an actual list. In that case, this code will not have to change. Signed-off-by: Brenda J. Butler <bjb@mojatatu.com> Acked-by: Lucas Bates <lucasb@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tdc.py')
0 files changed, 0 insertions, 0 deletions