summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-07-06 18:34:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-07-06 18:34:48 -0400
commit2c4c254a32e27c24b7714d541bd41eef97c375b5 (patch)
treecc704b19454d69da02bc4c1dd91cef22c48f77c9 /tests/test_process.py
parent9ae35a5f6a4fed487ef6c14edd6b4eb4f5c1b7f0 (diff)
downloadpython-coveragepy-git-2c4c254a32e27c24b7714d541bd41eef97c375b5.tar.gz
Can't run the delete-my-directory tests on Windows
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index a5303338..000330ad 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1296,6 +1296,11 @@ class UnicodeFilePathsTest(CoverageTest):
class YankedDirectoryTest(CoverageTest):
"""Tests of what happens when the current directory is deleted."""
+ def setUp(self):
+ if env.WINDOWS:
+ self.skipTest("Windows can't delete the directory in use.")
+ super(YankedDirectoryTest, self).setUp()
+
BUG_806 = """\
import os
import sys