Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mercurial-devel
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mercurial
mercurial-devel
Commits
0bb8c405
Commit
0bb8c405
authored
9 years ago
by
Gregory Szorc
Browse files
Options
Downloads
Patches
Plain Diff
tests/dumbhttp: use absolute_import
parent
3b517f2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/dumbhttp.py
+12
-3
12 additions, 3 deletions
tests/dumbhttp.py
tests/test-check-py3-compat.t
+0
-1
0 additions, 1 deletion
tests/test-check-py3-compat.t
with
12 additions
and
4 deletions
tests/dumbhttp.py
+
12
−
3
View file @
0bb8c405
#!/usr/bin/env python
from
__future__
import
absolute_import
"""
Small and dumb HTTP server for use in tests.
"""
...
...
@@ -3,7 +5,10 @@
"""
Small and dumb HTTP server for use in tests.
"""
from
optparse
import
OptionParser
import
BaseHTTPServer
,
SimpleHTTPServer
,
signal
,
sys
import
optparse
import
BaseHTTPServer
import
signal
import
SimpleHTTPServer
import
sys
...
...
@@ -9,5 +14,9 @@
from
mercurial
import
cmdutil
from
mercurial
import
(
cmdutil
,
)
OptionParser
=
optparse
.
OptionParser
class
simplehttpservice
(
object
):
def
__init__
(
self
,
host
,
port
):
...
...
This diff is collapsed.
Click to expand it.
tests/test-check-py3-compat.t
+
0
−
1
View file @
0bb8c405
...
...
@@ -143,7 +143,6 @@
mercurial
/
util
.
py
not
using
absolute_import
mercurial
/
windows
.
py
not
using
absolute_import
setup
.
py
not
using
absolute_import
tests
/
dumbhttp
.
py
not
using
absolute_import
tests
/
fakedirstatewritetime
.
py
not
using
absolute_import
tests
/
fakepatchtime
.
py
not
using
absolute_import
tests
/
filterpyflakes
.
py
not
using
absolute_import
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment