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
3fe671ef
Commit
3fe671ef
authored
Jun 01, 2005
by
Florent Guillaume
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed unit test.
parent
b08dca70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/python/DateTime/tests/testDateTime.py
lib/python/DateTime/tests/testDateTime.py
+2
-2
No files found.
lib/python/DateTime/tests/testDateTime.py
View file @
3fe671ef
...
@@ -375,8 +375,8 @@ class DateTimeTests(unittest.TestCase):
...
@@ -375,8 +375,8 @@ class DateTimeTests(unittest.TestCase):
def
testStrftimeUnicode
(
self
):
def
testStrftimeUnicode
(
self
):
dt
=
DateTime
(
'2002-05-02T08:00:00+00:00'
)
dt
=
DateTime
(
'2002-05-02T08:00:00+00:00'
)
self
.
assertEqual
(
dt
.
strftime
(
u'Le %d/%m/%Y
\
xe0
%Hh%M'
),
ok
=
dt
.
strftime
(
'Le %d/%m/%Y a %Hh%M'
).
replace
(
'a'
,
u'
\
xe0
'
)
u'Le 02/05/2002
\
xe0
10h00'
)
self
.
assertEqual
(
dt
.
strftime
(
u'Le %d/%m/%Y
\
xe0
%Hh%M'
),
ok
)
def
test_suite
():
def
test_suite
():
return
unittest
.
makeSuite
(
DateTimeTests
)
return
unittest
.
makeSuite
(
DateTimeTests
)
...
...
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