1 parent 67f9781 commit eddfb4bCopy full SHA for eddfb4b
1 file changed
posthog/test/test_feature_flags.py
@@ -4275,8 +4275,9 @@ def test_capture_multiple_users_doesnt_out_of_memory(
4275
self, patch_flags, patch_capture
4276
):
4277
client = Client(FAKE_TEST_API_KEY, personal_api_key=FAKE_TEST_API_KEY)
4278
+ # Set on the instance to avoid relying on module-constant patching behavior
4279
+ # across Python/runtime implementations.
4280
client.distinct_ids_feature_flags_reported.max_size = 100
- self.assertEqual(client.distinct_ids_feature_flags_reported.max_size, 100)
4281
client.feature_flags = [
4282
{
4283
"id": 1,
0 commit comments