(self)
| 1034 | _testcapi.tracemalloc_untrack(self.domain, self.ptr, release_gil) |
| 1035 | |
| 1036 | def get_traced_memory(self): |
| 1037 | # Get the traced size in the domain |
| 1038 | snapshot = tracemalloc.take_snapshot() |
| 1039 | domain_filter = tracemalloc.DomainFilter(True, self.domain) |
| 1040 | snapshot = snapshot.filter_traces([domain_filter]) |
| 1041 | return sum(trace.size for trace in snapshot.traces) |
| 1042 | |
| 1043 | def check_track(self, release_gil): |
| 1044 | nframe = 5 |
no test coverage detected