

def test_finalize_options(self):
    (pkg_dir, dist) = self.create_dist()
    cmd = config(dist)
    cmd.include_dirs = ('one%stwo' % os.pathsep)
    cmd.libraries = 'one'
    cmd.library_dirs = ('three%sfour' % os.pathsep)
    pkg_dir.ensure_finalized()
    self.assertEqual(cmd.include_dirs, ['one', 'two'])
    self.assertEqual(cmd.libraries, ['one'])
    self.assertEqual(cmd.library_dirs, ['three', 'four'])

dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/distutils/tests/test_config_cmd.py ConfigTestCase.test_finalize_options/VarMisuse@59/81 `cmd`->`pkg_dir`