def test_launch_tor_no_control_port(self):

        config = TorConfig()
        config.ControlPort = 0
        trans = FakeProcessTransportNoProtocol()
        trans.protocol = self.protocol

        def creator(*args, **kw):
            print "Bad: connection creator called"
            self.fail()

        def on_protocol(proto):
            self.process_proto = proto
        pp = launch_tor(config,
                        FakeReactor(self, trans, on_protocol),
                        connection_creator=creator, tor_binary='/bin/echo')
        self.assertTrue(pp.called)
        self.assertEqual(pp.result, self.process_proto)
        return pp
The len of a vector is the dimensionality.
dataset/ETHPy150Open meejah/txtorcon/test/test_torconfig.py/LaunchTorTests.test_launch_tor_no_control_port--crossover with--dataset/ETHPy150Open hhatto/autopep8/test/vectors_example.py/V.__len__