Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
xzdandy committed Sep 11, 2023
1 parent 37041f9 commit 9caf569
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions test/unit_tests/executor/test_seq_scan_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,27 +83,6 @@ def test_should_return_projected_columns(self):
actual = list(proj_executor.exec())[0]
self.assertEqual(proj_batch, actual)

def test_should_return_expr(self):
constant = Batch(pd.DataFrame([1]))
expression = [
type(
"AbstractExpression",
(),
{
"evaluate": lambda x: constant,
"find_all": lambda expr: [],
},
)
]

plan = type(
"ScanPlan", (), {"predicate": None, "columns": expression, "alias": None}
)
proj_executor = SequentialScanExecutor(MagicMock(), plan)

actual = list(proj_executor.exec())[0]
self.assertEqual(constant, actual)


if __name__ == "__main__":
unittest.main()

0 comments on commit 9caf569

Please sign in to comment.