Changed OS X references to macOS

This commit is contained in:
Andrew Murray 2018-05-13 20:55:04 +10:00
parent c38f25a876
commit 1c88afe5c0

View File

@ -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
""" """