MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_regexp_match

Method test_regexp_match

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

Source from the content-addressed store, hash-verified

3405 )
3406
3407 def test_regexp_match(self):
3408 assert_raises_message(
3409 exc.CompileError,
3410 "default dialect does not support regular expressions",
3411 self.table.c.myid.regexp_match("pattern").compile,
3412 dialect=default.DefaultDialect(),
3413 )
3414
3415 def test_not_regexp_match(self):
3416 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