diff options
| author | jonathan vanasco <jonathan@2xlp.com> | 2020-08-24 18:53:31 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-08-29 12:05:58 -0400 |
| commit | 672087176eaf3d0e867c6b5c67bfea3c713be42e (patch) | |
| tree | 659bc160dd94230c6fc94189617f414122de241d /test/sql/test_selectable.py | |
| parent | 317f2e1be2b06cdc12bc84510eb743d9752763dd (diff) | |
| download | sqlalchemy-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_selectable.py')
| -rw-r--r-- | test/sql/test_selectable.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py index 58280bb67..68d79fd51 100644 --- a/test/sql/test_selectable.py +++ b/test/sql/test_selectable.py @@ -45,7 +45,7 @@ from sqlalchemy.testing import eq_ from sqlalchemy.testing import fixtures from sqlalchemy.testing import in_ from sqlalchemy.testing import is_ -from sqlalchemy.testing import is_not_ +from sqlalchemy.testing import is_not from sqlalchemy.testing import ne_ @@ -2601,14 +2601,14 @@ class AnnotationsTest(fixtures.TestBase): ): eq_(elem, {}) - is_not_(b2.left, bin_.left) - is_not_(b3.left, b2.left) - is_not_(b2.left, bin_.left) + is_not(b2.left, bin_.left) + is_not(b3.left, b2.left) + is_not(b2.left, bin_.left) is_(b4.left, bin_.left) # since column is immutable # deannotate copies the element - is_not_(bin_.right, b2.right) - is_not_(b2.right, b3.right) - is_not_(b3.right, b4.right) + is_not(bin_.right, b2.right) + is_not(b2.right, b3.right) + is_not(b3.right, b4.right) def test_deannotate_clone(self): table1 = table("table1", column("col1"), column("col2")) @@ -2634,8 +2634,8 @@ class AnnotationsTest(fixtures.TestBase): eq_(s3._raw_columns[0]._annotations, {}) eq_(s4._raw_columns[0]._annotations, {}) - is_not_(s3, s2) - is_not_(s4, s3) # deep deannotate makes a clone unconditionally + is_not(s3, s2) + is_not(s4, s3) # deep deannotate makes a clone unconditionally is_(s3._deannotate(), s3) # regular deannotate returns same object |
