Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 15, 2024
1 parent 586278c commit ce5d50c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_observer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_state_changes():
smartcard.Observer.Observable.clearChanged,
smartcard.Observer.Observable.hasChanged,
smartcard.Observer.Observable.setChanged,
)
),
)
def test_synchronization(unbound_method):
"""Verify that all Observable methods are synchronized.
Expand Down Expand Up @@ -78,7 +78,7 @@ class JealousObserver(smartcard.Observer.Observer):

def update(self, observable, _):
# Try to prevent all other observers from receiving an update.
for other_observer in (observers - {self}):
for other_observer in observers - {self}:
try:
observable.deleteObserver(other_observer)
except ValueError:
Expand Down

0 comments on commit ce5d50c

Please sign in to comment.