We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a67d1a0 commit 10f73e6Copy full SHA for 10f73e6
1 file changed
tests/test_method.py
@@ -1025,8 +1025,8 @@ def test_getting_overloaded_method_binding_does_not_leak_memory(memory_usage_tra
1025
bytesAllocatedPerIteration = pow(2, 20) # 1MB
1026
bytesLeakedPerIteration = processBytesDelta / iterations
1027
1028
- # Allow 50% threshold - this shows the original issue is fixed, which leaks the full allocated bytes per iteration
1029
- failThresholdBytesLeakedPerIteration = bytesAllocatedPerIteration / 2
+ # Allow 90% threshold - this shows the original issue is fixed, which leaks the full allocated bytes per iteration
+ failThresholdBytesLeakedPerIteration = bytesAllocatedPerIteration * 0.9
1030
1031
assert bytesLeakedPerIteration < failThresholdBytesLeakedPerIteration
1032
0 commit comments