projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ba6f47
)
test_encode_share.py: fix some pyflakes warnings
author
Brian Warner
<warner@allmydata.com>
Sat, 6 Jan 2007 01:53:22 +0000
(18:53 -0700)
committer
Brian Warner
<warner@allmydata.com>
Sat, 6 Jan 2007 01:53:22 +0000
(18:53 -0700)
src/allmydata/test/test_encode_share.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_encode_share.py
b/src/allmydata/test/test_encode_share.py
index 8446fcce3a29d727077547a96805b95c89d129ac..bf59d72bb1c529850538c82ea7b8ec0d71d66ea8 100644
(file)
--- a/
src/allmydata/test/test_encode_share.py
+++ b/
src/allmydata/test/test_encode_share.py
@@
-1,5
+1,5
@@
-import os
+import os
, time
from twisted.trial import unittest
from twisted.internet import defer
from twisted.python import log
@@
-112,11
+112,9
@@
class Replicating(unittest.TestCase, Tester):
class BenchPyRS(unittest.TestCase):
enc_class = PyRSEncoder
def test_big(self):
- import time
size = 10000
required_shares = 25
total_shares = 100
- import os
# this lets us use a persistent lookup table, stored outside the
# _trial_temp directory (which is deleted each time trial is run)
os.symlink("../ffield.lut.8", "ffield.lut.8")