소스 검색

tests: Make threading tests conditional upon thread support

rdb 2 달 전
부모
커밋
983c88e005
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/stdpy/test_threading.py
  2. 1 0
      tests/stdpy/test_threading2.py

+ 1 - 0
tests/stdpy/test_threading.py

@@ -10,6 +10,7 @@ def test_threading_error():
 
 
 @pytest.mark.skipif(sys.platform == "emscripten", reason="No threading")
[email protected](not core.Thread.is_threading_supported(), reason="No threading")
 def test_threading():
     from collections import deque
 

+ 1 - 0
tests/stdpy/test_threading2.py

@@ -6,6 +6,7 @@ import pytest
 
 
 @pytest.mark.skipif(sys.platform == "emscripten", reason="No threading")
[email protected](not core.Thread.is_threading_supported(), reason="No threading")
 def test_threading2():
     class BoundedQueue(threading2._Verbose):