mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-31 07:57:27 +03:00 
			
		
		
		
	Changed OS X references to macOS
This commit is contained in:
		
							parent
							
								
									c38f25a876
								
							
						
					
					
						commit
						1c88afe5c0
					
				|  | @ -230,14 +230,14 @@ class PillowTestCase(unittest.TestCase): | ||||||
| 
 | 
 | ||||||
| @unittest.skipIf(sys.platform.startswith('win32'), "requires Unix or macOS") | @unittest.skipIf(sys.platform.startswith('win32'), "requires Unix or macOS") | ||||||
| class PillowLeakTestCase(PillowTestCase): | class PillowLeakTestCase(PillowTestCase): | ||||||
|     # requires unix/osx |     # requires unix/macOS | ||||||
|     iterations = 100  # count |     iterations = 100  # count | ||||||
|     mem_limit = 512  # k |     mem_limit = 512  # k | ||||||
| 
 | 
 | ||||||
|     def _get_mem_usage(self): |     def _get_mem_usage(self): | ||||||
|         """ |         """ | ||||||
|         Gets the RUSAGE memory usage, returns in K. Encapsulates the difference |         Gets the RUSAGE memory usage, returns in K. Encapsulates the difference | ||||||
|         between OSX and Linux rss reporting |         between macOS and Linux rss reporting | ||||||
| 
 | 
 | ||||||
|         :returns: memory usage in kilobytes |         :returns: memory usage in kilobytes | ||||||
|         """ |         """ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user