We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad64aa0 commit 8fb44f1Copy full SHA for 8fb44f1
2 files changed
Makefile
@@ -9,6 +9,7 @@ test:
9
$(PYTHON) -m memory_profiler test/test_global.py
10
$(PYTHON) -m memory_profiler test/test_precision_command_line.py
11
$(PYTHON) -m memory_profiler test/test_gen.py
12
+ $(PYTHON) -m memory_profiler test/test_unicode.py
13
$(PYTHON) test/test_import.py
14
$(PYTHON) test/test_memory_usage.py
15
$(PYTHON) test/test_precision_import.py
test/test_unicode.py
@@ -0,0 +1,15 @@
1
+# coding: utf-8
2
+
3
+import time
4
5
+@profile
6
+def test_unicode():
7
+ # test when unicode is present
8
+ eval("β = 0")
+ return
+if __name__ == '__main__':
+ # run only for Python 3
+ import sys
+ if sys.version_info >= (3, 0):
+ test_unicode()
0 commit comments