提交 b19ef3f0 编写于 作者: Q qiaolongfei

optimize code

上级 6f78cb99
...@@ -49,11 +49,11 @@ class TestPythonOperatorOverride(unittest.TestCase): ...@@ -49,11 +49,11 @@ class TestPythonOperatorOverride(unittest.TestCase):
# compare func to check # compare func to check
compare_fns = [ compare_fns = [
lambda _a, _b: _a == _b, lambda _a, _b: _a == _b,
lambda _a, _b: _a != _b,
lambda _a, _b: _a < _b, lambda _a, _b: _a < _b,
lambda _a, _b: _a > _b,
lambda _a, _b: _a <= _b, lambda _a, _b: _a <= _b,
lambda _a, _b: _a > _b,
lambda _a, _b: _a >= _b, lambda _a, _b: _a >= _b,
lambda _a, _b: _a != _b,
] ]
# places to check # places to check
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册