code: def test_object3d_constructor_raises_unknown_trait():
      with pytest.raises(KeyError):
          objects.Object3D(location=(1, 2, 3))
  
imports: import re
  import pytest
  import numpy
  from numpy.testing import assert_allclose
  import pyquaternion
  from traitlets import TraitError
  from unittest import mock
  from kubric.core import Asset
  from kubric.core import UndefinedAsset
  from kubric.core import objects
  from kubric.core import materials
label_desc: Use image node_id 11 for calling a global function with example usage: test_object3d_constructor_raises_unknown_trait() without return types