def test_none_arguments_do_not_appear_in_dict(simple_namelist): nl = Namelist(simple_namelist) nl.ibrav = None assert 'ibrav' not in nl.namelist()