Masking problem not completely solved by previous commit

parent cc64fdd6b1e8
Version 9.2 (2012-11-22)
------------------------
Version 0.2.1 (2012-11-22)
--------------------------
- Fixed issue with ``datetime.time`` masking
......
......@@ -57,3 +57,14 @@ And with the ``time`` module::
True
>>> now_t - start_t < 0.01 # 10 ms again
True
Other constructors are still available (this is a non regression
test)::
>>> import datetime
>>> datetime.time(3, 57, 0)
datetime.time(3, 57)
>>> datetime.datetime(2013, 1, 1, 3, 57, 0)
datetime(2013, 1, 1, 3, 57)
>>> datetime.date(2013, 1, 1)
datetime.date(2013, 1, 1)
......@@ -2,7 +2,6 @@ import sys
from datetime import *
from datetime import datetime as original_datetime
from time import time as original_time
import time
class datetime(original_datetime):
......
from setuptools import setup, find_packages
version = 0.3dev
version = '0.2.1'
setup(
name = "anybox.testing.datetime",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment