tests/test-histedit-fold.t
changeset 32331 bd872f64a8ba
parent 31076 37ab9e20991c
child 33212 fe0667cc521e
--- a/tests/test-histedit-fold.t	Sat May 06 04:51:25 2017 +0530
+++ b/tests/test-histedit-fold.t	Fri Feb 10 16:56:29 2017 -0800
@@ -154,7 +154,7 @@
   > from mercurial import util
   > def abortfolding(ui, repo, hooktype, **kwargs):
   >     ctx = repo[kwargs.get('node')]
-  >     if set(ctx.files()) == set(['c', 'd', 'f']):
+  >     if set(ctx.files()) == {'c', 'd', 'f'}:
   >         return True # abort folding commit only
   >     ui.warn('allow non-folding commit\\n')
   > EOF