def __invert__(self):                                            #(H1)
        res = BitVector( size = self.size )                          #(H2)
        lpb = map( operator.__inv__, self.vector )                   #(H3) 
        res.vector = array.array( 'H' )                              #(H3)
        for i in range(len(lpb)):                                    #(H4)
            res.vector.append( lpb[i] & 0x0000FFFF )                 #(H5)
        return res                                                   #(H6)
Sets up the needed objects used throughout the test.
dataset/ETHPy150Open networkdynamics/zenlib/src/zen/util/bitvector.py/BitVector.__invert__--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/file_io/data_range_io.py/DataRangeTest.setUp