commit | b9a3dd9dfb780b9691f8a1859fd67cf9eadbd2d0 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Wed Feb 04 00:59:40 2015 -0800 |
committer | Gregory P. Smith <greg@krypto.org> | Wed Feb 04 00:59:40 2015 -0800 |
tree | c186f9c50fd386da260b0c345550df9f0a65ac81 | |
parent | 17d87f8ae42122025b5ce41230df6ba9e042ec40 [diff] |
Skip some tests that require a subinterpreter launched with -E or -I when the interpreter under test is being run in an environment that requires the use of environment variables such as PYTHONHOME in order to function at all. Adds a private test.script_helper._interpreter_requires_environment() function to be used with @unittest.skipIf on stdlib test methods requiring this.