Skip to content

Commit

Permalink
Add typehint in test (tox-dev#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirsch-alter-lynxight committed Jan 3, 2022
1 parent 869d129 commit dc0d82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_filelock.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def test_context_decorator(lock_type: type[BaseFileLock], tmp_path: Path) -> Non
lock = lock_type(str(lock_path))

@lock
def decorated_method():
def decorated_method() -> None:
assert lock.is_locked

assert not lock.is_locked
Expand Down

0 comments on commit dc0d82c

Please sign in to comment.