Skip to content

Instantly share code, notes, and snippets.

@abhishalya
Created November 7, 2018 18:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhishalya/49b472c2be8f24a1f68c805fb7aa2806 to your computer and use it in GitHub Desktop.
Save abhishalya/49b472c2be8f24a1f68c805fb7aa2806 to your computer and use it in GitHub Desktop.
(coalabearsenv) abhishalya@R556UR:~/coala_developement/coala-bears$ pytest
================================================ test session starts =================================================
platform linux -- Python 3.6.6, pytest-3.6.4, py-1.7.0, pluggy-0.7.1
rootdir: /home/abhishalya/coala_developement/coala-bears, inifile: setup.cfg
plugins: requests-mock-1.5.2, xdist-1.24.0, travis-fold-1.3.0, timeout-1.3.2, reqs-0.2.0, reorder-0.1.1, pythonpath-0.7.3, profiling-1.3.0, mock-1.10.0, instafail-0.3.0, forked-0.2, env-0.6.2, cov-2.6.0
timeout: 35.0s
timeout method: signal
timeout func_only: False
collected 786 items / 16 errors / 1 skipped
======================================================= ERRORS =======================================================
_______________________________ ERROR collecting tests/c_languages/CPPLintBearTest.py ________________________________
tests/c_languages/CPPLintBearTest.py:1: in <module>
from bears.c_languages.CPPLintBear import CPPLintBear
bears/c_languages/CPPLintBear.py:13: in <module>
output_regex=r'.+:(?P<line>\d+): (?P<message>.+)')
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:159: in _create_linter
_prepare_options(options, klass)
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:154: in _prepare_options
', '.join(repr(s) for s in sorted(superfluous_options)))
E ValueError: Invalid keyword arguments provided: 'normalize_line_numbers'
_____________________________ ERROR collecting tests/documentation/DocGrammarBearTest.py _____________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/documentation/DocGrammarBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/documentation/DocGrammarBearTest.py:12: in <module>
from bears.documentation.DocGrammarBear import DocGrammarBear
bears/documentation/DocGrammarBear.py:7: in <module>
from coalib.bearlib.languages.documentation.DocBaseClass import (
E ModuleNotFoundError: No module named 'coalib.bearlib.languages.documentation.DocBaseClass'
_________________________ ERROR collecting tests/documentation/DocumentationStyleBearTest.py _________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/documentation/DocumentationStyleBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/documentation/DocumentationStyleBearTest.py:10: in <module>
from bears.documentation.DocumentationStyleBear import DocumentationStyleBear
bears/documentation/DocumentationStyleBear.py:1: in <module>
from coalib.bearlib.languages.documentation.DocumentationComment import (
E ImportError: cannot import name 'MalformedComment'
___________________________________ ERROR collecting tests/general/CPDBearTest.py ____________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/general/CPDBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/general/CPDBearTest.py:8: in <module>
from bears.general.CPDBear import CPDBear
bears/general/CPDBear.py:8: in <module>
from coalib.settings.Setting import language
E ImportError: cannot import name 'language'
________________________________ ERROR collecting tests/general/LineLengthBearTest.py ________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/general/LineLengthBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/general/LineLengthBearTest.py:1: in <module>
from bears.general.LineLengthBear import LineLengthBear
bears/general/LineLengthBear.py:7: in <module>
from coalib.settings.Setting import typed_list, language
E ImportError: cannot import name 'language'
___________________________________ ERROR collecting tests/general/URLBearTest.py ____________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/general/URLBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/general/URLBearTest.py:6: in <module>
from coalib.testing.LocalBearTestHelper import get_results
E ImportError: cannot import name 'get_results'
_________________________________ ERROR collecting tests/general/URLHeadBearTest.py __________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/general/URLHeadBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/general/URLHeadBearTest.py:7: in <module>
from coalib.testing.LocalBearTestHelper import get_results
E ImportError: cannot import name 'get_results'
__________________________________ ERROR collecting tests/haml/HAMLLintBearTest.py ___________________________________
tests/haml/HAMLLintBearTest.py:8: in <module>
from bears.haml.HAMLLintBear import HAMLLintBear
bears/haml/HAMLLintBear.py:11: in <module>
output_regex=r'(?P<line>\d+) \[(?P<severity>W|E)\] '
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:159: in _create_linter
_prepare_options(options, klass)
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:154: in _prepare_options
', '.join(repr(s) for s in sorted(superfluous_options)))
E ValueError: Invalid keyword arguments provided: 'normalize_line_numbers'
_________________________________ ERROR collecting tests/java/CheckstyleBearTest.py __________________________________
tests/java/CheckstyleBearTest.py:6: in <module>
from bears.java import CheckstyleBear
bears/java/CheckstyleBear.py:40: in <module>
output_regex=r'\[(?P<severity>ERROR|WARN|INFO)\].*?'
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:159: in _create_linter
_prepare_options(options, klass)
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:154: in _prepare_options
', '.join(repr(s) for s in sorted(superfluous_options)))
E ValueError: Invalid keyword arguments provided: 'normalize_column_numbers', 'remove_zero_numbers'
____________________________________ ERROR collecting tests/js/ESLintBearTest.py _____________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/js/ESLintBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/js/ESLintBearTest.py:5: in <module>
from bears.js.ESLintBear import ESLintBear
bears/js/ESLintBear.py:9: in <module>
from coalib.settings.Setting import language
E ImportError: cannot import name 'language'
__________________________ ERROR collecting tests/natural_language/WriteGoodLintBearTest.py __________________________
tests/natural_language/WriteGoodLintBearTest.py:1: in <module>
from bears.natural_language.WriteGoodLintBear import WriteGoodLintBear
bears/natural_language/WriteGoodLintBear.py:10: in <module>
output_regex=r'(?P<message>.*)\s*on\s*line\s*(?P<line>\d+)\s*at\s'
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:159: in _create_linter
_prepare_options(options, klass)
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:154: in _prepare_options
', '.join(repr(s) for s in sorted(superfluous_options)))
E ValueError: Invalid keyword arguments provided: 'normalize_column_numbers'
___________________________________ ERROR collecting tests/python/MypyBearTest.py ____________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/python/MypyBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/python/MypyBearTest.py:4: in <module>
from bears.python.MypyBear import MypyBear
bears/python/MypyBear.py:6: in <module>
from coalib.settings.Setting import language
E ImportError: cannot import name 'language'
__________________________________ ERROR collecting tests/python/PyLintBearTest.py ___________________________________
tests/python/PyLintBearTest.py:7: in <module>
from bears.python.PyLintBear import PyLintBear
bears/python/PyLintBear.py:20: in <module>
'I': RESULT_SEVERITY.INFO})
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:159: in _create_linter
_prepare_options(options, klass)
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:154: in _prepare_options
', '.join(repr(s) for s in sorted(superfluous_options)))
E ValueError: Invalid keyword arguments provided: 'normalize_column_numbers'
_______________________________ ERROR collecting tests/python/PyUnusedCodeBearTest.py ________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/python/PyUnusedCodeBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/python/PyUnusedCodeBearTest.py:1: in <module>
from bears.python.PyUnusedCodeBear import PyUnusedCodeBear
bears/python/PyUnusedCodeBear.py:7: in <module>
from coalib.bearlib.aspects import map_setting_to_aspect
E ImportError: cannot import name 'map_setting_to_aspect'
________________________________ ERROR collecting tests/python/PycodestyleBearTest.py ________________________________
ImportError while importing test module '/home/abhishalya/coala_developement/coala-bears/tests/python/PycodestyleBearTest.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/python/PycodestyleBearTest.py:3: in <module>
from bears.python.PycodestyleBear import PycodestyleBear
bears/python/PycodestyleBear.py:7: in <module>
from coalib.bearlib.aspects import map_setting_to_aspect
E ImportError: cannot import name 'map_setting_to_aspect'
__________________________________ ERROR collecting tests/stylus/StylintBearTest.py __________________________________
tests/stylus/StylintBearTest.py:4: in <module>
from bears.stylus.StylintBear import StylintBear
bears/stylus/StylintBear.py:14: in <module>
output_regex=r'(?P<line>\d+):?(?P<column>\d+)?\s+.*?'
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:159: in _create_linter
_prepare_options(options, klass)
../environments/coalabearsenv/lib/python3.6/site-packages/coalib/bearlib/abstractions/Linter.py:154: in _prepare_options
', '.join(repr(s) for s in sorted(superfluous_options)))
E ValueError: Invalid keyword arguments provided: 'normalize_column_numbers'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 16 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================== 1 skipped, 16 error in 29.42 seconds ========================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment