<s> """<STR_LIT>""" <EOL> import nose . tools as nt <EOL> from IPython . core . fakemodule import FakeModule , init_fakemod_dict <EOL> def test_mk_fakemod ( ) : <EOL> fm = FakeModule ( ) <EOL> yield nt . assert_true , fm <EOL> yield nt . assert_true , lambda : hasattr ( fm , '<STR_LIT>' ) <EOL> def test_mk_fakemod_fromdict ( ) : <EOL> """<STR_LIT>""" <EOL> fm = FakeModule ( dict ( hello = True ) ) <EOL> nt . assert_true ( fm . hello ) </s>
