diff options
| author | bd <bdunahu@operationnull.com> | 2025-07-20 13:43:17 -0600 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-07-20 13:43:17 -0600 |
| commit | 1eddfd07cad491ce8d216ee3fda72bdd9ecb9eae (patch) | |
| tree | accdf32e5696d1abe0e1916cffd8b22081b1409e /t/utils.py | |
| parent | 2e208349d2e6f8f3d7fbbe853413549da9df0ce0 (diff) | |
Aergia.get_deepest_traceable_frame refactor, tests
Generators and list comprehension gives correct but less ideal results, matching yappi. Can this be improved in the future?
Diffstat (limited to 't/utils.py')
| -rw-r--r-- | t/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -23,7 +23,7 @@ class AergiaUnitTestCase(unittest.TestCase): def assertRoughlyEqual(self, v1, v2): a = abs(v1 - v2) - self.assertTrue(a <= 1, f'{v1} (expected) not roughly {v2} (actual)') + self.assertTrue(a <= 2, f'{v1} (expected) not roughly {v2} (actual)') def expected_samples(self, total_seconds): return (total_seconds / self.interval) |
