Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_mkkanwa(self):
if self.kanwa is None:
self.kanwa = genkanwadict.mkkanwa()
src = os.path.join('tests', 'kakasidict.utf8')
dst = os.path.join(self.tmpdir, 'test_kanwadict3.db') # FIXME: no hardcoded filename
self.kanwa.run(src, dst)