summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_functools.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_functools.py')
-rw-r--r--Lib/test/test_functools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py
index d7404a8..ef85664 100644
--- a/Lib/test/test_functools.py
+++ b/Lib/test/test_functools.py
@@ -3083,7 +3083,7 @@ class TestSingleDispatch(unittest.TestCase):
"Invalid annotation for 'arg'."
)
self.assertEndsWith(str(exc.exception),
- 'typing.Union[int, typing.Iterable[str]] not all arguments are classes.'
+ 'int | typing.Iterable[str] not all arguments are classes.'
)
def test_invalid_positional_argument(self):