From 45fc3819a2b73c9e5d4f0bcabd57e89905bccf2a Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 8 Jan 2009 20:59:41 -0700 Subject: [PATCH] test_helper: hush pyflakes by avoiding use of 'uri' as a variable, since it shadows an import of the same name --- src/allmydata/test/test_helper.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/allmydata/test/test_helper.py b/src/allmydata/test/test_helper.py index 163b51ec..1dff5827 100644 --- a/src/allmydata/test/test_helper.py +++ b/src/allmydata/test/test_helper.py @@ -129,8 +129,8 @@ class AssistedUpload(unittest.TestCase): return upload_data(u, DATA, convergence="some convergence string") d.addCallback(_ready) def _uploaded(results): - uri = results.uri - assert "CHK" in uri + the_uri = results.uri + assert "CHK" in the_uri d.addCallback(_uploaded) def _check_empty(res): @@ -179,8 +179,8 @@ class AssistedUpload(unittest.TestCase): return upload_data(u, DATA, convergence="test convergence string") d.addCallback(_ready) def _uploaded(results): - uri = results.uri - assert "CHK" in uri + the_uri = results.uri + assert "CHK" in the_uri d.addCallback(_uploaded) def _check_empty(res): @@ -207,8 +207,8 @@ class AssistedUpload(unittest.TestCase): return upload_data(u, DATA, convergence="some convergence string") d.addCallback(_ready) def _uploaded(results): - uri = results.uri - assert "CHK" in uri + the_uri = results.uri + assert "CHK" in the_uri d.addCallback(_uploaded) def _check_empty(res): -- 2.45.2