Skip to content

Commit

Permalink
fix: yet another flappity should die
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 30, 2024
1 parent a9a77ac commit 3ca999c
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 3ca999c

Please sign in to comment.