Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: Import in macOS (regression from #47) #49

Merged
merged 5 commits into from
Apr 12, 2022
Merged

Conversation

achimnol
Copy link
Owner

@achimnol achimnol commented Apr 12, 2022

Though aiotools.fork and aiotools.server modules do not support Windows, importing them is fine. The previously found error was due to an unused code: ctypes.CDLL(None).

This PR removes those unused codes to avoid confusion and restore the import statements, as #47 has broken imports in macOS.

@achimnol achimnol added the bug label Apr 12, 2022
@achimnol achimnol self-assigned this Apr 12, 2022
@codecov
Copy link

codecov bot commented Apr 12, 2022

Codecov Report

Merging #49 (8d674b7) into main (2c0f9d9) will decrease coverage by 0.16%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   78.66%   78.50%   -0.17%     
==========================================
  Files          16       16              
  Lines        1336     1326      -10     
==========================================
- Hits         1051     1041      -10     
  Misses        285      285              
Impacted Files Coverage Δ
src/aiotools/fork.py 74.48% <ø> (-0.69%) ⬇️
src/aiotools/__init__.py 93.33% <100.00%> (-1.91%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2c0f9d9...8d674b7. Read the comment docs.

@achimnol achimnol merged commit 6eb3e39 into main Apr 12, 2022
@achimnol achimnol deleted the fix/import-in-macos branch April 12, 2022 07:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant