Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Overridden test methods#29

Open
wrwrwr wants to merge 1 commit into
WB-Games:mainfrom
wrwrwr:feature/overridden-test-methods
Open

Overridden test methods#29
wrwrwr wants to merge 1 commit into
WB-Games:mainfrom
wrwrwr:feature/overridden-test-methods

Conversation

@wrwrwr

@wrwrwr wrwrwr commented Jun 22, 2015

Copy link
Copy Markdown

Just a small note -- something like this passes:

from chai import Chai

class A(Chai):
    def test(self):
        pass

class B(A):
    def test(self):
        raise RuntimeError

But fails if the base is changed from Chai to unittest.TestCase.

Base automatically changed from master to main March 11, 2021 16:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant