Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 844982 - Use sys.executable for Windows unit tests. r=aki

  • Loading branch information...
commit 6c1902c75a17e7bc12939237b0d8e830fb24e125 1 parent 1c97941
@armenzg armenzg authored
View
2  configs/unittests/win_unittest.py
@@ -92,7 +92,7 @@
"cmd": [
# when configs are consolidated this python path will only show
# for windows.
- os.path.join(os.getcwd(), "build", "venv", "Scripts", "python"),
+ sys.executable,
"../scripts/external_tools/mouse_and_screen_resolution.py",
"--configuration-url",
"http://hg.mozilla.org/%(repo_path)s/raw-file/%(revision)s/" +
View
1  external_tools/mouse_and_screen_resolution.py
@@ -111,7 +111,6 @@ class POINT(Structure):
_fields_ = [("x", c_ulong), ("y", c_ulong)]
def queryMousePosition():
- global pt
pt = POINT()
windll.user32.GetCursorPos(byref(pt))
return { "x": pt.x, "y": pt.y}
Please sign in to comment.
Something went wrong with that request. Please try again.