diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-08 18:11:13 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-08 18:11:13 (GMT) |
commit | e58571b7eaa3f282d7d29f3aead1cc8220bec473 (patch) | |
tree | e43f9fd886b42d92ec4d6c544fe83e91eb6f27e8 /Lib/test/test_shutil.py | |
parent | ee178e6d6ebcf28da8696c853cc9de5e3c0f15b4 (diff) | |
download | cpython-e58571b7eaa3f282d7d29f3aead1cc8220bec473.zip cpython-e58571b7eaa3f282d7d29f3aead1cc8220bec473.tar.gz cpython-e58571b7eaa3f282d7d29f3aead1cc8220bec473.tar.bz2 |
Fixes tests broken by issue #27781.
Diffstat (limited to 'Lib/test/test_shutil.py')
-rw-r--r-- | Lib/test/test_shutil.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 90a31d7..990fae5 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -132,9 +132,7 @@ class TestShutil(unittest.TestCase): write_file(os.path.join(victim, 'somefile'), 'foo') victim = os.fsencode(victim) self.assertIsInstance(victim, bytes) - win = (os.name == 'nt') - with self.assertWarns(DeprecationWarning) if win else ExitStack(): - shutil.rmtree(victim) + shutil.rmtree(victim) @support.skip_unless_symlink def test_rmtree_fails_on_symlink(self): |