Remove Element._connections
It's not used by element.
This commit is contained in:
parent
c43c5d3575
commit
349f1c75bd
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user