Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
1dbe5373
Commit
1dbe5373
authored
Oct 11, 2019
by
Dong-hee Na
Committed by
Serhiy Storchaka
Oct 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enable the OverflowError test for test_truediv on test_complex (GH-16591)
parent
b6e0fc74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Lib/test/test_complex.py
Lib/test/test_complex.py
+1
-2
No files found.
Lib/test/test_complex.py
View file @
1dbe5373
...
...
@@ -100,8 +100,7 @@ class ComplexTest(unittest.TestCase):
complex
(
random
(),
random
()))
self
.
assertRaises
(
ZeroDivisionError
,
complex
.
__truediv__
,
1
+
1j
,
0
+
0j
)
# FIXME: The following currently crashes on Alpha
# self.assertRaises(OverflowError, pow, 1e200+1j, 1e200+1j)
self
.
assertRaises
(
OverflowError
,
pow
,
1e200
+
1j
,
1e200
+
1j
)
self
.
assertAlmostEqual
(
complex
.
__truediv__
(
2
+
0j
,
1
+
1j
),
1
-
1j
)
self
.
assertRaises
(
ZeroDivisionError
,
complex
.
__truediv__
,
1
+
1j
,
0
+
0j
)
...
...
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