Skip to content

Commit 3729d89

Browse files
committed
Remove unused obj and objname in test_iosys_attribute_lists
1 parent 20f4b76 commit 3729d89

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

control/tests/docstrings_test.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,13 +497,6 @@ def test_iosys_attribute_lists(cls, ignore_future_warning):
497497
# Skip hidden and ignored attributes; methods checked elsewhere
498498
continue
499499

500-
# Get the object associated with this attribute
501-
obj = getattr(cls, name, getattr(sys, name))
502-
if getattr(obj, '__module__', None):
503-
objname = ".".join([obj.__module__.removeprefix("control."), name])
504-
else:
505-
objname = name
506-
507500
# Try to find documentation in primary class
508501
if _check_parameter_docs(
509502
cls.__name__, name, docstring, fail_if_missing=False):

0 commit comments

Comments
 (0)