Commit 81403451 authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

switch pytest to use INTERPRETER backend for testing (#1383)

parent 63a233b6
......@@ -17,7 +17,7 @@ import pytest
def pytest_addoption(parser):
parser.addoption('--backend', default='CPU',
parser.addoption('--backend', default='INTERPRETER',
choices=['INTERPRETER', 'CPU', 'GPU', 'NNP'],
help='Select from available backends')
......
......@@ -164,7 +164,7 @@ def test_bad_data_shape():
A = ng.parameter(shape=[2, 2], name='A', dtype=np.float32)
B = ng.parameter(shape=[2, 2], name='B')
model = (A + B)
runtime = ng.runtime(backend_name='CPU')
runtime = ng.runtime(backend_name='INTERPRETER')
computation = runtime.computation(model, A, B)
value_a = np.array([[1, 2]], dtype=np.float32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment