code: def test_other_extensions(self):
      self.create_file("sample.txt", "Hello\n")
      loc = count_loc(self.test_dir, extensions=(".py",))
      self.assertEqual(loc, 0)
  
imports: import os
  import sys
  from io import StringIO
  from keras.testing import test_case
  from keras.utils.code_stats import count_loc
label_desc: Use image node_id 6 for calling the TestCountLoc obj's underlying member method code with example usage: obj.test_other_extensions() without return types