use sys.get_asyncgen_hooks().finalizer to sniff io #28
80.00% of diff hit (target 96.51%)
View this Pull Request on Codecov
80.00% of diff hit (target 96.51%)
Annotations
Check warning on line 42 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L41-L42
Added lines #L41 - L42 were not covered by tests
Check warning on line 45 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L45
Added line #L45 was not covered by tests
Check warning on line 53 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L53
Added line #L53 was not covered by tests
Check warning on line 134 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L133-L134
Added lines #L133 - L134 were not covered by tests
Check warning on line 142 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L141-L142
Added lines #L141 - L142 were not covered by tests
Check warning on line 149 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L146-L149
Added lines #L146 - L149 were not covered by tests
Check warning on line 159 in sniffio/_impl.py
codecov / codecov/patch
sniffio/_impl.py#L158-L159
Added lines #L158 - L159 were not covered by tests