Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
591f737
Add typing_extensions subfolder
Michael0x2a Jun 27, 2017
ed2e142
Remove unnecessary gitignore
Michael0x2a Jun 27, 2017
eb1e5d7
Fix flake8 errors; make travis test typing_extensions
Michael0x2a Jun 27, 2017
bded015
Fix tests and lint errors; make run_tests.py Python 3 only
Michael0x2a Jun 27, 2017
449a339
Fix typo in .travis.yml
Michael0x2a Jun 27, 2017
baa6ba7
Try making travis run on each minor version
Michael0x2a Jun 27, 2017
5f55de2
Experiment with removing sys.argv hacks
Michael0x2a Jun 27, 2017
d9d10a5
Correctly use sys.version_info
Michael0x2a Jun 27, 2017
2746fae
Cleanup lingering test changes
Michael0x2a Jun 27, 2017
292deb9
Address parts of code review
Michael0x2a Jul 7, 2017
11e98ee
Fix tests; tweak setup.py text
Michael0x2a Jul 7, 2017
9cc6236
Add missing definitions in Python 2 tests
Michael0x2a Jul 7, 2017
ea77bf9
A little closer
Michael0x2a Jul 7, 2017
5e243ed
Whoops, forgot old-style classes were a thing
Michael0x2a Jul 7, 2017
eac513c
Add check to see if cls.__bases__ is erased
Michael0x2a Jul 7, 2017
ea52ad8
Fix import
Michael0x2a Jul 7, 2017
dd9f31c
Consolidate and document version checks in py3 tests
Michael0x2a Jul 7, 2017
31de561
Test version check pin
Michael0x2a Jul 7, 2017
67a20cb
Special-case quirk with AsyncIterator
Michael0x2a Jul 7, 2017
6987247
Convert readme to RST format; adjust text
Michael0x2a Jul 7, 2017
eab214c
Remove Collections backport
Michael0x2a Jul 8, 2017
11c0fcf
Incorporate speed improvements for typing
Michael0x2a Jul 17, 2017
76cc99d
Respond to 2nd review feedback
Michael0x2a Jul 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add check to see if cls.__bases__ is erased
  • Loading branch information
Michael0x2a committed Jul 17, 2017
commit eac513cde2831255c5b99c82f168133369026224
2 changes: 2 additions & 0 deletions typing_extensions/src_py3/test_typing_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ class C(typing_extensions.Counter[T]): ...
if TYPING_V3:
self.assertIs(type(C[int]()), C)

self.assertEqual(C.__bases__, (typing.Counter,))

def test_counter_subclass_instantiation(self):

class MyCounter(typing_extensions.Counter[int]):
Expand Down