code: def test_write_int64(tmp_path):
      test_file = tmp_path / "test.tif"
      data = np.array([np.ones((100, 100), dtype=rasterio.int64) * 127])
      with rasterio.open(
          test_file,
          "w",
          driver="GTiff",
          width=100,
          height=100,
          count=1,
          dtype=data.dtype,
      ) as file:
          file.write(data, [1])
          assert file.dtypes == (rasterio.int64,)
  
      with rasterio.open(test_file) as file:
          assert file.dtypes == (rasterio.int64,)
  
imports: import logging
  import re
  from pathlib import Path
  import subprocess
  import affine
  import numpy
  import pytest
  from .conftest import requires_gdal35, gdal_version
  import rasterio
  from rasterio.drivers import blacklist
  from rasterio.enums import MaskFlags, Resampling
  from rasterio.env import Env, GDALVersion
  from rasterio.errors import RasterioIOError
label_desc: Use image node_id 34 for calling a global function with example usage: test_write_int64(tmp_path) without return types