diff --git a/qt/python/mantidqt/utils/test/test_writetosignal.py b/qt/python/mantidqt/utils/test/test_writetosignal.py
index ddb4806c14b18caddc08b529bca877cb227f1f98..9ed5c57f79a56d54d63021b1f5e02a49b1b021c9 100644
--- a/qt/python/mantidqt/utils/test/test_writetosignal.py
+++ b/qt/python/mantidqt/utils/test/test_writetosignal.py
@@ -31,11 +31,6 @@ class Receiver(QObject):
 class WriteToSignalTest(GuiTest):
 
     def test_connected_receiver_receives_text(self):
-        import sys
-        sys.path.append("c:\\users\\qbr77747\\apps\\miniconda3\\lib\\site-packages")
-        import pydevd
-        pydevd.settrace('localhost', port=44444, stdoutToServer=True, stderrToServer=True)
-
         with patch("sys.stdout.fileno") as mock_fileno:
             recv = Receiver()
             writer = WriteToSignal(sys.stdout)