<s> import rpyc <EOL> import threading <EOL> import socket <EOL> import unittest <EOL> import time <EOL> from rpyc . utils . server import ThreadedServer <EOL> from rpyc import SlaveService <EOL> from nose import SkipTest <EOL> raise SkipTest ( "<STR_LIT>" ) <EOL> class Test_IPv6 ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . server = ThreadedServer ( SlaveService , port = <NUM_LIT:0> , ipv6 = True ) <EOL> self . server . logger . quiet = True <EOL> self . thd = threading . Thread ( target = self . server . start ) <EOL> self . thd . start ( ) <EOL> time . sleep ( <NUM_LIT:1> ) <EOL> def tearDown ( self ) : <EOL> self . server . close ( ) <EOL> self . thd . join ( ) <EOL> def test_ipv6_conenction ( self ) : <EOL> c = rpyc . classic . connect ( "<STR_LIT>" , port = self . server . port , ipv6 = True ) <EOL> print ( repr ( c ) ) <EOL> print ( c . modules . sys ) <EOL> print ( c . modules [ "<STR_LIT>" ] . parseString ( "<STR_LIT>" ) ) <EOL> c . execute ( "<STR_LIT>" ) <EOL> self . assertEqual ( c . namespace [ "<STR_LIT:x>" ] , <NUM_LIT:5> ) <EOL> self . assertEqual ( c . eval ( "<STR_LIT>" ) , <NUM_LIT:6> ) <EOL> c . close ( ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> unittest . main ( ) </s>
