Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7723be8

Browse files
authored
remove broken test
remove broken test, see #220 and #189 ``` If it is necessary to override the __init__ method, the base class __init__ method must always be called. It is important that subclasses should not change the signature of their __init__ method, since instances of the classes are instantiated automatically by parts of the framework in order to be run. ```
1 parent e8a337c commit 7723be8

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎tests/testsuite.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ def validate_junit_report(version, text):
4444
schema.assertValid(document)
4545

4646

47-
class TestCaseSubclassWithNoSuper(unittest.TestCase):
48-
def __init__(self, description):
49-
# no super, see #189
50-
pass
51-
52-
def run(self, result):
53-
result = _XMLTestResult()
54-
result.startTest(self)
55-
result.stopTest(self)
56-
57-
def test_something(self):
58-
pass
59-
60-
6147
class DoctestTest(unittest.TestCase):
6248

6349
def test_doctest_example(self):

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /