def remove(self, data):
		if self.root is None:
			raise KeyError()
		
		distance_to_root = self.distance_function(data, self.root.data)
		try:
			self.root.remove_data(data, distance_to_root, self)
		except _RootNodeReplacement as e:
			self.root = e.new_root
A call to the transport's connect method fails with a L{ValueError}
dataset/ETHPy150Open erdavila/M-Tree/py/mtree/__init__.py/MTree.remove--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_udp.py/UDPTestCase.test_badConnect