def test_remove(self):
        code = 'a=[1,2,3,4,3,5];\n'
        assert evalpy(code + 'a.remove(2); a') == '[ 1, 3, 4, 3, 5 ]'
        assert evalpy(code + 'a.remove(3); a') == '[ 1, 2, 4, 3, 5 ]'
        assert evalpy(code + 'try:\n  a.remove(9);\nexcept Exception as e:\n  e') in 'ValueError'
        assert nowhitespace(evalpy('x = {"a":[2, 3]}; x.a.remove(2); x.a')) == '[3]'
        
        assert evalpy('a=[1,(2,3),4]; a.remove((2,3)); a') == '[ 1, 4 ]'
dataset/ETHPy150Open zoofIO/flexx/flexx/pyscript/tests/test_parser3.py/TestListMethods.test_remove/swapped operands of `in`