Permalink
Browse files

Fix a test.

  • Loading branch information...
1 parent 991be60 commit 94803fc949c8a894e7fd04a507dbd795d2632640 @sixohsix committed Nov 22, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 twitter/api.py
View
@@ -83,6 +83,9 @@ class WrappedTwitterResponse(response_typ, TwitterResponse):
def __init__(self, response, headers):
response_typ.__init__(self, response)
TwitterResponse.__init__(self, headers)
+ def __new__(cls, response, headers):
+ return response_typ.__new__(cls, response)
+
return WrappedTwitterResponse(response, headers)

0 comments on commit 94803fc

Please sign in to comment.