Skip to content

Commit 571935f

Browse files
committed
ci: report warnings on test typechecking 3.9
1 parent fb769c6 commit 571935f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import sys
22
from os import environ, getenv
33

4+
# Required for consistent test output
45
environ['COLUMNS'] = '120'
56

6-
DEF_MODE = 'ERROR' if sys.version_info >= (3, 9) else 'WARNING'
7+
DEF_MODE = 'ERROR' if sys.version_info >= (3, 10) else 'WARNING'
78
environ['RUNTIME_TYPE_CHECKING_MODE'] = getenv('RUNTIME_TYPE_CHECKING_MODE', DEF_MODE)

0 commit comments

Comments
 (0)