We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0e709 commit ea819bcCopy full SHA for ea819bc
Lib/test/test_capi/test_emscripten.py
@@ -1,14 +1,15 @@
1
import unittest
2
from test.support import is_emscripten
3
4
-unittest.skipUnless(is_emscripten, "only available on Emscripten")
+if not is_emscripten:
5
+ raise unittest.SkipTest("Emscripten-only test")
6
7
+from _testinternalcapi import emscripten_set_up_async_input_device
8
from pathlib import Path
9
10
11
class EmscriptenAsyncInputDeviceTest(unittest.TestCase):
12
def test_emscripten_async_input_device(self):
- from _testinternalcapi import emscripten_set_up_async_input_device
13
supported = emscripten_set_up_async_input_device()
14
p = Path("/dev/blah")
15
self.addCleanup(p.unlink)
0 commit comments