# Pastebin Rp35nCxu test/test_file.py::test_same_file FAILED >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> traceback >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> def test_same_file(): shared = RVMPROF.join('src', 'shared') > files = get_list_of_files(shared) test/test_file.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ shared = local('/Users/dev/src/pypy/rpython/rlib/rvmprof/src/shared') def get_list_of_files(shared): files = list(shared.visit('*.[ch]')) # in PyPy we checkin the result of ./configure; as such, these files are # not in github or different and can be skipped files.remove(shared.join('libbacktrace', 'config-x86_32.h')) files.remove(shared.join('libbacktrace', 'config-x86_64.h')) files.remove(shared.join('libbacktrace', 'gstdint.h')) > files.remove(shared.join('libbacktrace', 'config.h')) E ValueError: list.remove(x): x not in list