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

Method test_bad_target_filename

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

Source from the content-addressed store, hash-verified

26 self.cx.backup()
27
28 def test_bad_target_filename(self):
29 with self.assertRaises(TypeError):
30 self.cx.backup('some_file_name.db')
31
32 def test_bad_target_same_connection(self):
33 with self.assertRaises(ValueError):

Callers

nothing calls this directly

Calls 2

backupMethod · 0.80
assertRaisesMethod · 0.45

Tested by

no test coverage detected