diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 786d51ff905487349275a556486d6f1b9f29bdd1..7283053831b2fe8e838fc1694c84767a3157dd46 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -2,14 +2,9 @@ jobs:
 -
     job: 'Pytest'
     pool:
-        vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016'
+        vmImage: 'ubuntu-16.04'
 
     steps:
-    -
-        task: UsePythonVersion@0
-        inputs:
-            versionSpec: '$(python.version)'
-
     -
         script: |
             set -e
@@ -22,7 +17,7 @@ jobs:
 -
     job: 'Flake8'
     pool:
-        vmImage: 'ubuntu-16.04' # other options: 'macOS-10.13', 'vs2017-win2016'
+        vmImage: 'ubuntu-16.04'
     strategy:
         matrix:
             Python36: