Update latenztest.py

removed unnecessary lines of code