Skip to content

Commit 3407e14

Browse files
authored
test: use rb' instead of b' with \
1 parent 14f7f02 commit 3407e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_cmd_line.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_help_env(self):
6565
def test_help_xoptions(self):
6666
out = self.verify_valid_flag('--help-xoptions')
6767
self.assertIn(b'-X dev', out)
68-
options = re.findall(b'^-X (\\w+)', out, re.MULTILINE)
68+
options = re.findall(rb'^-X (\w+)', out, re.MULTILINE)
6969
self.assertEqual(options, sorted(options),
7070
"options should be sorted alphabetically")
7171

0 commit comments

Comments
 (0)