Skip to content

Commit ea8a04a

Browse files
committed
small fixes
1 parent 7f7098c commit ea8a04a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
* Merged `compas.datastructures.Graph` into `compas.datastructures.Network`.
16+
* Merged `compas.datastructures.Network` into `compas.datastructures.Graph`.
1717

1818
### Removed
1919

src/compas/datastructures/graph/graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def from_edges(cls, edges):
196196
197197
See Also
198198
--------
199-
:meth:`from_graphx`
199+
:meth:`from_networkx`
200200
201201
"""
202202
graph = cls()

tests/compas/data/test_dataschema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ def test_schema_pointcloud_invalid(pointcloud):
618618
},
619619
],
620620
)
621-
def test_schema_graphalid(graph):
621+
def test_schema_graph_valid(graph):
622622
Graph.validate_data(graph)
623623

624624
@pytest.mark.parametrize(

tests/compas/datastructures/test_network.py renamed to tests/compas/datastructures/test_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def test_graph_default_edge_attributes():
209209
# ==============================================================================
210210

211211

212-
def test_network_to_networkx():
212+
def test_graph_to_networkx():
213213
if compas.IPY:
214214
return
215215

0 commit comments

Comments
 (0)