작성
·
472
0
코딩을 똑같이 했는데 실행을 시키면 아래와 같은 오류? 가 발생하는데 결과는 결과는 정상적으로 출력 됩니다. 무엇이 잘못 됐는지 잘 모르겠습니다.
C:\p_study\p_chapter07_01.py:54: DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()
C:\p_study\p_chapter07_01.py:29: DeprecationWarning: getName() is deprecated, get the name attribute instead print('Thread Name : ', threading.current_thread().getName(), 'Start', url)
답변 1
1
안녕하세요.
파이썬 버전 3.10 또는 특정 버전에 따라 호환성 문제입니다.
실행은 문제 없으실거예요!
조금 기다리시면 버전업을 통해서 다른 메소드의(대체 메소드)지원이나 버그 픽스등이 이루어질 거예요
https://github.com/pytest-dev/pytest-asyncio/issues/212