1. 05 4月, 2021 1 次提交
  2. 02 4月, 2021 1 次提交
  3. 10 2月, 2021 1 次提交
  4. 26 12月, 2020 2 次提交
    • J
      Use f-strings for simple string formatting · cdcf74fb
      Jon Dufresne 提交于
      Use pyupgrade to convert simple string formatting to use f-string
      syntax. pyupgrade is intentionally timid and will not create an f-string
      if it would make the expression longer or if the substitution parameters
      are anything but simple names or dotted names.
      cdcf74fb
    • J
      Remove object from class definitions · 09b3d3a5
      Jon Dufresne 提交于
      Unnecessary since dropping Python 2 support. In Python 3, all classes
      are new style classes.
      09b3d3a5
  5. 25 12月, 2020 1 次提交
  6. 22 12月, 2020 1 次提交
  7. 07 10月, 2019 1 次提交
  8. 21 7月, 2019 3 次提交
  9. 12 7月, 2019 1 次提交
  10. 03 7月, 2019 1 次提交
  11. 22 10月, 2018 1 次提交
    • B
      tests: add support for using venv for the virtual environment · a4209aa0
      Benoit Pierre 提交于
      Add a new testsuite option `--use-venv` to enable the use of `venv`
      for creating a test virtual environment. The option is opt-in because
      creating a `venv` environment does not work right when running under a
      `virtualenv`; which is why `tox-venv` must be used in combination with
      tox.
      a4209aa0
  12. 19 10月, 2018 1 次提交
    • B
      tests: rework tests virtual environment · add38011
      Benoit Pierre 提交于
      - cleanup virtualenv creation code
      - ensure all testing virtual environments use a recent version
        of setuptools / wheel, making it easier to switch to custom
        versions of those, as well as reducing network accesses
      - reduce size of testing virtual environment, slightly speeding
        up the testsuite
      add38011
  13. 15 12月, 2017 1 次提交
  14. 02 9月, 2017 2 次提交
  15. 16 5月, 2017 1 次提交
  16. 20 1月, 2016 1 次提交
  17. 23 5月, 2015 1 次提交
  18. 22 5月, 2015 1 次提交
  19. 07 4月, 2015 1 次提交
  20. 18 3月, 2015 2 次提交
    • M
      Better traceback on venv pip install fail · fd29593e
      Marc Abramowitz 提交于
      Instead of:
      
          tests/conftest.py:146: in virtualenv
              pip_source_dir=pip_src,
          tests/lib/venv.py:45: in create
              obj._create(clear=clear)
          tests/lib/venv.py:68: in _create
              raise Exception(p.stderr)
          E   Exception: None
      
      We get the more informative:
      
          tests/conftest.py:146: in virtualenv
              pip_source_dir=pip_src,
          tests/lib/venv.py:45: in create
              obj._create(clear=clear)
          tests/lib/venv.py:71: in _create
              output=p.stdout,
          E   CalledProcessError: Command '[Path(u'/private/var/folders/gw/w0clrs515zx9x_55zgtpv4mm0000gp/T/pytest-675/test_freeze_basic0/workspace/venv/bin/python'), 'setup.py', 'installxx']' returned non-zero exit status 1
      fd29593e
    • M
      tests: install pip w/ --no-compile · e9a7fb4e
      Marc Abramowitz 提交于
      For me, this speeds up `py.test tests/functional/test_freeze.py` from 62
      seconds to 54 seconds (about a 13% speedup).
      e9a7fb4e
  21. 20 11月, 2014 1 次提交
  22. 01 7月, 2014 1 次提交
  23. 30 3月, 2014 1 次提交
  24. 27 3月, 2014 1 次提交
  25. 29 1月, 2014 1 次提交
  26. 13 1月, 2014 1 次提交
  27. 25 10月, 2013 1 次提交
  28. 28 8月, 2013 1 次提交
  29. 27 8月, 2013 2 次提交