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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alecs_myu
erp5
Commits
80fa21d4
Commit
80fa21d4
authored
Apr 24, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! Fix backportUnittest for Python 2.7.4
parent
f325bfd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
product/ERP5Type/tests/backportUnittest.py
product/ERP5Type/tests/backportUnittest.py
+0
-3
No files found.
product/ERP5Type/tests/backportUnittest.py
View file @
80fa21d4
...
@@ -176,9 +176,6 @@ class TestCase(unittest.TestCase):
...
@@ -176,9 +176,6 @@ class TestCase(unittest.TestCase):
"""Skip this test."""
"""Skip this test."""
raise
SkipTest
(
reason
)
raise
SkipTest
(
reason
)
def
defaultTestResult
(
self
):
return
TestResult
()
if
not
hasattr
(
unittest
.
TestResult
,
'addSkip'
):
# BBB: Python < 2.7
if
not
hasattr
(
unittest
.
TestResult
,
'addSkip'
):
# BBB: Python < 2.7
unittest
.
TestResult
.
_orig_init__
=
unittest
.
TestResult
.
__init__
.
im_func
unittest
.
TestResult
.
_orig_init__
=
unittest
.
TestResult
.
__init__
.
im_func
...
...
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