summaryrefslogtreecommitdiff
path: root/test/sql/test_operators.py
diff options
context:
space:
mode:
authorjonathan vanasco <jonathan@2xlp.com>2020-08-24 18:53:31 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-08-29 12:05:58 -0400
commit672087176eaf3d0e867c6b5c67bfea3c713be42e (patch)
tree659bc160dd94230c6fc94189617f414122de241d /test/sql/test_operators.py
parent317f2e1be2b06cdc12bc84510eb743d9752763dd (diff)
downloadsqlalchemy-672087176eaf3d0e867c6b5c67bfea3c713be42e.tar.gz
internal test framework files for standardization of is_not/not_in;
this is safe for 1.3.x Change-Id: Icba38fdc20f5d8ac407383a4278ccb346e09af38
Diffstat (limited to 'test/sql/test_operators.py')
-rw-r--r--test/sql/test_operators.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sql/test_operators.py b/test/sql/test_operators.py
index fcf40ebbd..7f9f6dd1e 100644
--- a/test/sql/test_operators.py
+++ b/test/sql/test_operators.py
@@ -57,7 +57,7 @@ from sqlalchemy.testing import eq_
from sqlalchemy.testing import expect_warnings
from sqlalchemy.testing import fixtures
from sqlalchemy.testing import is_
-from sqlalchemy.testing import is_not_
+from sqlalchemy.testing import is_not
from sqlalchemy.types import ARRAY
from sqlalchemy.types import Boolean
from sqlalchemy.types import Concatenable
@@ -2129,7 +2129,7 @@ class NegationTest(fixtures.TestBase, testing.AssertsCompiledSQL):
expr = not_(orig_expr)
isinstance(expr, Label)
eq_(expr.name, "foo")
- is_not_(expr, orig_expr)
+ is_not(expr, orig_expr)
is_(expr._element.operator, operator.inv) # e.g. and not false_
self.assert_compile(
@@ -2143,7 +2143,7 @@ class NegationTest(fixtures.TestBase, testing.AssertsCompiledSQL):
self.table1.c.myid == 1, self.table1.c.myid == 2
).self_group()
expr = not_(orig_expr)
- is_not_(expr, orig_expr)
+ is_not(expr, orig_expr)
self.assert_compile(
expr,