Skip to content

Commit

Permalink
chore: Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 15, 2021
1 parent 01cdc12 commit 436444c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions agate/table/print_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 3 additions & 2 deletions tests/test_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import csv
import platform
import os
import sys

try:
import unittest2 as unittest
Expand Down Expand Up @@ -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))

0 comments on commit 436444c

Please sign in to comment.