File: remove_py.patch

package info (click to toggle)
mpmath 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,356 kB
  • sloc: python: 45,321; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 388 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Forwarded: no, already fixed in experimental

--- a/mpmath/tests/runtests.py
+++ b/mpmath/tests/runtests.py
@@ -73,8 +73,8 @@
     print("")
     if "-py" in sys.argv:
         sys.argv.remove('-py')
-        import py
-        py.test.cmdline.main()
+        import pytest
+        pytest.cmdline.main()
     else:
         import glob
         from timeit import default_timer as clock