Fixed double-writes. (#874)

* Fixed file-overwrites on generation.

Signed-off-by: Alex Loyko <[email protected]>

* Fixed CHANGELOG

Signed-off-by: Alex Loyko <[email protected]>

* fixing test and lint

Signed-off-by: Alex Loyko <[email protected]>

* Addressed comments.

Signed-off-by: Alex Loyko <[email protected]>

---------

Signed-off-by: Alex Loyko <[email protected]>
This commit is contained in:
Oleksandr Loyko
2024-12-20 14:06:06 -05:00
committed by GitHub
parent 7815c6abe8
commit 9777ebe4f8
3 changed files with 43 additions and 44 deletions
@@ -233,10 +233,8 @@ class TestAIOHttpConnection:
assert w == []
else:
assert len(w) == 1
assert (
str(w[0].message) == "enable_cleanup_closed ignored because "
"https://github.com/python/cpython/pull/118960 is fixed in "
"Python version sys.version_info(major=3, minor=12, micro=7, releaselevel='final', serial=0)"
assert "https://github.com/python/cpython/pull/118960" in str(
w[0].message
)
assert isinstance(con.session, aiohttp.ClientSession)