mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	note a really bad test (no time to fix now)
This commit is contained in:
		
							parent
							
								
									b25aa36f83
								
							
						
					
					
						commit
						84a7f0077c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -99,6 +99,7 @@ def test_closure(func, closure, exc): | ||||||
| # bogus test of new.code() | # bogus test of new.code() | ||||||
| # Note: Jython will never have new.code() | # Note: Jython will never have new.code() | ||||||
| if hasattr(new, 'code'): | if hasattr(new, 'code'): | ||||||
|  |     # XXX should use less criminally bogus arguments! | ||||||
|     d = new.code(3, 3, 3, 3, codestr, (), (), (), |     d = new.code(3, 3, 3, 3, codestr, (), (), (), | ||||||
|                  "<string>", "<name>", 1, "", (), ()) |                  "<string>", "<name>", 1, "", (), ()) | ||||||
|     # test backwards-compatibility version with no freevars or cellvars |     # test backwards-compatibility version with no freevars or cellvars | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael W. Hudson
						Michael W. Hudson