[Bug 4122] New: test-t18n.t fails

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Dec 5 16:27:51 CST 2013


http://bz.selenic.com/show_bug.cgi?id=4122

          Priority: normal
            Bug ID: 4122
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: test-t18n.t fails
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: mithrandi at mithrandi.net
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.8.1
         Component: Mercurial
           Product: Mercurial

This test fails as follows:

---
/home/mithrandi/debian/packages/build-area/mercurial-2.8.1/tests/test-i18n.t
+++
/home/mithrandi/debian/packages/build-area/mercurial-2.8.1/tests/test-i18n.t.err
@@ -44,4 +44,9 @@
   $ cd "$TESTDIR"/../i18n
   $ python check-translation.py *.po
   $ python check-translation.py --doctest
+  Traceback (most recent call last):
+    File "check-translation.py", line 125, in <module>
+      if 'TERM' in os.environ:
+  NameError: name 'os' is not defined
+  [1]
   $ cd $TESTTMP

ERROR:
/home/mithrandi/debian/packages/build-area/mercurial-2.8.1/tests/test-i18n.t
output changed

The fix is trivial (the 'os' module is not imported in that script).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list