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 6da6ef0 commit c6d9809Copy full SHA for c6d9809
Lib/test/test_android.py
@@ -5,7 +5,6 @@
5
import sys
6
import unittest
7
from contextlib import contextmanager
8
-from ctypes import CDLL, c_char_p, c_int
9
from threading import Thread
10
from time import time
11
@@ -37,6 +36,7 @@ def logcat_thread():
37
36
self.logcat_process.stdout.close()
38
Thread(target=logcat_thread).start()
39
+ from ctypes import CDLL, c_char_p, c_int
40
android_log_write = getattr(CDLL("liblog.so"), "__android_log_write")
41
android_log_write.argtypes = (c_int, c_char_p, c_char_p)
42
ANDROID_LOG_INFO = 4
0 commit comments