Patchwork D6454: tests: sort some imports that were previously missed

login
register
mail settings
Submitter phabricator
Date May 29, 2019, 2:14 p.m.
Message ID <differential-rev-PHID-DREV-lxy62kqcco7gt3q5qjjz-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/40260/
State Superseded
Headers show

Comments

phabricator - May 29, 2019, 2:14 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  I'm a little unclear why the import checker didn't catch this before,
  but when I fixed it to work in Python 3 this failure started showing
  up. Sigh.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6454

AFFECTED FILES
  tests/test-bookmarks-corner-case.t

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/tests/test-bookmarks-corner-case.t b/tests/test-bookmarks-corner-case.t
--- a/tests/test-bookmarks-corner-case.t
+++ b/tests/test-bookmarks-corner-case.t
@@ -116,10 +116,10 @@ 
 We build a server side extension for this purpose
 
   $ cat > bookrace.py << EOF
+  > import atexit
   > import os
   > import time
-  > import atexit
-  > from mercurial import error, extensions, bookmarks
+  > from mercurial import bookmarks, error, extensions
   > def wrapinit(orig, self, repo):
   >     if not os.path.exists('push-A-started'):
   >         print('setting raced push up')