[lang-ref] ( foreach_with_filter ) ( python )

def test_foreach_with_filter():
    pytest.skip('Not supported')
def test_foreach_with_filter_alternative():
    items = [1, 2, 3, 4, 5, 6]

    r = ''
    for item in [x for x in items if x % 2 == 0]:
        r += str(item)

    assert r == '246'