Skip to content

Commit 0fdec11

Browse files
authored
Add typing to test-requirements; make typed_ast and typing conditional on platform/version (#2573)
Also make typed_ast and typing conditional on platform/version. I found that typing was missing when attempting to run pytest in a mostly vanilla 3.3 install. The platform/version conditionals are borrowed from PR #2452.
1 parent afbcf26 commit 0fdec11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
flake8
22
lxml
3-
typed-ast>=0.6.1
3+
typed-ast>=0.6.1; sys_platform != 'win32'
44
pytest>=2.8
55
pytest-xdist>=1.13
66
pytest-cov>=2.4.0
7+
typing>=3.5.2; python_version < '3.5'

0 commit comments

Comments
 (0)