Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue1127] No tests for inspect.getfullargspec()

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Sep 22, 2007, 8:00 AM

Post #1 of 2 (339 views)
Permalink
[issue1127] No tests for inspect.getfullargspec()

New submission from Quentin Gallet-Gilles:

I created 4 tests, see attached 'test_getfullargspec.diff' patch.

2 tests verify that getargspec raises ValueError when trying to call it
with the function containing keyword-only arguments or annotations.
The 2 others call getfullargspec and check everything returned is as
expected.

Are some more tests needed ?

----------
nosy: +quentin.gallet-gilles

__________________________________
Tracker <report [at] bugs>
<http://bugs.python.org/issue1127>
__________________________________
Attachments: test_getfullargspec.diff (3.47 KB)


report at bugs

Sep 22, 2007, 10:27 AM

Post #2 of 2 (310 views)
Permalink
[issue1127] No tests for inspect.getfullargspec() [In reply to]

Brett Cannon added the comment:

Won't know if more tests are needed until the patch is reviewed.

Thanks for the work so far, though!

----------
assignee: -> brett.cannon
keywords: +patch
nosy: +brett.cannon

__________________________________
Tracker <report [at] bugs>
<http://bugs.python.org/issue1127>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.