Skip to content

Commit

Permalink
Remove not needed yield/teardown
Browse files Browse the repository at this point in the history
SDESK-7459
  • Loading branch information
eos87 committed Jan 10, 2025
1 parent 81b94aa commit 60c0b1b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/core/privileges_registry_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

@pytest.fixture(scope="function")
def registry():
reg = PrivilegesRegistry()
yield reg

print("*" * 100)
reg = None
return PrivilegesRegistry()


def test_add_privilege_before_lock(registry):
Expand Down

0 comments on commit 60c0b1b

Please sign in to comment.