mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-01 00:17:27 +03:00 
			
		
		
		
	Update Tests/check_avif_leaks.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									e5494a2ce8
								
							
						
					
					
						commit
						8b8bbba0f7
					
				|  | @ -36,9 +36,8 @@ def test_leak_save() -> None: | |||
|     setrlimit(RLIMIT_STACK, (stack_size, stack_size)) | ||||
|     setrlimit(RLIMIT_AS, (mem_limit, mem_limit)) | ||||
|     for _ in range(iterations): | ||||
|         with Image.open(test_file) as im: | ||||
|             im.load() | ||||
|         test_output = BytesIO() | ||||
|         with Image.open(test_file) as im: | ||||
|             im.save(test_output, "AVIF") | ||||
|         test_output.seek(0) | ||||
|         test_output.read() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user