Issue #20254: Fix duplicate tests in test_socket

Patch by Vajrasky Kok.
1 file changed