def test_pickle_unrecognized_unit():
 a = u.Unit(u'asdf', parse_strict=u'silent')
 pickle.loads(pickle.dumps(a))

def test_pickle_unrecognized_unit ( ) : a = u . Unit ( u'asdf' , parse_strict = u'silent' ) pickle . loads ( pickle . dumps ( a ) )
issue #2047 .