@@ -2254,15 +2254,22 @@ def test_regress_two_inputs_horizontal_line(self):
2254
2254
assert_almost_equal (result .intercept_stderr , 0.0 )
2255
2255
2256
2256
def test_nist_norris (self ):
2257
- x = [0.2 , 337.4 , 118.2 , 884.6 , 10.1 , 226.5 , 666.3 , 996.3 , 448.6 , 777.0 ,
2258
- 558.2 , 0.4 , 0.6 , 775.5 , 666.9 , 338.0 , 447.5 , 11.6 , 556.0 , 228.1 ,
2259
- 995.8 , 887.6 , 120.2 , 0.3 , 0.3 , 556.8 , 339.1 , 887.2 , 999.0 , 779.0 ,
2260
- 11.1 , 118.3 , 229.2 , 669.1 , 448.9 , 0.5 ]
2261
-
2262
- y = [0.1 , 338.8 , 118.1 , 888.0 , 9.2 , 228.1 , 668.5 , 998.5 , 449.1 , 778.9 ,
2263
- 559.2 , 0.3 , 0.1 , 778.1 , 668.8 , 339.3 , 448.9 , 10.8 , 557.7 , 228.3 ,
2264
- 998.0 , 888.8 , 119.6 , 0.3 , 0.6 , 557.6 , 339.3 , 888.0 , 998.5 , 778.9 ,
2265
- 10.2 , 117.6 , 228.9 , 668.4 , 449.2 , 0.2 ]
2257
+ # If this causes a lint failure in the future, please note the history of
2258
+ # requests to allow extra whitespace in table formatting (e.g. gh-12367).
2259
+ # Also see https://github.com/scipy/scipy/wiki/Why-do-we-not-use-an-auto%E2%80%90formatter%3F # noqa: E501
2260
+ x = [ 0.2 , 337.4 , 118.2 , 884.6 , 10.1 , 226.5 ,
2261
+ 666.3 , 996.3 , 448.6 , 777.0 , 558.2 , 0.4 ,
2262
+ 0.6 , 775.5 , 666.9 , 338.0 , 447.5 , 11.6 ,
2263
+ 556.0 , 228.1 , 995.8 , 887.6 , 120.2 , 0.3 ,
2264
+ 0.3 , 556.8 , 339.1 , 887.2 , 999.0 , 779.0 ,
2265
+ 11.1 , 118.3 , 229.2 , 669.1 , 448.9 , 0.5 ]
2266
+
2267
+ y = [ 0.1 , 338.8 , 118.1 , 888.0 , 9.2 , 228.1 ,
2268
+ 668.5 , 998.5 , 449.1 , 778.9 , 559.2 , 0.3 ,
2269
+ 0.1 , 778.1 , 668.8 , 339.3 , 448.9 , 10.8 ,
2270
+ 557.7 , 228.3 , 998.0 , 888.8 , 119.6 , 0.3 ,
2271
+ 0.6 , 557.6 , 339.3 , 888.0 , 998.5 , 778.9 ,
2272
+ 10.2 , 117.6 , 228.9 , 668.4 , 449.2 , 0.2 ]
2266
2273
2267
2274
result = stats .linregress (x , y )
2268
2275
0 commit comments