MCPcopy Index your code
hub / github.com/python/cpython / test_cli_execute_sql

Method test_cli_execute_sql

Lib/test/test_sqlite3/test_cli.py:59–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 self.assertIn(sqlite3.sqlite_version, out)
58
59 def test_cli_execute_sql(self):
60 out = self.expect_success(":memory:", "select 1")
61 self.assertIn("(1,)", out)
62
63 def test_cli_execute_too_much_sql(self):
64 stderr = self.expect_failure(":memory:", "select 1; select 2")

Callers

nothing calls this directly

Calls 2

expect_successMethod · 0.95
assertInMethod · 0.80

Tested by

no test coverage detected