Commits

Jason R. Coombs committed 832d419

Updated scanner test so it works if IPv6 address is resolved

  • Participants
  • Parent commits 2414308
  • Tags 2.0

Comments (0)

Files changed (1)

jaraco/net/scanner.py

 	['192.168.0.1']
 
 	One may also specify named hosts
-	>>> list(get_hosts('www.example.com'))
-	['192.0.43.10']
+	>>> '192.0.43.10' in get_hosts('www.example.com')
+	True
 	"""
 	_map = {
 		r'[\D.]+$': ('match', _get_named_host),