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
4adb37c4
Commit
4adb37c4
authored
Dec 08, 2013
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
parent
7ef00ff9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Lib/test/test_abstract_numbers.py
Lib/test/test_abstract_numbers.py
+0
-4
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/test/test_abstract_numbers.py
View file @
4adb37c4
...
...
@@ -4,7 +4,6 @@ import math
import
operator
import
unittest
from
numbers
import
Complex
,
Real
,
Rational
,
Integral
from
test
import
support
class
TestNumbers
(
unittest
.
TestCase
):
def
test_int
(
self
):
...
...
@@ -40,9 +39,6 @@ class TestNumbers(unittest.TestCase):
self
.
assertRaises
(
TypeError
,
float
,
c1
)
self
.
assertRaises
(
TypeError
,
int
,
c1
)
def
test_main
():
support
.
run_unittest
(
TestNumbers
)
if
__name__
==
"__main__"
:
unittest
.
main
()
Misc/NEWS
View file @
4adb37c4
...
...
@@ -97,6 +97,9 @@ Library
Tests
-----
- Issue #19926: Removed unneeded test_main from test_abstract_numbers.
Patch by Vajrasky Kok.
- Issue #19595: Re-enabled a long-disabled test in test_winsound.
- Issue #19588: Fixed tests in test_random that were silently skipped most
...
...
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