code: def test_config_context_in_parallel():
      x, y = make_classification(random_state=42)
      try:
          with config_context(
              target_offload="gpu", allow_fallback_to_host=False
          ):
              BaggingClassifier(SVC(), n_jobs=2).fit(x, y)
          raise ValueError(
              "'SyclQueueCreationError' wasn't raised "
              "for non-existing 'gpu' device"
          )
      except dpctl._sycl_queue.SyclQueueCreationError:
          pass
  
imports: import pytest
  from sklearnex import config_context, patch_sklearn
  from sklearn.datasets import make_classification
  from sklearn.ensemble import BaggingClassifier
  from sklearn.svm import SVC
label_desc: Use image node_id 1 for calling a global function with example usage: test_config_context_in_parallel() without return types