diff options
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index fe37936..00a4a91 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -12,7 +12,6 @@ from test_support import verbose, TestFailed import socket import os import time -import string def missing_ok(str): try: @@ -79,7 +78,7 @@ if verbose: print all_host_names for name in all_host_names: - if string.find(name, '.'): + if name.find('.'): break else: print 'FQDN not found' |