Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_print_row_prints_correct_block_count(self):
with patch('sys.stdout', new=StringIO()) as output:
tg.print_row('2007: 183.32', 17, 1.0, None)
output = output.getvalue().strip()
assert output == '▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇'