lebeg commented on a change in pull request #12295: [MXNET-696] Define cmp() in 
Python 3 again
URL: https://github.com/apache/incubator-mxnet/pull/12295#discussion_r212266865
 
 

 ##########
 File path: tests/nightly/model_backwards_compatibility_check/common.py
 ##########
 @@ -29,6 +29,13 @@
 import re
 from mxnet.test_utils import assert_almost_equal
 
+try:
 
 Review comment:
   `cmp = lambda(x, y): (x > y) - (x < y)` could also work with a bit less code

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to