From cb8b152e3eeb6ac7b4a1c44e63a721eb1991452c Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Wed, 23 Jan 2013 01:12:17 -0500
Subject: [PATCH] pytest.cmdline -> py.test.cmdline. (not backward compatbile)

---
 test/test_algorithm.py | 2 +-
 test/test_array.py     | 2 +-
 test/test_clmath.py    | 2 +-
 test/test_wrapper.py   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/test_algorithm.py b/test/test_algorithm.py
index 7dc78288..9896f284 100644
--- a/test/test_algorithm.py
+++ b/test/test_algorithm.py
@@ -836,7 +836,7 @@ if __name__ == "__main__":
     if len(sys.argv) > 1:
         exec(sys.argv[1])
     else:
-        from pytest.cmdline import main
+        from py.test.cmdline import main
         main([__file__])
 
 # vim: filetype=pyopencl:fdm=marker
diff --git a/test/test_array.py b/test/test_array.py
index c34c8752..f865af05 100644
--- a/test/test_array.py
+++ b/test/test_array.py
@@ -567,7 +567,7 @@ if __name__ == "__main__":
     if len(sys.argv) > 1:
         exec(sys.argv[1])
     else:
-        from pytest.cmdline import main
+        from py.test.cmdline import main
         main([__file__])
 
 # vim: filetype=pyopencl:fdm=marker
diff --git a/test/test_clmath.py b/test/test_clmath.py
index 4eb8ea46..c2d25490 100644
--- a/test/test_clmath.py
+++ b/test/test_clmath.py
@@ -299,5 +299,5 @@ if __name__ == "__main__":
     if len(sys.argv) > 1:
         exec(sys.argv[1])
     else:
-        from pytest.cmdline import main
+        from py.test.cmdline import main
         main([__file__])
diff --git a/test/test_wrapper.py b/test/test_wrapper.py
index 0201b740..01188b4b 100644
--- a/test/test_wrapper.py
+++ b/test/test_wrapper.py
@@ -516,5 +516,5 @@ if __name__ == "__main__":
     if len(sys.argv) > 1:
         exec(sys.argv[1])
     else:
-        from pytest.cmdline import main
+        from py.test.cmdline import main
         main([__file__])
-- 
GitLab