diff --git a/frappe/tests/test_api.py b/frappe/tests/test_api.py index 0a4e3e0c4f..94bc3e7d01 100644 --- a/frappe/tests/test_api.py +++ b/frappe/tests/test_api.py @@ -145,8 +145,7 @@ class TestResourceAPI(FrappeAPITestCase): def test_get_list_debug(self): # test 5: fetch response with debug - with suppress_stdout(): - response = self.get(f"/api/resource/{self.DOCTYPE}", {"sid": self.sid, "debug": True}) + response = self.get(f"/api/resource/{self.DOCTYPE}", {"sid": self.sid, "debug": True}) self.assertEqual(response.status_code, 200) self.assertIn("exc", response.json) self.assertIsInstance(response.json["exc"], str)