diff options
| author | Martin <martin.basti@gmail.com> | 2016-08-02 23:26:49 +0200 |
|---|---|---|
| committer | Martin <martin.basti@gmail.com> | 2016-08-31 21:50:37 +0200 |
| commit | ab91796060192ef4694b09cca2f10108bd6ba949 (patch) | |
| tree | 003abfe61461d97abf0fa58b9a92fc58e5ffd63b /tests/test_generate.py | |
| parent | 42c6844e06be5abfe3e07e5e47be0ad68cac9fe0 (diff) | |
| download | dnspython-ab91796060192ef4694b09cca2f10108bd6ba949.tar.gz | |
Pylint: remove unused variables
This commit removes some unused variables (except those in iterations, list comprehensions and used for unpacking)
Diffstat (limited to 'tests/test_generate.py')
| -rw-r--r-- | tests/test_generate.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_generate.py b/tests/test_generate.py index cbd2254..1dd29cd 100644 --- a/tests/test_generate.py +++ b/tests/test_generate.py @@ -142,12 +142,12 @@ class GenerateTestCase(unittest.TestCase): def testFromText(self): def bad(): - z = dns.zone.from_text(example_text, 'example.', relativize=True) + dns.zone.from_text(example_text, 'example.', relativize=True) self.failUnlessRaises(dns.zone.NoSOA, bad) def testFromText1(self): def bad(): - z = dns.zone.from_text(example_text1, 'example.', relativize=True) + dns.zone.from_text(example_text1, 'example.', relativize=True) self.failUnlessRaises(dns.zone.NoSOA, bad) def testIterateAllRdatas2(self): |
