diff options
author | Javi Merino <javi.merino@arm.com> | 2015-06-15 18:29:44 +0100 |
---|---|---|
committer | Javi Merino <javi.merino@arm.com> | 2015-08-13 18:59:56 +0100 |
commit | adcfc8e5411a86ef07237def83efbb8d652a5fe4 (patch) | |
tree | 4f55b95442b9b19986cc1f7fe316f522bc783291 /tests | |
parent | 7b98b4aee0d80f5f6309fe614ffffa046c24a9c9 (diff) | |
download | trappy-adcfc8e5411a86ef07237def83efbb8d652a5fe4.tar.gz |
compare_runs: use isinstance to check types
It's more pythonic to do "isinstance(variable, type)" than "type() is".
isinstance() supports inheritance, which may come handy in the future.
Change-Id: I661f6cda51b081b4fb15281cb38c891c6a61022e
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions