Remove Element._connections

It's not used by element.
This commit is contained in:
Arjan Molenaar 2020-12-31 11:06:48 +01:00
parent c43c5d3575
commit 349f1c75bd
No known key found for this signature in database
GPG Key ID: BF977B918996CB13
2 changed files with 0 additions and 2 deletions

View File

@ -112,7 +112,6 @@ class Element(Matrices):
**kwargs: object
) -> None:
super().__init__(**kwargs)
self._connections = connections
self._handles = [h(strength=VERY_STRONG) for h in [Handle] * 4]
handles = self._handles

View File

@ -19,7 +19,6 @@ def test_can_pass_arbitrary_arguments_to_an_element(connections):
t = Test(connections, custom="custom")
assert t.custom == "custom"
assert t._connections is connections
def test_can_pass_arbitrary_arguments_to_a_line(connections):