summaryrefslogtreecommitdiff
path: root/azure-steps-windows.yml
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-08-27 04:36:38 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2020-01-03 10:48:11 -0500
commited1e9659f103260a32536b4a7615393e3b1173dc (patch)
treebc5b0e2aae24dd6b35a7d9c8d9e77331176f2f51 /azure-steps-windows.yml
parentf30b2564d3923b2c307a026e4a22d20bc19872f0 (diff)
downloadnumpy-ed1e9659f103260a32536b4a7615393e3b1173dc.tar.gz
MAINT: Remove unnecessary 'from __future__ import ...' statements
As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
Diffstat (limited to 'azure-steps-windows.yml')
-rw-r--r--azure-steps-windows.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/azure-steps-windows.yml b/azure-steps-windows.yml
index f17039455..fdc969890 100644
--- a/azure-steps-windows.yml
+++ b/azure-steps-windows.yml
@@ -9,7 +9,7 @@ steps:
- script: python -m pip install -r test_requirements.txt
displayName: 'Install dependencies; some are optional to avoid test skips'
- powershell: |
- $pyversion = python -c "from __future__ import print_function; import sys; print(sys.version.split()[0])"
+ $pyversion = python -c "import sys; print(sys.version.split()[0])"
Write-Host "Python Version: $pyversion"
$target = "C:\\hostedtoolcache\\windows\\Python\\$pyversion\\$(PYTHON_ARCH)\\lib\\openblas$env:OPENBLAS_SUFFIX.a"
Write-Host "target path: $target"
@@ -53,4 +53,4 @@ steps:
inputs:
testResultsFiles: '**/test-*.xml'
failTaskOnFailedTests: true
- testRunTitle: 'Publish test results for Python $(PYTHON_VERSION) $(BITS)-bit $(TEST_MODE) Windows' \ No newline at end of file
+ testRunTitle: 'Publish test results for Python $(PYTHON_VERSION) $(BITS)-bit $(TEST_MODE) Windows'