aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-04-22 16:52:42 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-04-25 12:28:51 -0700
commit397ac5921aa09fc0330513721acd43297cec376b (patch)
treeed18d8c14ef312b8ed29912f5b756f9369069e57 /mesonbuild/mesonlib.py
parent5678468c2cc1f4639c68a95fb71f8212c846459b (diff)
downloadmeson-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