Skip to content

Commit

Permalink
refactor: removing unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Oct 21, 2024
1 parent 3f59493 commit bb2d075
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,10 +1101,8 @@ def test_command(self, mapdl, cmd):
func = getattr(mapdl, cmd)

# Avoid wraps
wrapped = False
while hasattr(func, "__wrapped__"):
func = func.__wrapped__
wrapped = True

if cmd in self.SKIP:
pytest.skip("This function is overwritten in a subclass.")
Expand Down

0 comments on commit bb2d075

Please sign in to comment.