Fix typing errors
- [x] closes subtask of #28926
- [x] tests passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Thanks, @AbhijeetKrishnan ! Thanks!

> On Oct 21, 2019, at 11:04 AM, Abhijeet Krishnan <notifications@github.com> wrote:
> 
> @AbhijeetKrishnan commented on this pull request.
> 
> In pandas/tests/dtypes/test_inference.py <https://github.com/pandas-dev/pandas/pull/29114#discussion_r337160476>:
> 
> > @@ -288,7 +288,10 @@ class MockFile:
>      assert not is_file(data)
>  
>  
> -@pytest.mark.parametrize("ll", [collections.namedtuple("Test", list("abc"))(1, 2, 3)])
> +test_tuple = collections.namedtuple("Test", ["a", "b", "c"])
> Opened two issues with typeshed for
> 
> incorrect type inference on collections.namedtuple(): python/typeshed#3394 (comment) <https://github.com/python/typeshed/issues/3394#issue-510165256>
> incorrect type inference for literal list('abc'): python/typeshed#3395 (comment) <https://github.com/python/typeshed/issues/3395#issue-510169457>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub <https://github.com/pandas-dev/pandas/pull/29114?email_source=notifications&email_token=AAEU4UKKXJ64HNKSN5V6R7TQPXVLHA5CNFSM4JCVC5I2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCIVBHYY#discussion_r337160476>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAEU4UNRM5W5BBAR6QLPX6TQPXVLHANCNFSM4JCVC5IQ>.
> 

William Ayd
william.ayd@icloud.com



