summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-01-16 20:01:15 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2023-01-16 20:01:15 -0500
commitb59304b99037431913781a3506998533618598ef (patch)
tree50295fb7b0ac60e0e8c3aba1eb99ac478a5f3bba /test
parent1762c40490182fc511b71f5044f7252e2937162b (diff)
downloadsqlalchemy-fix_mypy.tar.gz
fixes for mypy, error in stubsfix_mypy
There's a critical mistake in the stubs that we may want to fix. Or we might just keep it that way as this is all obsolete anyway. not sure yet. Change-Id: I380a1dc177de571b94a176e0f5e5b5d8d4ea2453
Diffstat (limited to 'test')
-rw-r--r--test/ext/mypy/test_mypy_plugin_py3k.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ext/mypy/test_mypy_plugin_py3k.py b/test/ext/mypy/test_mypy_plugin_py3k.py
index 3df758c56..cb04d1c73 100644
--- a/test/ext/mypy/test_mypy_plugin_py3k.py
+++ b/test/ext/mypy/test_mypy_plugin_py3k.py
@@ -76,6 +76,10 @@ class MypyPluginTest(fixtures.TestBase):
shutil.copyfile(path, test_program)
args.append(test_program)
+ # I set this locally but for the suite here needs to be
+ # disabled
+ os.environ.pop("MYPY_FORCE_COLOR", None)
+
result = api.run(args)
return result