MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_bad_kwarg_raise

Method test_bad_kwarg_raise

test/sql/test_metadata.py:5348–5359  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5346 )
5347
5348 def test_bad_kwarg_raise(self):
5349 with self._fixture():
5350 assert_raises_message(
5351 TypeError,
5352 "Additional arguments should be named "
5353 "<dialectname>_<argument>, got 'foobar'",
5354 Index,
5355 "a",
5356 "b",
5357 "c",
5358 foobar=True,
5359 )
5360
5361 def test_unknown_dialect_warning(self):
5362 with self._fixture():

Callers

nothing calls this directly

Calls 2

_fixtureMethod · 0.95
assert_raises_messageFunction · 0.90

Tested by

no test coverage detected