qutebrowser/tests/unit/misc
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
..
test_autoupdate.py Check pep257 via flake8. 2016-02-10 19:18:47 +01:00
test_checkpyver.py Various code style improvements 2016-04-27 20:25:27 +02:00
test_cmdhistory.py Check pep257 via flake8. 2016-02-10 19:18:47 +01:00
test_crashdialog.py tests: Make test IDs predictable. 2016-01-25 22:15:31 +01:00
test_editor_unit.py Rename test_editor.py to test_editor_unit.py 2016-04-05 19:49:01 +02:00
test_guiprocess.py tests: Default to raising=True for qtbot. 2016-01-08 09:49:06 +01:00
test_ipc.py Check pep257 via flake8. 2016-02-10 19:18:47 +01:00
test_keyhints.py Work around flake8-string-format bug 2016-05-26 23:50:58 +02:00
test_lineparser.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
test_miscwidgets.py Remove now obsolete test. 2016-02-10 07:06:34 +01:00
test_msgbox.py tests: Default to raising=True for qtbot. 2016-01-08 09:49:06 +01:00
test_readline.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
test_sessions_unit.py Fix test_last_window_session_none 2016-04-10 18:22:58 +02:00
test_split_hypothesis.py Adjust copyright years. 2016-01-04 07:12:39 +01:00
test_split.py flake8: Add hacking 2016-04-08 07:35:53 +02:00