Commits

holger krekel  committed bae37c2

skip test with relative imports in python < 2,6

  • Participants
  • Parent commits 2740d12

Comments (0)

Files changed (1)

File testing/code/test_source.py

         assert len(source) == 9
         assert source.getstatementrange(5) == (0, 9)
 
+    @py.test.mark.skipif("sys.version_info < (2,6)")
     def test_getstatementrange_out_of_bounds_py3(self):
         source = Source("if xxx:\n   from .collections import *")
         r = source.getstatementrange(1)