Commits

Amaury Forgeot d'Arc committed bcf0ce5

Fix skipped test

  • Participants
  • Parent commits e4c2a49
  • Branches py3k

Comments (0)

Files changed (2)

pypy/module/_warnings/interp_warnings.py

     if not w_sourceline:
         try:
             # sourceline = linecache.getline(filename, lineno).strip()
-            w_builtins = space.getbuiltinmodule('__builtin__')
+            w_builtins = space.getbuiltinmodule('builtins')
             w_linecachemodule = space.call_method(w_builtins, '__import__',
                                                   space.wrap("linecache"))
             w_sourceline = space.call_method(w_linecachemodule, "getline",

pypy/module/_warnings/test/test_warnings.py

         warnings.defaultaction = 'default'
 
     def test_show_source_line(self):
-        py3k_skip('fixme later')
         import warnings
         import sys, io
         from test.warning_tests import inner