mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-02 19:26:44 +00:00
test_encode_share.py: fix some pyflakes warnings
This commit is contained in:
parent
4ba6f47d2c
commit
2566452091
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
import os
|
import os, time
|
||||||
from twisted.trial import unittest
|
from twisted.trial import unittest
|
||||||
from twisted.internet import defer
|
from twisted.internet import defer
|
||||||
from twisted.python import log
|
from twisted.python import log
|
||||||
@ -112,11 +112,9 @@ class Replicating(unittest.TestCase, Tester):
|
|||||||
class BenchPyRS(unittest.TestCase):
|
class BenchPyRS(unittest.TestCase):
|
||||||
enc_class = PyRSEncoder
|
enc_class = PyRSEncoder
|
||||||
def test_big(self):
|
def test_big(self):
|
||||||
import time
|
|
||||||
size = 10000
|
size = 10000
|
||||||
required_shares = 25
|
required_shares = 25
|
||||||
total_shares = 100
|
total_shares = 100
|
||||||
import os
|
|
||||||
# this lets us use a persistent lookup table, stored outside the
|
# this lets us use a persistent lookup table, stored outside the
|
||||||
# _trial_temp directory (which is deleted each time trial is run)
|
# _trial_temp directory (which is deleted each time trial is run)
|
||||||
os.symlink("../ffield.lut.8", "ffield.lut.8")
|
os.symlink("../ffield.lut.8", "ffield.lut.8")
|
||||||
|
Loading…
Reference in New Issue
Block a user