Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
ecd8674c
Commit
ecd8674c
authored
Nov 29, 2005
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert DateTime.txt to reST and a (pretty extensive) doctest.
parent
3159cf5b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
772 additions
and
536 deletions
+772
-536
lib/python/DateTime/DateTime.txt
lib/python/DateTime/DateTime.txt
+767
-535
lib/python/DateTime/tests/testDateTime.py
lib/python/DateTime/tests/testDateTime.py
+5
-1
No files found.
lib/python/DateTime/DateTime.txt
View file @
ecd8674c
This diff is collapsed.
Click to expand it.
lib/python/DateTime/tests/testDateTime.py
View file @
ecd8674c
...
...
@@ -379,7 +379,11 @@ class DateTimeTests(unittest.TestCase):
self
.
assertEqual
(
dt
.
strftime
(
u'Le %d/%m/%Y
\
xe0
%Hh%M'
),
ok
)
def
test_suite
():
return
unittest
.
makeSuite
(
DateTimeTests
)
from
zope.testing
import
doctest
return
unittest
.
TestSuite
([
unittest
.
makeSuite
(
DateTimeTests
),
doctest
.
DocFileSuite
(
'DateTime.txt'
,
package
=
'DateTime'
)
])
if
__name__
==
"__main__"
:
unittest
.
main
(
defaultTest
=
'test_suite'
)
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