فهرست منبع

tests: Make threading tests conditional upon thread support

rdb 1 ماه پیش
والد
کامیت
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):