diff --git a/odoo/tests/common.py b/odoo/tests/common.py index 165e4459779..3c4344b3a1e 100644 --- a/odoo/tests/common.py +++ b/odoo/tests/common.py @@ -449,7 +449,7 @@ class HttpCase(TransactionCase): _logger.info('phantomjs unlink localstorage %s', i) os.unlink(i) try: - phantom = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=None, close_fds=True) + phantom = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=None) except OSError: raise unittest.SkipTest("PhantomJS not found") try: