diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py index cde6b9e0b..366b48c2c 100644 --- a/testing/test_assertrewrite.py +++ b/testing/test_assertrewrite.py @@ -195,6 +195,10 @@ class TestAssertionRewrite: def f(): assert g(1, 3, g=23) assert getmsg(f, ns) == """assert g(1, 3, g=23)""" + def f(): + seq = [1, 2, 3] + assert g(*seq) + assert getmsg(f, ns) == """assert g(*[1, 2, 3])""" def f(): x = "a" assert g(**{x : 2})