Skip to content

Commit

Permalink
fix pylint complaints about new single-letter vars
Browse files Browse the repository at this point in the history
In test_counting_hash.py
  • Loading branch information
kdm9 committed Mar 10, 2015
1 parent 635aa28 commit 2bcebc0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_counting_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ def test_get_raw_tables():
def test_get_raw_tables_view():
ht = khmer.new_counting_hash(20, 1e5, 4)
tables = ht.get_raw_tables()
for t in tables:
m = memoryview(t)
assert sum(m.tolist()) == 0
for tab in tables:
memv = memoryview(tab)
assert sum(memv.tolist()) == 0
ht.consume('AAAATTTTCCCCGGGGAAAA')
for t in tables:
m = memoryview(t)
assert sum(m.tolist()) == 1
for tab in tables:
memv = memoryview(tab)
assert sum(memv.tolist()) == 1


@attr('linux')
Expand Down

0 comments on commit 2bcebc0

Please sign in to comment.