def make_naive(value, timezone=None):
if timezone is None:<EOL><INDENT>timezone = TIMEZONE<EOL><DEDENT>if is_naive(value):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>o = value.astimezone(timezone)<EOL>naive = dt.datetime(o.year,<EOL>o.month,<EOL>o.day,<EOL>o.hour,<EOL>o.minute,<EOL>o.second,<EOL>o.microsecond)<EOL>return naive<EOL>
Make an aware datetime.datetime naive in a given time zone.

:param value: datetime
:param timezone: timezone
:return: naive datetime