aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rpython/rlib/rvmprof/test/test_file.py')
-rw-r--r--rpython/rlib/rvmprof/test/test_file.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/rpython/rlib/rvmprof/test/test_file.py b/rpython/rlib/rvmprof/test/test_file.py
index e13ed978cc..0a14c6dc4b 100644
--- a/rpython/rlib/rvmprof/test/test_file.py
+++ b/rpython/rlib/rvmprof/test/test_file.py
@@ -15,7 +15,10 @@ def get_list_of_files(shared):
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'))
+ try:
+ files.remove(shared.join('libbacktrace', 'config.h'))
+ except ValueError:
+ pass # might not be there
return files
def test_same_file():