code: def test_nonascii_filename(self):
      filename = os_helper.TESTFN_NONASCII
      for suffix in ["", ".pag", ".dir", ".db"]:
          self.addCleanup(os_helper.unlink, filename + suffix)
      with dbm.ndbm.open(filename, "c") as db:
          db[b"key"] = b"value"
      self.assertTrue(
          any(
              os.path.exists(filename + suffix)
              for suffix in ["", ".pag", ".dir", ".db"]
          )
      )
      with dbm.ndbm.open(filename, "r") as db:
          self.assertEqual(list(db.keys()), [b"key"])
          self.assertTrue(b"key" in db)
          self.assertEqual(db[b"key"], b"value")
  
imports: from test.support import import_helper
  from test.support import os_helper
  import os
  import unittest
  import dbm.ndbm
  from dbm.ndbm import error
label_desc: Use image node_id 10 for calling the DbmTestCase obj's underlying member method code with example usage: obj.test_nonascii_filename() without return types