tests and improvements for __next__ and send generator methods

This commit is contained in:
Dave Halter committed 2014-01-23 20:02:36 +01:00
1 parent 162d794081
commit e587b876b6
3 files changed
+29 -6

No files matched your search

+13
View File
@@ -118,8 +118,21 @@ b
#? ['__call__']
gen().close.__call__
#?
gen().throw()
#? ['co_consts']
gen().gi_code.co_consts
#? []
gen.gi_code.co_consts
# `send` is also a method wrapper.
#? ['__call__']
gen().send.__call__
#? tuple()
gen().send()
#?
gen()()