def tearDown(self):
        """
        Close client and server connections, reset values of L{NewStyleCopy2}
        class variables.
        """
        NewStyleCopy2.allocated = 0
        NewStyleCopy2.initialized = 0
        NewStyleCopy2.value = 1

        Close client and server connections, reset values of L{NewStyleCopy2}
        class variables.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/spread/test/test_pb.py