From 0104dbab92a7e85e8568c862c15c4b492496e0d6 Mon Sep 17 00:00:00 2001 From: david-sarah Date: Tue, 9 Aug 2011 20:45:05 -0700 Subject: [PATCH] test_client.py, test_drop_upload.py: fix pyflakes warnings. --- src/allmydata/test/test_client.py | 2 +- src/allmydata/test/test_drop_upload.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index 3e5fdd95..59618fd5 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -227,7 +227,7 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase): basedir3 = "test_client.Basic.test_create_drop_uploader3" os.mkdir(basedir3) fileutil.write(os.path.join(basedir3, "tahoe.cfg"), config) - c3 = client.Client(basedir3) + client.Client(basedir3) self.failUnless([True for arg in mock_log_msg.call_args_list if "Boom" in repr(arg) and "something wrong" in repr(arg)], mock_log_msg.call_args_list) diff --git a/src/allmydata/test/test_drop_upload.py b/src/allmydata/test/test_drop_upload.py index 4f3007d8..30ff8811 100644 --- a/src/allmydata/test/test_drop_upload.py +++ b/src/allmydata/test/test_drop_upload.py @@ -2,12 +2,12 @@ import os, sys from twisted.trial import unittest -from twisted.python import filepath, runtime, log +from twisted.python import filepath, runtime from twisted.internet import defer from allmydata.interfaces import IDirectoryNode, NoSuchChildError -from allmydata.util import fileutil, fake_inotify +from allmydata.util import fake_inotify from allmydata.util.encodingutil import get_filesystem_encoding from allmydata.util.consumer import download_to_data from allmydata.test.no_network import GridTestMixin -- 2.45.2