Skip to content

Commit 840fb82

Browse files
joyeecheungaduh95
andauthored
fixup! tools: only add test reporter args when node:test is used
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 8beff88 commit 840fb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/testpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
FLAGS_PATTERN = re.compile(r"//\s+Flags:(.*)")
3636
LS_RE = re.compile(r'^test-.*\.m?js$')
3737
ENV_PATTERN = re.compile(r"//\s+Env:(.*)")
38-
NODE_TEST_PATTERN = re.compile(r"['\"]node:test['\"]")
38+
NODE_TEST_PATTERN = re.compile(r"('|`|\")node:test\1")
3939

4040
class SimpleTestCase(test.TestCase):
4141

0 commit comments

Comments
 (0)