diff --git a/tests/OpenLayers1.html b/tests/OpenLayers1.html
index 4d3ae3bded..1d96be349f 100644
--- a/tests/OpenLayers1.html
+++ b/tests/OpenLayers1.html
@@ -5,8 +5,6 @@
function test_OpenLayers(t) {
t.plan(3);
- var script = document.getElementById("script");
-
t.eq(OpenLayers._getScriptLocation(), "../", "Script location correctly detected.");
t.ok(OpenLayers.ImgPath !== undefined, "An ImgPath property exists.");