Skip to content

Commit

Permalink
Remove unneeded pragma
Browse files Browse the repository at this point in the history
  • Loading branch information
DRMacIver committed Nov 7, 2024
1 parent b2262b8 commit 364f309
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hypothesis-python/src/hypothesis/_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,7 @@ def note_deprecation(
settings.register_profile("ci", CI)


# This is tested in a subprocess so the branch doesn't show up in coverage.
if is_in_ci(): # pragma: no
if is_in_ci():
settings.load_profile("ci")

assert settings.default is not None
Expand Down

0 comments on commit 364f309

Please sign in to comment.