Skip to content

Commit 4a1ed1b

Browse files
committed
Update test regex
1 parent 198ee26 commit 4a1ed1b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/test/test_sys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ def test_attributes(self):
702702
absent = object()
703703
with self.assertWarnsRegex(
704704
DeprecationWarning,
705-
r'sys\.abiflags is going to be set.*on all platforms',
705+
r'sys\.abiflags will be set.*on all platforms',
706706
):
707707
self.assertIs(getattr(sys, 'abiflags', absent), absent)
708708

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Set :data:`sys.abiflags` on Windows. Patch by Xuehai Pan.

0 commit comments

Comments
 (0)