diff options
author | Rodolfo M. Pereira <rodolfomp123@gmail.com> | 2023-04-24 17:24:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-24 23:24:49 +0000 |
commit | 8291ae31ddc2f935b8ec60f3d5f3825f78ccf244 (patch) | |
tree | c20f450d55fbf588908da9e7048281a186709be1 /Lib/test/test_dataclasses.py | |
parent | df3173d28ef25a0f97d2cca8cf4e64e062a08d06 (diff) | |
download | cpython-8291ae31ddc2f935b8ec60f3d5f3825f78ccf244.tar.gz cpython-8291ae31ddc2f935b8ec60f3d5f3825f78ccf244.zip |
GH-103805: Lib test f541 linting issue fix (#103812)
This PR makes some minor linting adjustments to the Lib/test module
caught by [ruff](https://github.com/charliermarsh/ruff). The adjustments
are all related to the `F541 f-string without any placeholders` issue.
Issue: https://github.com/python/cpython/issues/103805
<!-- gh-issue-number: gh-103805 -->
* Issue: gh-103805
<!-- /gh-issue-number -->
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Lib/test/test_dataclasses.py')
-rw-r--r-- | Lib/test/test_dataclasses.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dataclasses.py b/Lib/test/test_dataclasses.py index ae8bfcc149e..7dd81a8855f 100644 --- a/Lib/test/test_dataclasses.py +++ b/Lib/test/test_dataclasses.py @@ -757,8 +757,8 @@ class TestCase(unittest.TestCase): class Subclass(typ): pass with self.assertRaisesRegex(ValueError, - f"mutable default .*Subclass'>" - ' for field z is not allowed' + "mutable default .*Subclass'>" + " for field z is not allowed" ): @dataclass class Point: |