test_profile_ncspm stderr

/usr/lib/python2.7/xml/etree/ElementTree.py:1638: DeprecationWarning: This method of XMLParser is deprecated.  Define doctype() method on the TreeBuilder target.
  DeprecationWarning,
FFFFFF
======================================================================
FAIL: test_profile_default (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 148, in test_profile_default
    self.assertMultiLineEqual(rprofile.outputs.stdout.strip(), output1.strip())
  File "etc/python/grass/gunittest/case.py", line 176, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: '0.000000 *\n 25.000000 *\n 50.000000 *\n 75.000000 *\n 100.000000 *\n 125.00000 [truncated]... != '0.000000 88.370453\n 10.000000 88.397057\n 20.000000 89.526253\n 30.000000 89.6 [truncated]...
- 0.000000 *
-  25.000000 *
-  50.000000 *
-  75.000000 *
-  100.000000 *
-  125.000000 *+ 0.000000 88.370453
+  10.000000 88.397057
+  20.000000 89.526253
+  30.000000 89.677551
+  40.000000 91.297195
+  50.000000 91.297195
+  60.000000 92.330658
+  70.000000 93.069199
+  80.000000 94.768280
+  90.000000 95.524551
+  100.000000 96.770805
+  110.000000 96.770805
+  120.000000 97.418869

======================================================================
FAIL: test_profile_directions (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 187, in test_profile_directions
    self.assertMultiLineEqual(rprofile.outputs.stdout.strip(), output5.strip())
  File "etc/python/grass/gunittest/case.py", line 176, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: '635747.000000 222664.000000 0.000000 *\n635726.675238 222678.556924 25.000000 * [truncated]... != '635747.000000 222664.000000 0.000000 117.672462\n635738.870095 222669.822770 10 [truncated]...
- 635747.000000 222664.000000 0.000000 *
?                                      ^
+ 635747.000000 222664.000000 0.000000 117.672462
?                                      ^^^^^^^^^^
- 635726.675238 222678.556924 25.000000 *
+ 635738.870095 222669.822770 10.000000 116.417213
+ 635730.740190 222675.645539 20.000000 115.639481
+ 635722.610285 222681.468309 30.000000 112.835342
+ 635714.480381 222687.291079 40.000000 111.324890
- 635706.350476 222693.113848 50.000000 *
?                                       ^
+ 635706.350476 222693.113848 50.000000 108.612282
?                                       ^^^^^^^^^^
- 635686.025714 222707.670773 75.000000 *
+ 635698.220571 222698.936618 60.000000 106.313347
+ 635690.090666 222704.759388 70.000000 104.915665
+ 635681.960761 222710.582158 80.000000 102.878601
+ 635673.830856 222716.404927 90.000000 102.935074
- 635673.000000 222717.000000 91.021975 *
?                                       ^
+ 635673.000000 222717.000000 91.021975 102.935074
?                                       ^^^^^^^^^^
- 635653.043625 222701.942008 116.021975 *
+ 635665.017450 222710.976803 101.021975 102.932213
+ 635657.034900 222704.953607 111.021975 102.931152
+ 635649.052351 222698.930410 121.021975 102.932213
+ 635641.069801 222692.907213 131.021975 102.932213
- 635633.087251 222686.884017 141.021975 *
?                                        ^
+ 635633.087251 222686.884017 141.021975 102.931648
?                                        ^^^^^^^^^^
- 635613.130876 222671.826025 166.021975 *
+ 635625.104701 222680.860820 151.021975 102.936768
+ 635617.122151 222674.837623 161.021975 102.903358
+ 635609.139601 222668.814427 171.021975 105.447823
+ 635601.157052 222662.791230 181.021975 105.447823
- 635593.174502 222656.768033 191.021975 *
?                                        ^
+ 635593.174502 222656.768033 191.021975 108.423523
?                                        ^^^^^^^^^^
- 635573.218127 222641.710041 216.021975 *
+ 635585.191952 222650.744836 201.021975 109.192360
+ 635577.209402 222644.721640 211.021975 112.042763
+ 635569.226852 222638.698443 221.021975 114.321136
- 635563.000000 222634.000000 228.822556 *
?                                        ^
+ 635563.000000 222634.000000 228.822556 114.321136
?                                        ^^^^^^^^^^
- 635579.269784 222615.018585 253.822556 *
+ 635569.507914 222626.407434 238.822556 115.357292
+ 635576.015827 222618.814868 248.822556 114.609100
+ 635582.523741 222611.222302 258.822556 111.636292
+ 635589.031655 222603.629736 268.822556 112.355431
- 635595.539569 222596.037170 278.822556 *
?                                        ^
+ 635595.539569 222596.037170 278.822556 110.162842
?                                        ^^^^^^^^^^
- 635611.809353 222577.055755 303.822556 *
+ 635602.047482 222588.444604 288.822556 109.172668
+ 635608.555396 222580.852038 298.822556 109.172668
+ 635615.063310 222573.259472 308.822556 108.030540
+ 635621.571224 222565.666906 318.822556 105.670113
- 635628.079137 222558.074340 328.822556 *
?                                        ^
+ 635628.079137 222558.074340 328.822556 105.770287
?                                        ^^^^^^^^^^
+ 635634.587051 222550.481774 338.822556 105.169937
- 635641.000000 222543.000000 348.676634 *
?                                        ^
+ 635641.000000 222543.000000 348.676634 105.416862
?                                        ^^^^^^^^^^
- 635657.473615 222561.804787 373.676634 *
+ 635647.589446 222550.521915 358.676634 105.011185
+ 635654.178892 222558.043830 368.676634 104.854263
+ 635660.768338 222565.565744 378.676634 104.573921
+ 635667.357784 222573.087659 388.676634 103.413361
- 635673.947230 222580.609574 398.676634 *
?                                        ^
+ 635673.947230 222580.609574 398.676634 105.485588
?                                        ^^^^^^^^^^
- 635690.420845 222599.414361 423.676634 *
+ 635680.536676 222588.131489 408.676634 109.791016
+ 635687.126122 222595.653403 418.676634 109.701485
+ 635693.715568 222603.175318 428.676634 112.104370
+ 635700.305014 222610.697233 438.676634 113.684036
- 635706.894460 222618.219148 448.676634 *
?                                        ^
+ 635706.894460 222618.219148 448.676634 113.684036
?                                        ^^^^^^^^^^
- 635723.368075 222637.023934 473.676634 *
+ 635713.483906 222625.741062 458.676634 114.252579
+ 635720.073352 222633.262977 468.676634 114.115379
+ 635726.662798 222640.784892 478.676634 114.123955
+ 635733.252244 222648.306807 488.676634 115.766998
- 635739.841690 222655.828721 498.676634 *?                                        ^
+ 635739.841690 222655.828721 498.676634 116.547440
?                                        ^^^^^^^^^^^
+ 635746.431136 222663.350636 508.676634 117.672462

======================================================================
FAIL: test_profile_m (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 157, in test_profile_m
    self.assertIn('10 [meters]', rprofile.outputs.stderr)  # resolution
AssertionError: '10 [meters]' not found in 'Using resolution: 25 [meters]\nOutput columns:\nAlong track dist. [meters], Elevation\nApprox. transect length: 128.798292 [meters]\nWARNING: Endpoint coordinates are outside of current region settings\n'

======================================================================
FAIL: test_profile_ne (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 171, in test_profile_ne
    self.assertMultiLineEqual(rprofile.outputs.stdout.strip(), output2.strip())
  File "etc/python/grass/gunittest/case.py", line 176, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: '637656.000000 224222.000000 0.000000 *\n637677.351215 224235.004831 25.000000 * [truncated]... != '637656.000000 224222.000000 0.000000 88.370453\n637664.540486 224227.201932 10. [truncated]...
- 637656.000000 224222.000000 0.000000 *
?                                      ^
+ 637656.000000 224222.000000 0.000000 88.370453
?                                      ^^^^^^^^^
- 637677.351215 224235.004831 25.000000 *
+ 637664.540486 224227.201932 10.000000 88.397057
+ 637673.080972 224232.403865 20.000000 89.526253
+ 637681.621458 224237.605797 30.000000 89.677551
+ 637690.161944 224242.807729 40.000000 91.297195
- 637698.702430 224248.009662 50.000000 *
?                                       ^
+ 637698.702430 224248.009662 50.000000 91.297195
?                                       ^^^^^^^^^
- 637720.053644 224261.014493 75.000000 *
+ 637707.242916 224253.211594 60.000000 92.330658
+ 637715.783402 224258.413526 70.000000 93.069199
+ 637724.323887 224263.615459 80.000000 94.768280
+ 637732.864373 224268.817391 90.000000 95.524551
- 637741.404859 224274.019323 100.000000 *
?                                        ^
+ 637741.404859 224274.019323 100.000000 96.770805
?                                        ^^^^^^^^^
- 637762.756074 224287.024154 125.000000 *+ 637749.945345 224279.221256 110.000000 96.770805
+ 637758.485831 224284.423188 120.000000 97.418869

======================================================================
FAIL: test_profile_region (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 178, in test_profile_region
    self.assertMultiLineEqual(rprofile.outputs.stdout.strip(), output3.strip())
  File "etc/python/grass/gunittest/case.py", line 176, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: '0.000000 nodata\n 25.000000 nodata\n 50.000000 nodata\n 75.000000 nodata\n 86.5 [truncated]... != '0.000000 91.071831\n 10.000000 91.431198\n 20.000000 91.746628\n 30.000000 91.7 [truncated]...
- 0.000000 nodata
-  25.000000 nodata
-  50.000000 nodata
-  75.000000 nodata
+ 0.000000 91.071831
+  10.000000 91.431198
+  20.000000 91.746628
+  30.000000 91.746628
+  40.000000 91.748047
+  50.000000 91.872192
+  60.000000 91.730049
+  70.000000 91.690292
+  80.000000 91.341331
+  86.533231 91.341331
+  96.533231 91.639000
-  86.533231 nodata
?  ^
+  106.533231 nodata
?  ^^
-  111.533231 nodata
?    ^
+  116.533231 nodata
?    ^
+  126.533231 nodata
   136.533231 nodata
-  161.533231 nodata
?    -
+  146.533231 nodata
?   +
+  156.533231 nodata
+  166.533231 nodata
+  176.533231 nodata
   186.533231 nodata
+  196.533231 nodata
+  206.533231 nodata
-  211.533231 nodata?    ^
+  216.533231 nodata?    ^


======================================================================
FAIL: test_profile_resolution (__main__.TestProfileNCSPM)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "raster/r.profile/testsuite/test_profile_ncspm.py", line 163, in test_profile_resolution
    self.assertMultiLineEqual(rprofile.outputs.stdout.strip(), output4.strip())
  File "etc/python/grass/gunittest/case.py", line 176, in assertMultiLineEqual
    first=first, second=second, msg=msg)
AssertionError: '0.000000 *\n 25.000000 *\n 50.000000 *\n 75.000000 *\n 100.000000 *\n 125.00000 [truncated]... != '0.000000 88.370453\n 25.000000 89.526253\n 50.000000 91.297195\n 75.000000 94.7 [truncated]...
- 0.000000 *
-  25.000000 *
-  50.000000 *
-  75.000000 *
-  100.000000 *
-  125.000000 *+ 0.000000 88.370453
+  25.000000 89.526253
+  50.000000 91.297195
+  75.000000 94.768280
+  100.000000 96.770805
+  125.000000 97.646629

----------------------------------------------------------------------
Ran 6 tests in 0.244s
FAILED (failures=6)