code: def test_tweet_place(tmp_path, infile):
      ref_fn = subdir / "tweets.20150430-223406.place.csv.ref"
      outfn = tmp_path / "tweets.20150430-223406.place.csv"
      json2csv_entities(
          infile,
          outfn,
          ["id", "text"],
          "place",
          ["name", "country"],
          gzip_compress=False,
      )
  
      assert files_are_identical(outfn, ref_fn)
  
file_path: nltk/nltk/test/unit/test_json2csv_corpus.py
imports: from pathlib import Path
  import pytest
  from nltk.corpus import twitter_samples
  from nltk.twitter.common import json2csv, json2csv_entities
label_desc: Use image node_id 11 for calling a global function with example usage: test_tweet_place(tmp_path, infile) without return types