@@ -148,7 +148,9 @@ def _create_train_job(version, instance_type, training_compiler_config, instance
148
148
}
149
149
150
150
151
- def test_unsupported_BYOC (pytorch_training_compiler_version ,):
151
+ def test_unsupported_BYOC (
152
+ pytorch_training_compiler_version ,
153
+ ):
152
154
byoc = (
153
155
"1.dkr.ecr.us-east-1.amazonaws.com/pytorch-trcomp-training:"
154
156
"1.12.0-"
@@ -214,7 +216,9 @@ def test_unsupported_framework_version():
214
216
).fit ()
215
217
216
218
217
- def test_unsupported_python_2 (pytorch_training_compiler_version ,):
219
+ def test_unsupported_python_2 (
220
+ pytorch_training_compiler_version ,
221
+ ):
218
222
with pytest .raises (ValueError ):
219
223
PyTorch (
220
224
py_version = "py27" ,
@@ -228,7 +232,9 @@ def test_unsupported_python_2(pytorch_training_compiler_version,):
228
232
).fit ()
229
233
230
234
231
- def test_unsupported_instance_group (pytorch_training_compiler_version ,):
235
+ def test_unsupported_instance_group (
236
+ pytorch_training_compiler_version ,
237
+ ):
232
238
if Version (pytorch_training_compiler_version ) < Version ("1.12" ):
233
239
pytest .skip ("This test is intended for PyTorch 1.12 and above" )
234
240
with pytest .raises (ValueError ):
@@ -246,7 +252,9 @@ def test_unsupported_instance_group(pytorch_training_compiler_version,):
246
252
).fit ()
247
253
248
254
249
- def test_unsupported_distribution (pytorch_training_compiler_version ,):
255
+ def test_unsupported_distribution (
256
+ pytorch_training_compiler_version ,
257
+ ):
250
258
if Version (pytorch_training_compiler_version ) < Version ("1.12" ):
251
259
pytest .skip ("This test is intended for PyTorch 1.12 and above" )
252
260
with pytest .raises (ValueError ):
0 commit comments