BUG/CLN: use more-correct isinstance check
this is only kind of a bug, since the isinstance check still returns True on the `type(obj)`
Makes sense

> this is only kind of a bug, since the isinstance check still returns True on the `type(obj)`

So are there any code paths you could see hitting this? Int64index.union(UInt64Index) I think goes through here, or the other way
around.

On Tue, Jan 21, 2020 at 11:55 AM William Ayd <notifications@github.com>
wrote:

> Makes sense
>
> this is only kind of a bug, since the isinstance check still returns True
> on the type(obj)
>
> So are there any code paths you could see hitting this?
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/pandas-dev/pandas/pull/31180?email_source=notifications&email_token=AB5UM6FEVW5HRSHO3VXY2U3Q65HMTA5CNFSM4KJXPFG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJRBIVA#issuecomment-576853076>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AB5UM6H3P6WDMGMKJ2BRHWTQ65HMTANCNFSM4KJXPFGQ>
> .
>
 does this any tests?  > does this any tests?

no, it doesnt actually change any behavior