MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / test_regexp_match

Method test_regexp_match

test/sql/test_operators.py:3216–3222  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3214 )
3215
3216 def test_regexp_match(self):
3217 assert_raises_message(
3218 exc.CompileError,
3219 "default dialect does not support regular expressions",
3220 self.table.c.myid.regexp_match("pattern").compile,
3221 dialect=default.DefaultDialect(),
3222 )
3223
3224 def test_not_regexp_match(self):
3225 assert_raises_message(

Callers

nothing calls this directly

Calls 2

assert_raises_messageFunction · 0.90
regexp_matchMethod · 0.45

Tested by

no test coverage detected