From 0857fdbc8cdade888d23e6a51878032c13e0c21a Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 3 Oct 2023 17:51:51 -0400 Subject: [PATCH] test: Remove noqa --- tests/test_table/test_join.py | 2 +- tests/test_table/test_order_py.py | 3 +-- tests/test_table/test_print_bars.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/test_table/test_join.py b/tests/test_table/test_join.py index 1dd87e53..2d6d7878 100644 --- a/tests/test_table/test_join.py +++ b/tests/test_table/test_join.py @@ -215,7 +215,7 @@ def test_join_require_match(self): with self.assertRaises(ValueError): self.left.join(self.right, 'one', 'five', require_match=True) - new_table = self.left.join(self.right, 'one', 'four', require_match=True) # noqa + self.left.join(self.right, 'one', 'four', require_match=True) def test_join_columns_kwarg(self): new_table = self.left.join(self.right, 'one', 'four', columns=['six']) diff --git a/tests/test_table/test_order_py.py b/tests/test_table/test_order_py.py index e7f4e0a6..c6bbaa7d 100644 --- a/tests/test_table/test_order_py.py +++ b/tests/test_table/test_order_py.py @@ -143,5 +143,4 @@ def test_order_by_with_row_names(self): def test_order_by_empty_table(self): table = Table([], self.column_names) - - new_table = table.order_by('three') # noqa + table.order_by('three') diff --git a/tests/test_table/test_print_bars.py b/tests/test_table/test_print_bars.py index ea149b73..50ab0dfa 100644 --- a/tests/test_table/test_print_bars.py +++ b/tests/test_table/test_print_bars.py @@ -32,7 +32,7 @@ def test_print_bars(self): output = StringIO() table.print_bars('three', 'one', output=output) - lines = output.getvalue().split('\n') # noqa + output.getvalue().split('\n') def test_print_bars_width(self): table = Table(self.rows, self.column_names, self.column_types)