MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_char_length_fixed_args

Method test_char_length_fixed_args

test/sql/test_functions.py:550–552  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

548 self.assert_compile(ct, "CURRENT_TIMESTAMP(:current_timestamp_1)")
549
550 def test_char_length_fixed_args(self):
551 assert_raises(TypeError, func.char_length, "a", "b")
552 assert_raises(TypeError, func.char_length)
553
554 def test_return_type_detection(self):
555 for fn in [func.coalesce, func.max, func.min, func.sum]:

Callers

nothing calls this directly

Calls 1

assert_raisesFunction · 0.90

Tested by

no test coverage detected