[lang-ref] ( block_scope ) ( python )

def test_block_scope():
    pytest.skip('Not supported')
def test_block_scope_alternative():
    # this case tests block-scope does not work
    x = 5
    if True:
        x = 1
    assert x == 1

    if True:
        x = 3
    assert x == 3