Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Georges Racinet
atd
Commits
a3352df1e88c
Commit
6d168763
authored
Nov 22, 2012
by
Georges Racinet on purity.racinet.fr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Masking problem not completely solved by previous commit
parent
cc64fdd6b1e8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
CHANGES.txt
CHANGES.txt
+2
-2
README.txt
README.txt
+11
-0
anybox/testing/datetime/mock_dt.py
anybox/testing/datetime/mock_dt.py
+0
-1
setup.py
setup.py
+1
-1
No files found.
CHANGES.txt
View file @
a3352df1
Version
9
.2 (2012-11-22)
------------------------
Version
0
.2
.1
(2012-11-22)
------------------------
--
- Fixed issue with ``datetime.time`` masking
...
...
README.txt
View file @
a3352df1
...
...
@@ -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)
anybox/testing/datetime/mock_dt.py
View file @
a3352df1
...
...
@@ -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
):
...
...
setup.py
View file @
a3352df1
from
setuptools
import
setup
,
find_packages
version
=
0.
3
dev
version
=
'
0.
2.1'
setup
(
name
=
"anybox.testing.datetime"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment