MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_not_regexp_match

Method test_not_regexp_match

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

Source from the content-addressed store, hash-verified

3413 )
3414
3415 def test_not_regexp_match(self):
3416 assert_raises_message(
3417 exc.CompileError,
3418 "default dialect does not support regular expressions",
3419 (~self.table.c.myid.regexp_match("pattern")).compile,
3420 dialect=default.DefaultDialect(),
3421 )
3422
3423 def test_regexp_replace(self):
3424 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