def test_macro_raises_malformed_argument_exception_for_filter(self):
        # use filter on template variable
        self.assertRaisesRegexp(
            template.TemplateSyntaxError,
            r"^Malformed arguments to the .+ tag.$",
            Template,
            self.LOAD_MACROS + "{% macro macro_name kwarg=arg|join:\",\" %}"
            "{% endmacro %}")

        # use filter on hard-coded string
        self.assertRaisesRegexp(
            template.TemplateSyntaxError,
            r"^Malformed arguments to the .+ tag.$",
            Template,
            self.LOAD_MACROS + "{% macro macro_name kwarg='arg'|join:\",\" %}"
            "{% endmacro %}")
Raise an exception if the specified CUBLAS status is an error.
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_macro_raises_malformed_argument_exception_for_filter--crossover with--dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cufft.py/cufftCheckStatus