@setup({'widthratio11': '{% widthratio a b c %}'})
    def test_widthratio11(self):
        output = self.engine.render_to_string('widthratio11', {'a': 50, 'c': 100, 'b': 100})
        self.assertEqual(output, '50')

    # #18739: widthratio should handle None args consistently with
    # non-numerics
test resolve function
dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_width_ratio.py/WidthRatioTagTests.test_widthratio11--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/test_base.py/SwaggerBaseTestCase.test_resolve