From 7e677f516d023a21e2f2bf6db34a9ca536370591 Mon Sep 17 00:00:00 2001 From: Max Shytikov Date: Tue, 29 Apr 2014 23:25:14 +0200 Subject: [PATCH] Deleted unnecessary __hash__ method of Request --- vcr/request.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/vcr/request.py b/vcr/request.py index a840572..5415743 100644 --- a/vcr/request.py +++ b/vcr/request.py @@ -46,20 +46,6 @@ class Request(object): def protocol(self): return self.scheme - def __key(self): - return ( - self.method, - self.uri, - self.body, - self.headers - ) - - def __hash__(self): - return hash(self.__key()) - - def __eq__(self, other): - return hash(self) == hash(other) - def __str__(self): return "".format(self.method, self.uri)