Skip to content

Commit

Permalink
fix: yet another flappity should die (#25898)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Oct 30, 2024
1 parent e7be5dc commit 0fef0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/test/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ def assertQueryMatchesSnapshot(self, query, params=None, replace_all_numbers=Fal
#### Cohort replacements
# replace cohort id lists in queries too
query = re.sub(
r"in((.*)?cohort_id, \[\d+(, ?\d+)*\])",
r"in((.*?)cohort_id, \[\d+(, ?\d+)*\])",
r"in(\1cohort_id, [1, 2, 3, 4, 5 /* ... */])",
query,
)
Expand Down

0 comments on commit 0fef0fa

Please sign in to comment.