(testcases)
return len(testcases) == 1 and not isinstance(testcases[0], tuple)
True iff testcases contains only a single non-tuple element.
True iff testcases contains only a single non-tuple element.
True iff testcases contains only a single non - tuple element .
def _IsSingletonList(testcases):
  """True iff testcases contains only a single non-tuple element."""
  return len(testcases) == 1 and not isinstance(testcases[0], tuple)
def _IsSingletonList ( testcases ) : return len ( testcases ) == 1 and not isinstance ( testcases [ 0 ] , tuple )