aboutsummaryrefslogtreecommitdiffstats
path: root/distutils/tests/test_dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-07-02 11:29:37 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-07-02 11:29:37 -0400
commit7a8c226c9a27f1d5efb7e66b8aee779020a0c6a1 (patch)
tree4e886ec3153d0fa7aca2398d6ec2e4d30118bfcf /distutils/tests/test_dist.py
parentb596e4b0f684f5ac11673598e1de3aaa5bc74162 (diff)
parent76d53a85676ff2ac0947a409e9f49bb06b191636 (diff)
downloadexternal_python_setuptools-7a8c226c9a27f1d5efb7e66b8aee779020a0c6a1.tar.gz
external_python_setuptools-7a8c226c9a27f1d5efb7e66b8aee779020a0c6a1.tar.bz2
external_python_setuptools-7a8c226c9a27f1d5efb7e66b8aee779020a0c6a1.zip
Merge https://github.com/pypa/distutils into distutils
Diffstat (limited to 'distutils/tests/test_dist.py')
-rw-r--r--distutils/tests/test_dist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/distutils/tests/test_dist.py b/distutils/tests/test_dist.py
index 60956dad..d431085b 100644
--- a/distutils/tests/test_dist.py
+++ b/distutils/tests/test_dist.py
@@ -83,6 +83,10 @@ class DistributionTestCase(support.LoggingSilencer,
self.assertIsInstance(cmd, test_dist)
self.assertEqual(cmd.sample_option, "sometext")
+ @unittest.skipIf(
+ 'distutils' not in Distribution.parse_config_files.__module__,
+ 'Cannot test when virtualenv has monkey-patched Distribution.',
+ )
def test_venv_install_options(self):
sys.argv.append("install")
self.addCleanup(os.unlink, TESTFN)