def assertFailed(self, arg, msg=None):
        """Assert a sub-test run by the `run_subtest()` method failed.

        Useful for "negative" tests.
        """
        if (constants.FAILED, constants.EXPECTED_FAIL) not in int(arg):
            raise TestFailError, msg or "Did not pass test."
dataset/ETHPy150Open kdart/pycopia/QA/pycopia/QA/core.py/Test.assertFailed/swapped operands of `not in`