We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0849697 commit 43a6234Copy full SHA for 43a6234
test/conftest.py
@@ -107,8 +107,8 @@ def skip_by_device_type(request, processor):
107
108
@pytest.fixture(autouse=True)
109
def skip_gpu_instance_restricted_regions(region, instance_type):
110
- if((region in NO_P2_REGIONS and instance_type.startswith('ml.p2')) or
111
- (region in NO_P3_REGIONS and instance_type.startswith('ml.p3'))):
+ if (region in NO_P2_REGIONS and instance_type.startswith('ml.p2')) or \
+ (region in NO_P3_REGIONS and instance_type.startswith('ml.p3')):
112
pytest.skip('Skipping GPU test in region {}'.format(region))
113
114
0 commit comments