Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
64e3c66b
Commit
64e3c66b
authored
Mar 03, 2013
by
Zaur Shibzukhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change test to initialize by `import_datetime`
parent
19c9f538
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/run/datetime_members.pyx
tests/run/datetime_members.pyx
+2
-2
No files found.
tests/run/datetime_members.pyx
View file @
64e3c66b
from
cpython.datetime
cimport
PyDateTime_IMPORT
from
cpython.datetime
cimport
import_datetime
from
cpython.datetime
cimport
time_new
,
date_new
,
datetime_new
,
timedelta_new
from
cpython.datetime
cimport
time_tzinfo
,
datetime_tzinfo
from
cpython.datetime
cimport
time_hour
,
time_minute
,
time_second
,
time_microsecond
...
...
@@ -8,7 +8,7 @@ from cpython.datetime cimport datetime_hour, datetime_minute, datetime_second, \
datetime_microsecond
from
cpython.datetime
cimport
timedelta_days
,
timedelta_seconds
,
timedelta_microseconds
PyDateTime_IMPORT
import_datetime
()
def
test_date
(
int
year
,
int
month
,
int
day
):
'''
...
...
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