File: 0002-Use-Debian-mprof-name.patch

package info (click to toggle)
python-memory-profiler 0.61-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 600 kB
  • sloc: python: 2,228; makefile: 33
file content (21 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Sat, 15 Oct 2022 08:23:27 +0200
Subject: Use Debian mprof name

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index ff1ffd2..be8cecb 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ test:
 	$(PYTHON) test/test_exit_code.py
 	$(PYTHON) test/test_mprof.py
 	$(PYTHON) test/test_async.py
-	mprof run test/test_func.py
+	$(PYTHON) -m mprof run test/test_func.py
 
 develop:
 	pip install -e .