diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-04-22 16:52:42 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-04-25 12:28:51 -0700 |
commit | 397ac5921aa09fc0330513721acd43297cec376b (patch) | |
tree | ed18d8c14ef312b8ed29912f5b756f9369069e57 /mesonbuild/mesonlib.py | |
parent | 5678468c2cc1f4639c68a95fb71f8212c846459b (diff) | |
download | meson-397ac5921aa09fc0330513721acd43297cec376b.zip meson-397ac5921aa09fc0330513721acd43297cec376b.tar.gz meson-397ac5921aa09fc0330513721acd43297cec376b.tar.bz2 |
run_unittests: rewrite version test to not call private methods
We really should be testing using the operators themselves, not the
internal implementations, ie we should use a > b not a.__cmp__(b) == 1
in our tests, because __cmp__ is just an implementation detail.
Diffstat (limited to 'mesonbuild/mesonlib.py')
0 files changed, 0 insertions, 0 deletions