536f8fd
tests: Use python3 and python2 compatible socket exception type Replace socket.error with EnvironmentError exception class co-authored with Nir Soffer <nsoffer@redhat.com> Signed-off-by: Amit Bawer <abawer@redhat.com>