Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
Rename tests
  • Loading branch information
vmuriart committed Jan 31, 2017
commit 5206a4664f2739ae2b774a240e7cacbe52daa0e0
10 changes: 5 additions & 5 deletions src/tests/leaktest.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def report(self):
if type(item) != dicttype:
print(item, sys.getrefcount(item))

def testModules(self):
def test_modules(self):
self.notify("Running module leak check...")

for i in range(self.count):
Expand All @@ -78,7 +78,7 @@ def testModules(self):

self.end_test()

def testClasses(self):
def test_classes(self):
from System.Collections import Hashtable
from Python.Test import StringDelegate

Expand All @@ -102,7 +102,7 @@ def testClasses(self):

self.end_test()

def testEnumerations(self):
def test_enumerations(self):
import Python.Test as Test

self.notify("Running enum leak check...")
Expand Down Expand Up @@ -137,7 +137,7 @@ def testEnumerations(self):

self.end_test()

def testEvents(self):
def test_events(self):
from Python.Test import EventTest, TestEventArgs

self.notify("Running event leak check...")
Expand Down Expand Up @@ -215,7 +215,7 @@ def handler(sender, args, dict=dict):

self.end_test()

def testDelegates(self):
def test_delegates(self):
from Python.Test import DelegateTest, StringDelegate

self.notify("Running delegate leak check...")
Expand Down
Loading