Skip to content

Commit c310e0a

Browse files
authored
change: Add py37 to sm tests (#361)
1 parent 9e49fc4 commit c310e0a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/integration/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def pytest_addoption(parser):
3838
parser.addoption('--region', default='us-west-2')
3939
parser.addoption('--framework-version', default=TensorFlow.LATEST_VERSION)
4040
parser.addoption('--processor', default='cpu', choices=['cpu', 'gpu', 'cpu,gpu'])
41-
parser.addoption('--py-version', default='3', choices=['2', '3', '2,3'])
41+
parser.addoption('--py-version', default='3', choices=['2', '3', '2,3', '37'])
4242
parser.addoption('--account-id', default='142577830533')
4343
parser.addoption('--instance-type', default=None)
4444

test/integration/local/test_training.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
def py_full_version(py_version): # noqa: F811
2929
if py_version == '2':
3030
return '2.7'
31+
elif py_version == '37':
32+
return '3.7'
3133
else:
3234
return '3.6'
3335

0 commit comments

Comments
 (0)