Skip to content

Add warning for experimental node access API #175

Add warning for experimental node access API

Add warning for experimental node access API #175

GitHub Actions / Black failed Jan 11, 2024 in 0s

1 error

Black found 1 error

Annotations

Check failure on line 67 in /home/runner/work/oemof-network/oemof-network/tests/test_energy_system.py

See this annotation in the file changed.

@github-actions github-actions / Black

/home/runner/work/oemof-network/oemof-network/tests/test_energy_system.py#L56-L67

 
     def test_node_access_warning(self):
         node_label = "label"
         self.es.add(Node(node_label))
         with pytest.warns(
-            match='API to access nodes by label is experimental'
+            match="API to access nodes by label is experimental"
         ):
             _ = es.node[node_label]
 
     def test_add_flow_assignment(self):
         assert not self.es.nodes