Skip to content

Commit c4cb378

Browse files
author
Guido van Rossum
committed
Add test case
1 parent ffcedb0 commit c4cb378

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test-data/unit/check-expressions.test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,10 @@ def foo(a: bytes, b: bytes):
11491149
b'%s:%s' % (a, b)
11501150
foo(b'a', b'b') == b'a:b'
11511151

1152+
[case testStringInterpolationStarArgs]
1153+
x = (1, 2)
1154+
"%d%d" % (*x,)
1155+
11521156
[case testBytePercentInterpolationSupported]
11531157
b'%s' % (b'xyz',)
11541158
b'%(name)s' % {'name': 'jane'}

0 commit comments

Comments
 (0)