From b4efbe8a5890ce1405ce3229356614a6f5b3208e Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 31 Aug 2014 13:43:02 -0400 Subject: [PATCH 1/2] Remove unused import --- Lib/distutils/tests/test_dir_util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/Lib/distutils/tests/test_dir_util.py b/Lib/distutils/tests/test_dir_util.py index 1589f1297db..7e84721f80d 100644 --- a/Lib/distutils/tests/test_dir_util.py +++ b/Lib/distutils/tests/test_dir_util.py @@ -2,7 +2,6 @@ import unittest import os import stat -import shutil import sys from distutils.dir_util import (mkpath, remove_tree, create_tree, copy_tree, From 1be2e82c57fad3bf8e04cb3e06212752de71ea70 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 31 Aug 2014 15:00:47 -0400 Subject: [PATCH 2/2] Correct indent --- Lib/distutils/tests/test_dir_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/distutils/tests/test_dir_util.py b/Lib/distutils/tests/test_dir_util.py index 7e84721f80d..6181ec6ef10 100644 --- a/Lib/distutils/tests/test_dir_util.py +++ b/Lib/distutils/tests/test_dir_util.py @@ -51,7 +51,7 @@ class DirUtilTestCase(support.TempdirManager, unittest.TestCase): self.assertEqual(self._logs, wanted) @unittest.skipIf(sys.platform.startswith('win'), - "This test is only appropriate for POSIX-like systems.") + "This test is only appropriate for POSIX-like systems.") def test_mkpath_with_custom_mode(self): # Get and set the current umask value for testing mode bits. umask = os.umask(0o002)