Skip to content

Commit

Permalink
ignore mypy error when setting project to None
Browse files Browse the repository at this point in the history
  • Loading branch information
lobsterkatie committed Oct 17, 2024
1 parent 004686f commit 4dbb3c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/sentry/grouping/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def run_configuration(grouping_input: GroupingInput, config_name: str) -> None:
event = grouping_input.create_event(config_name)

# This ensures we won't try to touch the DB when getting event hashes
event.project = None
event.project = None # type: ignore[assignment]

event.get_hashes()
2 changes: 1 addition & 1 deletion tests/sentry/grouping/test_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def test_event_hash_variant(
event = grouping_input.create_event(config_name)

# This ensures we won't try to touch the DB when getting event variants
event.project = None
event.project = None # type: ignore[assignment]

_assert_and_snapshot_results(event, config_name, grouping_input.filename, insta_snapshot)

Expand Down

0 comments on commit 4dbb3c4

Please sign in to comment.