Closed
Bug 889678
Opened 11 years ago
Closed 11 years ago
TypeError in python/mozbuild/mozpack/test/test_manifests.py
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla25
People
(Reporter: nalexander, Assigned: gps)
Details
Attachments
(1 file)
1.47 KB,
patch
|
glandium
:
review+
|
Details | Diff | Splinter Review |
I stumbled across the following test error while landing Bug 818744. This was after adding a missing if __name__ == '__main__': mozunit.main() to the file. This (failing?) test was added by Bug 884587. 0:01.09 TEST-UNEXPECTED-FAIL | ./python/mozbuild/mozpack/test/test_manifests.py | line 47, test_unknown_version: not all arguments converted during string formatting 0:01.10 ERROR: test_unknown_version (__main__.TestPurgeManifest) 0:01.10 Traceback (most recent call last): 0:01.10 File "./python/mozbuild/mozpack/test/test_manifests.py", line 47, in test_unknown_version 0:01.10 PurgeManifest.from_path(p) 0:01.10 File "/Users/ncalexan/Mozilla/mcgit/python/mozbuild/mozpack/manifests.py", line 42, in from_path 0:01.10 return PurgeManifest.from_fileobj(fh) 0:01.10 File "/Users/ncalexan/Mozilla/mcgit/python/mozbuild/mozpack/manifests.py", line 51, in from_fileobj 0:01.10 version) 0:01.10 TypeError: not all arguments converted during string formatting 0:01.10
Assignee | ||
Comment 1•11 years ago
|
||
Oh, that test file is missing a __main__ section and thus isn't getting executed. Da derp de derp.
Assignee | ||
Comment 2•11 years ago
|
||
Fortunately the tests were passing and the failing code won't be hit until we deploy a new version of the purge manifest files. Good find, Nick.
Attachment #770551 -
Flags: review?(mh+mozilla)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gps
Updated•11 years ago
|
Attachment #770551 -
Flags: review?(mh+mozilla) → review+
Comment 3•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/717cdae289f8
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•