Staging
v0.5.1
https://github.com/python/cpython
Revision 3e3d4a4b55cbef481486aaa68ee255f4928b9c3f authored by Miss Islington (bot) on 13 September 2018, 01:29:33 UTC, committed by GitHub on 13 September 2018, 01:29:33 UTC

This causes the tearDown code to only unimport the test modules specifically created as part of each test via the self.mkhier method rather than abusing test.support.modules_setup() and the scary test.support.modules_cleanup() code.

https://bugs.python.org/issue34200
(cherry picked from commit 4ae8ece5cd4c5853b625381db13429f25512108d)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
1 parent 2184fe5
Raw File
Tip revision: 3e3d4a4b55cbef481486aaa68ee255f4928b9c3f authored by Miss Islington (bot) on 13 September 2018, 01:29:33 UTC
bpo-34200: Fix non-determinism of test_pkg (GH-9248)
Tip revision: 3e3d4a4
prepare_ssl.bat
@echo off
if not defined HOST_PYTHON (
  if "%1" EQU "Debug" (
    shift
    set HOST_PYTHON=python_d.exe
    if not exist python36_d.dll exit 1
  ) ELSE (
    set HOST_PYTHON=python.exe
    if not exist python36.dll exit 1
  )
)
%HOST_PYTHON% "%~dp0prepare_ssl.py" %1
back to top