Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6572456 commit 7444a98Copy full SHA for 7444a98
1 file changed
unit/memleak.py
@@ -3,7 +3,10 @@
3
from __future__ import print_function
4
5
import gc
6
-import tracemalloc
+try:
7
+ import tracemalloc
8
+except ImportError:
9
+ raise ImportError("This script requires Python 3.4 or later")
10
11
import numpy as np
12
0 commit comments