Coding style.

- Remove all dead code from tests.
This commit is contained in:
Andrew Hamilton 2021-10-31 22:22:52 +10:00
parent 4174f10526
commit c181ab9de9
8 changed files with 1 additions and 574 deletions

View file

@ -144,13 +144,6 @@ class ColorKeyForFileTestCase(TempDirTestCase):
self.COLOR_CODES),
lscolors.CHARACTER_DEVICE_KEY)
# FIX: Need a block device that is inside containers.
# def test_color_code_for_block_device(self):
# block_device_path = "/dev/loop0"
# self.assertEqual(
# lscolors.color_key_for_path(block_device_path, self.COLOR_CODES),
# lscolors.BLOCK_DEVICE_KEY)
def test_color_code_for_sticky_directory(self):
mode = os.stat(self.temp_dir).st_mode
os.chmod(self.temp_dir, mode | stat.S_ISVTX)