From 2b0dc3f83af77eeaedd71e3dad62109966d277c9 Mon Sep 17 00:00:00 2001 From: Hugo Date: Thu, 21 Dec 2017 10:59:52 +0200 Subject: [PATCH] Remove redundant Python 3.2 code --- xdist/remote.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xdist/remote.py b/xdist/remote.py index b35a9a7..554117b 100644 --- a/xdist/remote.py +++ b/xdist/remote.py @@ -178,10 +178,6 @@ def remote_initconfig(option_dict, args): if __name__ == '__channelexec__': channel = channel # noqa - # python3.2 is not concurrent import safe, so let's play it safe - # https://bitbucket.org/hpk42/pytest/issue/347/pytest-xdist-and-python-32 - if sys.version_info[:2] == (3, 2): - os.environ["PYTHONDONTWRITEBYTECODE"] = "1" slaveinput, args, option_dict = channel.receive() importpath = os.getcwd() sys.path.insert(0, importpath) # XXX only for remote situations