Skip to content

Commit 2dca116

Browse files
committed
ruff
1 parent e7794a5 commit 2dca116

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

test/test_browser.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
# University of Illinois/NCSA Open Source License. Both these licenses can be
44
# found in the LICENSE file.
55

6-
import argparse
76
import os
87
import random
98
import re
10-
import shlex
119
import shutil
1210
import struct
1311
import subprocess
@@ -33,15 +31,12 @@
3331
find_browser_test_file,
3432
get_browser,
3533
get_safari_version,
36-
has_browser,
3734
is_chrome,
3835
is_firefox,
3936
is_safari,
4037
)
4138
from common import (
42-
EMRUN,
4339
WEBIDL_BINDER,
44-
RunnerCore,
4540
copy_asset,
4641
copytree,
4742
create_file,
@@ -73,7 +68,7 @@
7368
from tools import ports, shared, utils
7469
from tools.feature_matrix import Feature
7570
from tools.link import binary_encode
76-
from tools.shared import EMCC, FILE_PACKAGER, PIPE
71+
from tools.shared import EMCC, FILE_PACKAGER
7772
from tools.utils import WINDOWS, delete_dir, write_binary, write_file
7873

7974

test/test_emrun.py

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,17 @@
33
# University of Illinois/NCSA Open Source License. Both these licenses can be
44
# found in the LICENSE file.
55

6+
import argparse
67
import os
78
import shlex
89
import subprocess
910

10-
from tools.shared import EMCC, PIPE
11-
12-
from common import (
13-
EMRUN,
14-
RunnerCore,
15-
path_from_root,
16-
read_file,
17-
test_file
18-
)
11+
from browser_common import BrowserCore, get_browser, has_browser
12+
from common import EMRUN, RunnerCore, path_from_root, read_file, test_file
13+
from test_browser import also_with_threads
1914

20-
from browser_common import (
21-
BrowserCore,
22-
get_browser,
23-
has_browser
24-
)
15+
from tools.shared import EMCC, PIPE
2516

26-
from test_browser import also_with_threads
2717

2818
class emrun(RunnerCore):
2919
def test_emrun_info(self):

0 commit comments

Comments
 (0)