| commit | 126d3beae9daf62ae8666f561ea2028073500f87 | [log] [tgz] |
|---|---|---|
| author | Ivan Levkivskyi <levkivskyi@gmail.com> | Sun Oct 09 05:21:52 2016 +0200 |
| committer | Guido van Rossum <guido@python.org> | Sat Oct 08 20:21:52 2016 -0700 |
| tree | 261948e11b6790c02e2a5c7191beff54ccb7ae48 | |
| parent | 2dbf3fd1c8a516864c5f92d71275d136bcd70f84 [diff] |
Add more tests for ABC behaviour of typing classes (#294) Here I am adding tests as discussed with @bintoro (related to #207). These tests actually revealed three small bugs: - Old style classes in Python don't have `__mro__`. - We should use `__extra__` instead of extra in Python2 (since no kwargs in classes). - We should allow overriding `__subclasshook__` by subclasses.