From 436444c0d493fef3177e5d9e771f7443cca97663 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Thu, 15 Jul 2021 12:05:25 -0400 Subject: [PATCH] chore: Remove outdated comment --- agate/table/print_table.py | 2 -- tests/test_py3.py | 5 +++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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))