qutebrowser/tests
Florian Bruhin 6c4beef783 Work around flake8-string-format bug
When using flake8-string-format on Python 3.5 with str.format(*group) it
failed:

  Traceback (most recent call last):
    File "./.venv-flakes/bin/flake8", line 11, in <module>
      sys.exit(main())
    File ".../site-packages/flake8/main.py", line 33, in main
      report = flake8_style.check_files()
    File ".../site-packages/flake8/engine.py", line 181, in check_files
      return self._retry_serial(self._styleguide.check_files, paths=paths)
    File ".../site-packages/flake8/engine.py", line 172, in _retry_serial
      return func(*args, **kwargs)
    File ".../site-packages/pep8.py", line 1842, in check_files
      runner(path)
    File ".../site-packages/flake8/engine.py", line 126, in input_file
      return fchecker.check_all(expected=expected, line_offset=line_offset)
    File ".../site-packages/pep8.py", line 1574, in check_all
      self.check_ast()
    File ".../site-packages/pep8.py", line 1521, in check_ast
      for lineno, offset, text, check in checker.run():
    File ".../site-packages/flake8_string_format.py", line 288, in run
      assert isinstance(call.args, ast.Starred) is bool(has_starargs)
  AssertionError

This works around that issue.
See https://github.com/xZise/flake8-string-format/issues/11
2016-05-26 23:50:58 +02:00
..
helpers Allow setting mock keybindings for unit tests. 2016-05-15 22:18:16 -04:00
html Add tests/html/jsalert_multiline.html. 2015-08-27 22:13:40 +02:00
integration add completing single option argument test 2016-05-25 17:52:36 -05:00
unit Work around flake8-string-format bug 2016-05-26 23:50:58 +02:00
conftest.py Stop supporting running tests without Xvfb/DISPLAY 2016-04-06 08:27:43 +02:00
test_conftest.py tests: Allow XPASS for test_installed_package 2016-03-02 08:09:04 +01:00