diff --git a/cake/tests/cases/libs/debugger.test.php b/cake/tests/cases/libs/debugger.test.php
index <HASH>..<HASH> 100644
--- a/cake/tests/cases/libs/debugger.test.php
+++ b/cake/tests/cases/libs/debugger.test.php
@@ -189,6 +189,8 @@ class DebuggerTest extends CakeTestCase {
 			'/error'
 		);
 		$this->assertTags($result, $data, true);
+		
+		restore_error_handler();
 	}
 
 /**
Adding a restore_error_handler() so the Debugger test doesn't interfere with other tests.