code: def test_permissive_defaults():
      msg = "'PxDefaults' object has no attribute 'should_not_work'"
      with pytest.raises(AttributeError, match=msg):
          px.defaults.should_not_work = "test"
  
file_path: plotly.py/packages/python/plotly/plotly/tests/test_optional/test_px/test_px.py
imports: import plotly.express
  import plotly.io
  import numpy
  import pytest
  from itertools import permutations
label_desc: Use image node_id 10 for calling a global function with example usage: test_permissive_defaults() without return types