diff options
author | Hernan Grecco <hgrecco@gmail.com> | 2023-04-29 19:44:20 -0300 |
---|---|---|
committer | Hernan Grecco <hgrecco@gmail.com> | 2023-04-29 19:44:20 -0300 |
commit | b63697287ba1e5de7300890ea4c03b8781b04863 (patch) | |
tree | 0eb5db03beef71ddfb5a094521034b9f0b212b5b /benchmarks/benchmarks/20_quantity.py | |
parent | 10f69c4870ef9acda1b5dd21f2bf87f15855d3ea (diff) | |
download | pint-b63697287ba1e5de7300890ea4c03b8781b04863.tar.gz |
Run pyupgrade --py39-plus in all files except _vendor
Diffstat (limited to 'benchmarks/benchmarks/20_quantity.py')
-rw-r--r-- | benchmarks/benchmarks/20_quantity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/benchmarks/20_quantity.py b/benchmarks/benchmarks/20_quantity.py index c0174ef..3283ede 100644 --- a/benchmarks/benchmarks/20_quantity.py +++ b/benchmarks/benchmarks/20_quantity.py @@ -8,7 +8,7 @@ from . import util units = ("meter", "kilometer", "second", "minute", "angstrom") all_values = ("int", "float", "complex") all_values_q = tuple( - "%s_%s" % (a, b) for a, b in it.product(all_values, ("meter", "kilometer")) + "{}_{}".format(a, b) for a, b in it.product(all_values, ("meter", "kilometer")) ) op1 = (operator.neg, operator.truth) |