0aca11344ba5326b068e8c70580f6d2d913141f9,scipy/linalg/tests/test_fblas.py,BaseSwap,test_x_bad_size,#BaseSwap#,323
Before Change
def test_x_bad_size(self):
x = arange(12., dtype=self.dtype)
y = zeros(6, x.dtype)
try:
self.blas_func(x, y, n=4, incx=5)
except: // what kind of error should be caught?
return
// should catch error and never get here
assert_(0)
def test_y_bad_size(self):
x = arange(12., dtype=self.dtype)
After Change
def test_x_bad_size(self):
x = arange(12., dtype=self.dtype)
y = zeros(6, x.dtype)
with pytest.raises(Exception, match="failed for 1st keyword"):
self.blas_func(x, y, n=4, incx=5)
def test_y_bad_size(self):
x = arange(12., dtype=self.dtype)
y = zeros(6, x.dtype)
with pytest.raises(Exception, match="failed for 1st keyword"):
In pattern: SUPERPATTERN
Frequency: 7
Non-data size: 6
Instances
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseSwap
Method Name: test_x_bad_size
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseCopy
Method Name: test_x_bad_size
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseSwap
Method Name: test_y_bad_size
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseAxpy
Method Name: test_y_bad_size
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseAxpy
Method Name: test_x_bad_size
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseScal
Method Name: test_x_bad_size
Project Name: scipy/scipy
Commit Name: 0aca11344ba5326b068e8c70580f6d2d913141f9
Time: 2018-08-12
Author: larson.eric.d@gmail.com
File Name: scipy/linalg/tests/test_fblas.py
Class Name: BaseCopy
Method Name: test_y_bad_size