summaryrefslogtreecommitdiff
path: root/test/ext/mypy/test_mypy_plugin_py3k.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2022-05-06 16:09:52 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-05-15 21:57:01 -0400
commit18a73fb1d1c267842ead5dacd05a49f4344d8b22 (patch)
treecdd1144c7661b13bc4ada83912800f91055b466d /test/ext/mypy/test_mypy_plugin_py3k.py
parent257de6ebe15d3076e19f05f93c5b3c7fae25a4d3 (diff)
downloadsqlalchemy-18a73fb1d1c267842ead5dacd05a49f4344d8b22.tar.gz
revenge of pep 484
trying to get remaining must-haves for ORM Change-Id: I66a3ecbbb8e5ba37c818c8a92737b576ecf012f7
Diffstat (limited to 'test/ext/mypy/test_mypy_plugin_py3k.py')
-rw-r--r--test/ext/mypy/test_mypy_plugin_py3k.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ext/mypy/test_mypy_plugin_py3k.py b/test/ext/mypy/test_mypy_plugin_py3k.py
index 1086f187a..37f99502d 100644
--- a/test/ext/mypy/test_mypy_plugin_py3k.py
+++ b/test/ext/mypy/test_mypy_plugin_py3k.py
@@ -258,7 +258,7 @@ class MypyPluginTest(fixtures.TestBase):
)
expected_msg = re.sub(
- r"(int|str|float|bool)",
+ r"\b(int|str|float|bool)\b",
lambda m: rf"builtins.{m.group(0)}\*?",
expected_msg,
)