Permalink
Browse files

add missing self arg

  • Loading branch information...
spulec committed Jan 16, 2013
1 parent 700853b commit a6634b025a050f94ca86a3f9547511be00359cb1
Showing with 2 additions and 2 deletions.
  1. +2 −2 freezegun/api.py
View
@@ -12,7 +12,7 @@ class FakeDate(real_date):
date_to_freeze = None
def __init__(self, *args, **kwargs):
- return real_date.__init__(*args, **kwargs)
+ return real_date.__init__(self, *args, **kwargs)
def __add__(self, other):
result = super(FakeDate, self).__add__(other)
@@ -44,7 +44,7 @@ class FakeDatetime(real_datetime, FakeDate):
tz_offset = None
def __init__(self, *args, **kwargs):
- return real_datetime.__init__(*args, **kwargs)
+ return real_datetime.__init__(self, *args, **kwargs)
def __add__(self, other):
result = super(FakeDatetime, self).__add__(other)

0 comments on commit a6634b0

Please sign in to comment.