diff options
author | Jakob <jakobjakobson13@posteo.de> | 2020-10-23 20:56:18 +0200 |
---|---|---|
committer | Jakob <jakobjakobson13@posteo.de> | 2020-10-23 20:56:18 +0200 |
commit | 54d8c9f50228da85f79755e2891a368e572425ad (patch) | |
tree | 31bc63c20c4cb245189c55825ddc5b26ff11a347 /numpy/tests/test_public_api.py | |
parent | c0043831c46ec07fdc34999d664af654ada0825f (diff) | |
download | numpy-54d8c9f50228da85f79755e2891a368e572425ad.tar.gz |
Change string to f-string
Diffstat (limited to 'numpy/tests/test_public_api.py')
-rw-r--r-- | numpy/tests/test_public_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 6ba279c61..a7bd0f115 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -349,7 +349,7 @@ def test_all_modules_are_expected(): modnames.append(modname) if modnames: - raise AssertionError("Found unexpected modules: {}".format(modnames)) + raise AssertionError(f'Found unexpected modules: {modnames}') # Stuff that clearly shouldn't be in the API and is detected by the next test |