diff --git a/tests/run_tests.py b/tests/run_tests.py index b362bfd9e..45326b0ef 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -10,7 +10,7 @@ except ImportError, e: sys.exit(1) try: - import mapnik3 + import mapnik except ImportError: print '\x1b[31m✘\x1b[0m (\x1b[34m%s\x1b[0m)' % 'import mapnik failed - tests require python bindings' sys.exit(0) diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index 3be8fc99b..379c2971e 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -4,7 +4,7 @@ import sys try: - import mapnik3 + import mapnik mapnik.logger.set_severity(mapnik.severity_type.None) #mapnik.logger.set_severity(mapnik.severity_type.Debug) except ImportError: