def test_is_not_yaml(self):
        res = Check("xxx: {").is_not_yaml()
        self.assertIsInstance(res, Check)
        try:
            Check("valid_yaml").is_not_yaml()
            self.fail()
        except CheckError:
            pass