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

Method test_keyword_only_args

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

Source from the content-addressed store, hash-verified

54 self.cx.backup(bck)
55
56 def test_keyword_only_args(self):
57 with self.assertRaises(TypeError):
58 with memory_database() as bck:
59 self.cx.backup(bck, 1)
60
61 def test_simple(self):
62 with memory_database() as bck:

Callers

nothing calls this directly

Calls 3

memory_databaseFunction · 0.85
backupMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected