summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2014-07-01 00:48:52 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2014-07-01 00:48:52 +0200
commit929732168c517066034e36eed6bae5efe69502b6 (patch)
tree1836a8608a59b85fa5903a3ba3b0f94a7f0af6f7
parent7014bd5afba1d63bf874d0e1c5a26e02e2bde0fd (diff)
downloadpluginbase-929732168c517066034e36eed6bae5efe69502b6.tar.gz
Add a missing garbage collection call for pypy
-rw-r--r--tests/test_basics.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_basics.py b/tests/test_basics.py
index 3130d49..b7ea71e 100644
--- a/tests/test_basics.py
+++ b/tests/test_basics.py
@@ -1,3 +1,4 @@
+import gc
import sys
from pluginbase import get_plugin_source
@@ -59,6 +60,7 @@ def test_cleanup(base):
from dummy.plugins import hello
new_source = None
+ gc.collect()
assert sys.modules.get(mod_name) is None
assert hello.import_self is None