import sys

class Test:
    def teardown_method(self, method):
        assert 1 == 0

    def test_fail1(self):
        # should fail because of failing teardown_method
        assert 1 == 1

    def test_fail2(self):
        assert 1 == 0