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 beb5452 commit afaf708Copy full SHA for afaf708
tests/test_pe.py
@@ -18,6 +18,12 @@
18
from qiling.os.mapper import QlFsMappedObject
19
import multiprocess as mb
20
21
+# On Windows, the CPython GC is too conservative and may hold too
22
+# many Unicorn objects (nearly 16GB) until free-ing them which may
23
+# cause failure during tests.
24
+#
25
+# Use subprocess to make sure resources are free-ed when the subprocess
26
+# is killed.
27
class QLWinSingleTest:
28
29
def __init__(self, test):
@@ -39,7 +45,7 @@ def run(self):
39
45
if "exception" not in results:
40
46
return results['result']
41
47
else:
42
- raise results['exceptions']
48
+ raise results['exception']
43
49
44
50
51
class TestOut:
0 commit comments