diff options
Diffstat (limited to 'test/test_bier.py')
-rw-r--r-- | test/test_bier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_bier.py b/test/test_bier.py index b02014daa33..1c58ee58bd3 100644 --- a/test/test_bier.py +++ b/test/test_bier.py @@ -167,7 +167,7 @@ class TestBier(VppTestCase): byte_val = scapy.compat.chb(1 << (bp - 1) % 8) byte_pos = n_bytes - (((bp - 1) // 8) + 1) byte_array[byte_pos] = byte_val - bitstring = b''.join([scapy.compat.chb(x) for x in byte_array]) + bitstring = b''.join(byte_array) self.assertEqual(len(bitstring), len(bier_hdr.BitString)) self.assertEqual(bitstring, bier_hdr.BitString) |