def test_field_assign():
 from IronPythonTest.BinderTest import KeywordBase
 def f():
  KeywordBase.SomeField = 42
 AssertError(ValueError, f)

def test_field_assign ( ) : from IronPythonTest . BinderTest import KeywordBase def f ( ) : KeywordBase . SomeField = 42 AssertError ( ValueError , f )
assign to an instance field through the type .