[py-svn] pytest-xdist commit 8e7b9712d0db: important for allowing addopts + looponfail

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Nov 17 22:13:07 CET 2010


# HG changeset patch -- Bitbucket.org
# Project pytest-xdist
# URL http://bitbucket.org/hpk42/pytest-xdist/overview
# User holger krekel <holger at merlinux.eu>
# Date 1290028368 -3600
# Node ID 8e7b9712d0dbe19a7577ef706293f9d2e24e24b0
# Parent  f4c1b7411063e811e9925056d3d532df44302f71
important for allowing addopts + looponfail

--- a/xdist/looponfail.py
+++ b/xdist/looponfail.py
@@ -122,7 +122,7 @@ def init_slave_session(channel, args, op
     from _pytest.config import Config
     config = Config()
     config.option.__dict__.update(option_dict)
-    config._preparse(args)
+    config._preparse(list(args))
     config.args = args
     from xdist.looponfail import SlaveFailSession
     SlaveFailSession(config, channel).main()



More information about the pytest-commit mailing list