This instance will be upgraded to Heptapod 0.21.0rc2 on 2021-04-16 at 11:00 UTC+2 (a few minutes of down time)

  1. 21 Jul, 2020 1 commit
    • Manuel Jacob's avatar
      tests: port from nosetests to pytest · d843f9a62e6e
      Manuel Jacob authored
      Nosetests is not actively developed anymore. Pytest is actively developed and
      has a much larger ecosystem around it.
      
      Two features of pytest are particularly helpful for us:
      
      Pytest captures stdio by redirecting at the file descriptor-level instead of
      replacing sys.stdout. This is required for Mercurial, as it has its own
      reference to stdout. Before with nosetests, most output was silently swallowed.
      
      Pytest offers the `ALLOW_UNICODE` and `ALLOW_BYTES` options for doctests, making
      it much easier to make our docstrings Python 2- and Python 3-compatiable.
      
      During this patch, it was attempted to leave the structure of the test code
      similar to before instead of converting everything to idiomatic pytest code.
      Luckily, pytest implements enough interoperability for most of our test code.
      d843f9a62e6e
  2. 21 Dec, 2014 2 commits
    • Yuya Nishihara's avatar
      tests: do not forcibly enable doctest · 028d6ba48c00
      Yuya Nishihara authored
      If NOSE_WITH_DOCTEST is set by default, doctests would be run twice because
      we have to run largefiles tests in isolated process.
      028d6ba48c00
    • Yuya Nishihara's avatar
      tests: add attribute to filter out tests which require largefiles extension · b5cff78341df
      Yuya Nishihara authored
      Because largefiles wraps many functions statically, ManifestModelLargeFilesTest
      must be run in isolated environment.  Otherwise, subsequent tests would fail
      with AttributeError: 'mqrepo' object has no attribute '_lfstatuswriters'.
      
      Eventually, 'extensions' attribute can be used to set up .hgrc and 'mq' tests
      should also be isolated.
      b5cff78341df
  3. 03 Jun, 2012 1 commit
  4. 18 May, 2012 1 commit
  5. 08 May, 2012 3 commits
  6. 10 Jun, 2012 1 commit