summaryrefslogtreecommitdiff
path: root/Lib/test/test_dataclasses.py
diff options
context:
space:
mode:
authorBrandt Bucher <brandt@python.org>2021-04-05 19:17:08 -0700
committerGitHub <noreply@github.com>2021-04-05 19:17:08 -0700
commitf84d5a113680c5a6aaaf9130aed7a34d611748ff (patch)
treecde22e0e7ee970e49e10b6a5b137fe4f90d444f8 /Lib/test/test_dataclasses.py
parent3d4af4a876e679431c6a3751667ded63cc6f66c1 (diff)
downloadcpython-git-f84d5a113680c5a6aaaf9130aed7a34d611748ff.tar.gz
bpo-42128: __match_args__ can't be a list anymore (GH-25203)
Diffstat (limited to 'Lib/test/test_dataclasses.py')
-rw-r--r--Lib/test/test_dataclasses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dataclasses.py b/Lib/test/test_dataclasses.py
index 4f5c3c8aab..5515ca4940 100644
--- a/Lib/test/test_dataclasses.py
+++ b/Lib/test/test_dataclasses.py
@@ -3401,7 +3401,7 @@ class TestMatchArgs(unittest.TestCase):
self.assertEqual(C(42).__match_args__, ('a',))
def test_explicit_match_args(self):
- ma = []
+ ma = ()
@dataclass
class C:
a: int