diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-10-07 15:50:55 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-01-26 20:32:31 +0100 |
commit | 41dc2913097a6e028237289c6ac8607668156c7d (patch) | |
tree | 074093fa74938e490d549443e540788581136805 /tests | |
parent | 3199efbe29aae9fdc61d2e76bbc935d4dfb7b03a (diff) | |
download | qutebrowser-41dc2913097a6e028237289c6ac8607668156c7d.tar.gz qutebrowser-41dc2913097a6e028237289c6ac8607668156c7d.zip |
Add initial support for Python 3.10 annotations
PEP 563: https://www.python.org/dev/peps/pep-0563/
See #5769
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/api/test_cmdutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/api/test_cmdutils.py b/tests/unit/api/test_cmdutils.py index ac73f4468..af70b0379 100644 --- a/tests/unit/api/test_cmdutils.py +++ b/tests/unit/api/test_cmdutils.py @@ -159,7 +159,7 @@ class TestRegister: This isn't implemented, so be sure we catch it. """ - with pytest.raises(AssertionError): + with pytest.raises(TypeError): @cmdutils.register() def fun(*args: int): """Blah.""" |