Skip to content

Commit

Permalink
Refactor collect_ignore with expression algebra.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 2, 2024
1 parent 35a2df5 commit 21ec3e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import platform

collect_ignore = []

if platform.system() != 'Windows':
collect_ignore.append('keyrings/alt/_win_crypto.py')
off_windows = platform.system() != 'Windows'

collect_ignore = [] + ['keyrings/alt/_win_crypto.py'] * off_windows

0 comments on commit 21ec3e0

Please sign in to comment.