class_docstr: Unit tests for the :func:`~networkx.configuration_model`
  function.
class_docstr_tok: ["Unit","tests","for","the",":","func",":","`","~networkx.configuration_model","`","function","."]
docstr: Tests that attempting to create a configuration model graph
  using a directed graph yields an exception.
docstr_tok: ["Tests","that","attempting","to","create","a","configuration","model","graph","using","a","directed","graph","yields","an","exception","."]
code: def test_directed_disallowed(self):
      """Tests that attempting to create a configuration model graph
      using a directed graph yields an exception.
  
      """
      with pytest.raises(nx.NetworkXNotImplemented):
          nx.configuration_model([], create_using=nx.DiGraph())
  
imports: import pytest
  import networkx
label_desc: Use image node_id 5 for calling the TestConfigurationModel obj's underlying member method code with example usage: obj.test_directed_disallowed() without return types