#NEWLINE# def test_binding_high( ) : #NEWLINE# #INDENT# s = socket . socket ( ) #NEWLINE# s . bind ( ( '' , 0 ) ) #NEWLINE# port = s . getsockname ( ) [ 1 ] #NEWLINE# assert ( port_for . port_is_used ( port ) == True ) #NEWLINE# s . close ( ) #NEWLINE# assert ( port_for . port_is_used ( port ) == False )