(self)
| 1084 | ) |
| 1085 | |
| 1086 | def test_as_comparison_annotate(self): |
| 1087 | fn = func.foobar("x", "y", "q", "p", "r").as_comparison(2, 5) |
| 1088 | |
| 1089 | from sqlalchemy.sql import annotation |
| 1090 | |
| 1091 | fn_annotated = annotation._deep_annotate(fn, {"token": "yes"}) |
| 1092 | |
| 1093 | eq_(fn.left._annotations, {}) |
| 1094 | eq_(fn_annotated.left._annotations, {"token": "yes"}) |
| 1095 | |
| 1096 | def test_as_comparison_many_argument(self): |
| 1097 | fn = func.some_comparison("x", "y", "z", "p", "q", "r").as_comparison( |
nothing calls this directly
no test coverage detected