Skip to content

Commit

Permalink
Remove notes about datetime.date objects and timezone matching.
Browse files Browse the repository at this point in the history
Issues googleapis#278 and googleapis#279 have been filed to address.
  • Loading branch information
dhermes committed Oct 23, 2014
1 parent 95528d2 commit c64389b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions regression/datastore.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ def _get_post(self, name=None, key_id=None, post_content=None):
post_content = post_content or {
'title': 'How to make the perfect pizza in your grill',
'tags': ['pizza', 'grill'],
# NOTE: We don't support datetime.date, but should.
# NOTE: Without a tz, assertEqual fails with
# "can't compare offset-naive and offset-aware datetimes"
'publishedAt': datetime.datetime(2001, 1, 1, tzinfo=pytz.utc),
'author': 'Silvano',
'isDraft': False,
Expand Down

0 comments on commit c64389b

Please sign in to comment.