예제 #1
0
def test_is_new_style_false():
    nt.assert_false(_compat.is_new_style(NRN0.neurites[0]))
    nt.assert_false(_compat.is_new_style(NRN0))
    nt.assert_false(_compat.is_new_style([1,2,3]))
예제 #2
0
def test_is_new_style_true():
    nt.assert_true(_compat.is_new_style(NRN1.neurites[0]))
    nt.assert_true(_compat.is_new_style(NRN1))