tests: ignore inotify extension in test-duplicateoptions.py stable
authorMads Kiilerich <mads@kiilerich.com>
Wed, 29 Jun 2011 00:19:27 +0200
branchstable
changeset 14762 6beb26747430
parent 14761 1a9256cdf10f
child 14763 b071cd58af50
tests: ignore inotify extension in test-duplicateoptions.py The inotify extension is only available on linux and setup.py will not install it on other platforms - but it will of course always be there in the source. test-duplicateoptions.py tried to load most extensions (including inotify if available). When the local uninstalled Mercurial was used it would thus always load the inotify extension and cause a warning on unsupported platforms. The inotify extension is not relevant for this test, so now we explicitly ignore it.
tests/test-duplicateoptions.py
--- a/tests/test-duplicateoptions.py	Sat Jun 25 02:30:17 2011 +0200
+++ b/tests/test-duplicateoptions.py	Wed Jun 29 00:19:27 2011 +0200
@@ -1,7 +1,7 @@
 import os
 from mercurial import ui, commands, extensions
 
-ignore = set(['highlight', 'win32text'])
+ignore = set(['highlight', 'inotify', 'win32text'])
 
 if os.name != 'nt':
     ignore.add('win32mbcs')