summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2017-05-03 14:58:57 -0700
committerTim Burke <tim.burke@gmail.com>2017-05-03 15:07:20 -0700
commit292856defae59793785f755d8af805a3f9ed014b (patch)
tree2ee1365bcdd55983ec4e924434e550fac3ff697f /test
parentea1b479a816650242999f4c19401d201f6160047 (diff)
downloadpyeclib-292856defae59793785f755d8af805a3f9ed014b.tar.gz
Switch from pep8 to flake8 for linting
...and clean up the unused variables, unused imports, and inconsistent spacing that flake8 revealed. Change-Id: I3ae1e834f01f477be88dfc48de954eeaf19e43cf
Diffstat (limited to 'test')
-rw-r--r--test/test_pyeclib_api.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_pyeclib_api.py b/test/test_pyeclib_api.py
index 9585035..9137620 100644
--- a/test/test_pyeclib_api.py
+++ b/test/test_pyeclib_api.py
@@ -175,11 +175,11 @@ class TestPyECLibDriver(unittest.TestCase):
continue
try:
if _type is 'shss':
- _instance = ECDriver(k=10, m=4, ec_type=_type)
+ ECDriver(k=10, m=4, ec_type=_type)
elif _type is 'libphazr':
- _instance = ECDriver(k=4, m=4, ec_type=_type)
+ ECDriver(k=4, m=4, ec_type=_type)
else:
- _instance = ECDriver(k=10, m=5, ec_type=_type)
+ ECDriver(k=10, m=5, ec_type=_type)
except ECDriverError:
self.fail("%s algorithm not supported" % _type)