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

Method test_bad_target

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

Source from the content-addressed store, hash-verified

20 self.assertEqual(result[1][0], 4)
21
22 def test_bad_target(self):
23 with self.assertRaises(TypeError):
24 self.cx.backup(None)
25 with self.assertRaises(TypeError):
26 self.cx.backup()
27
28 def test_bad_target_filename(self):
29 with self.assertRaises(TypeError):

Callers

nothing calls this directly

Calls 2

backupMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected