diff --git a/agate/table/print_table.py b/agate/table/print_table.py index d20436bd..101ec5b3 100644 --- a/agate/table/print_table.py +++ b/agate/table/print_table.py @@ -140,8 +140,6 @@ def write_row(formatted_row): write('%s%s%s' % (v_line, text, v_line)) - # Dashes span each width with '+' character at intersection of - # horizontal and vertical dividers. divider = '%(v_line)s %(columns)s %(v_line)s' % { 'v_line': v_line, 'columns': ' | '.join(h_line * w for w in widths) diff --git a/tests/test_py3.py b/tests/test_py3.py index 773e0e2c..8ec0d627 100644 --- a/tests/test_py3.py +++ b/tests/test_py3.py @@ -4,6 +4,7 @@ import csv import platform import os +import sys try: import unittest2 as unittest @@ -255,5 +256,5 @@ def test_sniffer(self): actual = csv_py3.Sniffer().sniff(contents).__dict__ expected = csv.Sniffer().sniff(contents).__dict__ - self.assertEqual(direct, expected, '%r != %r (%r)' % (direct, expected)) - self.assertEqual(actual, expected, '%r != %r (%r)' % (actual, expected)) + self.assertEqual(direct, expected, '%r != %r' % (direct, expected)) + self.assertEqual(actual, expected, '%r != %r' % (actual, expected))