Skip to content

Commit b4f563b

Browse files
committed
Fix windows runtime warning problem
1 parent b0bf2d2 commit b4f563b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/mqt/predictor/ml/predictor.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
import logging
1414
import sys
15-
import warnings
1615
import zipfile
1716
from importlib import resources
1817
from pathlib import Path
@@ -193,9 +192,6 @@ def _compile_all_circuits_devicewise(
193192
continue
194193
try:
195194
if sys.platform == "win32":
196-
warnings.warn(
197-
"Timeout is not supported on Windows. Running without timeout.", RuntimeWarning, stacklevel=2
198-
)
199195
res = rl_compile(qc, device, self.figure_of_merit, rl_pred)
200196
else:
201197
res = timeout_watcher(rl_compile, [qc, device, self.figure_of_merit, rl_pred], timeout)

0 commit comments

Comments
 (0)