D6454: tests: sort some imports that were previously missed
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed May 29 14:14:55 UTC 2019
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
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')
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list