From ecf2cb8cfc6400f02508f99e7a3b2902a554881c Mon Sep 17 00:00:00 2001 From: jazzthief Date: Thu, 19 Jan 2023 17:58:17 +0100 Subject: [PATCH] Remove NOT from binary op test --- test/sql/test_operators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py index a1e5875e64..3424f3ab3f 100644 --- a/test/sql/test_operators.py +++ b/test/sql/test_operators.py @@ -4544,14 +4544,14 @@ class BitOpTest(fixtures.TestBase, testing.AssertsCompiledSQL): ("xor", operators.bitwise_xor_op, "^"), ("or", operators.bitwise_or_op, "|"), ("and", operators.bitwise_and_op, "&"), - ("not", operators.bitwise_not_op, "~"), ("lshift", operators.bitwise_lshift_op, "<<"), ("rshift", operators.bitwise_rshift_op, ">>"), id_="iaa", ) - def test_default_compile(self, py_op, sql_op): + def test_compile_binary(self, py_op, sql_op): c1 = column("c1", Integer) c2 = column("c2", Integer) + self.assert_compile( select(py_op(c1, c2)), f"SELECT c1 {sql_op} c2 AS anon_1", -- 2.47.3