Fix typo.

This commit is contained in:
practicalswift 2015-11-02 23:23:02 +01:00
parent b91df4af23
commit 29903c07f9

View file

@ -14,7 +14,7 @@ class MemoryLeak(regress.RegressTest):
elif platform.system() == "Linux": elif platform.system() == "Linux":
rusage_multiplier = 1024 rusage_multiplier = 1024
else: else:
# resource.getrusage(...) is platform dependent. Only tested under Mac and Linux. # resource.getrusage(...) is platform dependent. Only tested under OS X and Linux.
return return
max_rss_before = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * rusage_multiplier max_rss_before = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss * rusage_multiplier
for i in xrange(10000): for i in xrange(10000):