'It should be possible to execute a setup.py with a Byte Order Mark'

def test_setup_py_with_BOM(self):

    target = pkg_resources.resource_filename(__name__, 'script-with-bom.py')
    namespace = types.ModuleType('namespace')
    setuptools.sandbox.execfile(target, vars(namespace))
    assert (namespace.result == 'passed')
