Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def make_config_files():
"""
Create files required for test model
"""
f90nml.namelist.Namelist(data).write(ctrldir/'data', force=True)
def test_pop_key(self):
test_nml = f90nml.read('empty.nml')
test_nml.pop('empty_nml')
self.assertEqual(test_nml, f90nml.namelist.Namelist())