From d4e48b7f61a767dd32195ccc91949017bbef5a05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Thu, 13 Nov 2003 07:45:39 +0000 Subject: Patch #839877: Remove unused lambda expression. --- Lib/test/test_glob.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/test/test_glob.py b/Lib/test/test_glob.py index a06ce9d..dd33691 100644 --- a/Lib/test/test_glob.py +++ b/Lib/test/test_glob.py @@ -66,7 +66,6 @@ class GlobTests(unittest.TestCase): def test_glob_literal(self): eq = self.assertSequencesEqual_noorder - np = lambda *f: norm(self.tempdir, *f) eq(self.glob('a'), [self.norm('a')]) eq(self.glob('a', 'D'), [self.norm('a', 'D')]) eq(self.glob('aab'), [self.norm('aab')]) @@ -74,7 +73,6 @@ class GlobTests(unittest.TestCase): def test_glob_one_directory(self): eq = self.assertSequencesEqual_noorder - np = lambda *f: norm(self.tempdir, *f) eq(self.glob('a*'), map(self.norm, ['a', 'aab', 'aaa'])) eq(self.glob('*a'), map(self.norm, ['a', 'aaa'])) eq(self.glob('aa?'), map(self.norm, ['aaa', 'aab'])) @@ -83,7 +81,6 @@ class GlobTests(unittest.TestCase): def test_glob_nested_directory(self): eq = self.assertSequencesEqual_noorder - np = lambda *f: norm(self.tempdir, *f) if os.path.normcase("abCD") == "abCD": # case-sensitive filesystem eq(self.glob('a', 'bcd', 'E*'), [self.norm('a', 'bcd', 'EF')]) @@ -95,7 +92,6 @@ class GlobTests(unittest.TestCase): def test_glob_directory_names(self): eq = self.assertSequencesEqual_noorder - np = lambda *f: norm(self.tempdir, *f) eq(self.glob('*', 'D'), [self.norm('a', 'D')]) eq(self.glob('*', '*a'), []) eq(self.glob('a', '*', '*', '*a'), -- cgit v0.12