Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
141
Merge Requests
141
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
18855566
Commit
18855566
authored
Apr 09, 2024
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testDateTime: skip a non applicable test
parent
c6a6d6a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testDateUtils.py
...TemplateItem/portal_components/test.erp5.testDateUtils.py
+5
-1
No files found.
bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testDateUtils.py
View file @
18855566
...
...
@@ -329,7 +329,7 @@ def test_suite():
suite
.
addTest
(
unittest
.
makeSuite
(
TestTimeZoneContext
))
suite
.
addTest
(
unittest
.
makeSuite
(
TestDateTimePatch
))
# also run original tests from DateTime module
# also run original tests from DateTime module
BBB ZOPE2
# pylint:disable=no-name-in-module
try
:
import
DateTime.tests.testDateTime
as
test_datetime
...
...
@@ -340,6 +340,10 @@ def test_suite():
class
DateTimeTests
(
test_datetime
.
DateTimeTests
):
testTimezoneNaiveHandling
=
unittest
.
expectedFailure
(
test_datetime
.
DateTimeTests
.
testTimezoneNaiveHandling
)
# ERP5 never used the pickle format with micros as float
# https://github.com/zopefoundation/DateTime/pull/62
test_pickle_old_with_micros_as_float
=
unittest
.
expectedFailure
(
test_datetime
.
DateTimeTests
.
test_pickle_old_with_micros_as_float
)
# This test is only in DateTime >= 3
if
hasattr
(
test_datetime
.
DateTimeTests
,
'test_intl_format_hyphen'
):
...
...
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