test/test_bandwidth: review, cleanup, fix typo.

This commit is contained in:
Florent Kermarrec 2020-04-14 21:57:40 +02:00
parent 907ef73971
commit de55a8e170
1 changed files with 6 additions and 6 deletions

View File

@ -166,7 +166,7 @@ class TestBandwidth(unittest.TestCase):
self.assertEqual(results["nreads"], cmd_driver.cmd_counts["read"]) self.assertEqual(results["nreads"], cmd_driver.cmd_counts["read"])
def test_correct_period_length(self): def test_correct_period_length(self):
# Verify that period length is correct by measuring time betwee CSR changes. # Verify that period length is correct by measuring time between CSR changes.
period_bits = 5 period_bits = 5
period = 2**period_bits period = 2**period_bits