code: def test_construct_empty_theme_from_file(self) -> None:
      # windows will throw permissions error with auto-delete
      with tempfile.NamedTemporaryFile(delete=False) as file:
          # create and apply empty theme with no exception thrown
          file.file.write(b"")
          file.file.flush()
          theme = Theme(filename=file.name)
          theme.apply_to_model(ThemedModel())
      file.close()
      os.remove(file.name)
  
imports: from __future__ import annotations
  import pytest
  import os
  import tempfile
  from bokeh.core.properties import Int, String
  from bokeh.core.property_mixins import FillProps, LineProps, TextProps
  from bokeh.document import Document
  from bokeh.model import Model
  from bokeh.plotting import figure
  from bokeh.util.deprecation import BokehDeprecationWarning
  from bokeh.themes import Theme, built_in_themes, DARK_MINIMAL, LIGHT_MINIMAL
label_desc: Use image node_id 1 for calling the TestThemes obj's underlying member method code with example usage: obj.test_construct_empty_theme_from_file() without return types