phaniarnab commented on issue #873:
URL: https://github.com/apache/systemml/pull/873#issuecomment-617846093


   > Two of the python tests are failing for me. Could you help me read the 
error messages. Thanks.
   > 
   > **`PS > python ./tests/test_l2svm_lineage2.py`**
   > 
   > ```
   > ======================================================================
   > FAIL: test_getl2svm_lineage (__main__.TestAPI)
   > ----------------------------------------------------------------------
   > Traceback (most recent call last):
   >   File "./tests/test_l2svm_lineage.py", line 57, in test_getl2svm_lineage
   >     self.assertEqual(reVars(lt), reVars(data))
   > AssertionError: "(40) (C) CP°rand°·SCALAR·INT64·false°1·SCAL[53860 
chars]6)\n" != "(46) (C) CP°rand°_Var26·SCALAR·INT64·f[54182 chars]2)\n"
   > Diff is 139221 characters long. Set self.maxDiff to None to see it.
   > ```
   > 
   > **`PS > python ./tests/test_lineagetrace.py`**
   > 
   > ```
   > ======================================================================
   > FAIL: test_compare_trace2 (__main__.TestLineageTrace)
   > ----------------------------------------------------------------------
   > Traceback (most recent call last):
   >   File "./tests/test_lineagetrace.py", line 64, in test_compare_trace2
   >     self.assertEqual(reVars(lt), reVars(data))
   > AssertionError: '(2) (L) 3.1·SCALAR·FP64·true\n(0) (C) CP°rand°5·SCAL[116 
chars]1)\n' != '(2) (L) 3.1·SCALAR·FP64·true\n(0) (C) CP°rand°5[145 
chars]1)\n'
   > - (2) (L) 3.1·SCALAR·FP64·true
   > + (2) (L) 3.1·SCALAR·FP64·true
   > ?            +       +     +
   > - (0) (C) 
CP°rand°5·SCALAR·INT64·true°10·SCALAR·INT64·true°1000°4.2°4.2°1.0°-1°uniform°1.0°1°·MATRIX·FP64
   > + (0) (C) 
CP°rand°5·SCALAR·INT64·true°10·SCALAR·INT64·true°1000°4.2°4.2°1.0°-1°uniform°1.0°1°_mVar0·MATRIX·FP64
   > ?           +     +  +       +      +     +   +       +      +     +     + 
   +    +    +   +        +    +  + +++++++       +
   >   (1) (I) uak+ (0)
   >   (3) (I) * (2) (1)
   > ```
   
   This is due to a different character encoding in different systems. It's 
fine for now. We anyway need to come up with a better approach to test 
python-lineage.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to