bpo-46178: Remove/rename redundant Travis CI code by hugovk · Pull Request #30309 · python/cpython

Follow on from #30257, some extra Travis CI bits and bobs to remove or rename.


There's also a few extra places that added extra handling to catch random fails on Travis, I didn't touch those, but perhaps they could be reviewed/removed:

$ git grep -i travis
...
Lib/test/pythoninfo.py:            # for device" on Travis CI
Lib/test/pythoninfo.py:        "TRAVIS",
Lib/test/support/socket_helper.py:        # with EADDRNOTAVAIL on Travis CI
Lib/test/support/socket_helper.py:        # EADDRNOTAVAIL on Travis CI.
Lib/test/test_socket.py:                # [bpo-33937](https://bugs.python.org/issue33937) the test randomly fails on Travis CI with
Lib/test/test_socket.py:            # [bpo-33937](https://bugs.python.org/issue33937): catch also ENOMEM, the test randomly fails on Travis CI
...

https://bugs.python.org/issue46178