We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96b2294 commit 8adf19dCopy full SHA for 8adf19d
1 file changed
test.py
@@ -20,5 +20,20 @@ def test_monitor_pydk():
20
ldkqueue = Queue(10)
21
LDKREFRESHTIME = 30
22
MonitorLDKThread(PyLdk(JadeLog), JadeLog, ldkqueue, LDKREFRESHTIME)
23
+
24
+def test_print_a():
25
+ a = b'\xe7\x9b\xb8\xe6\x9c\xba\xe5\xbc\x82\xe5\xb8\xb8'
26
+ print(a.decode("utf-8"))
27
28
29
if __name__ == '__main__':
- test_monitor_pydk()
30
+ count = 0
31
32
33
+ def increase_count(count):
34
+ count += 1
35
36
37
+ print(count) # 输出0
38
+ increase_count(count)
39
+ print(count)
0 commit comments