-
Notifications
You must be signed in to change notification settings - Fork 276
Copy ClassVar upstream #280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
d20c39e
Copy typing upstream (including ClassVar for Python2)
ilevkivskyi 5d19448
update docstring for Python2
ilevkivskyi 69ff019
Make Python3 tests backward compatible
ilevkivskyi 66921dc
Fixed metaclass for Python2
ilevkivskyi 5a706c0
Fixed ChainMap also in tpying for 3.2
ilevkivskyi 69a4502
ClassVar must be defined before Any in Python2
ilevkivskyi 0b9092d
Attempt at prohibiting subclasses of ClassVar in Python2
ilevkivskyi 7089f66
Try alternative location for test modules
ilevkivskyi c43cac5
Corrected import
ilevkivskyi 37f14ad
Remove test modules
ilevkivskyi b1d3d1e
Restructured test_typing a bit. ann_modules still imported
ilevkivskyi 3c08107
Fixed bugs after refoactorig tests
ilevkivskyi 33f55d7
Trigger TRavis CI
ilevkivskyi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed ChainMap also in tpying for 3.2
- Loading branch information
commit 5a706c00622a7d36afc579ac02b6f77f9fec1b6a
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I think this points to a different problem.
The stdlib tests for variable annotations syntax should be moved to a different file altogether (maybe test_annotations.py?). Then we won't need this stuff here. (Also, I really want the text of typing.py and test_typing.py to be identical in Py3.5, Py3.6, and here.)