Skip to content

Instantly share code, notes, and snippets.

@abhishalya
Created November 8, 2018 16:42
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/0329532701d565cb9f88c515283b3c11 to your computer and use it in GitHub Desktop.
Save abhishalya/0329532701d565cb9f88c515283b3c11 to your computer and use it in GitHub Desktop.
============================================================================================================ 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 944 items / 943 deselected / 1 skipped
tests/general/LineContinuationBearTest.py F [100%]
================================================================================================================== FAILURES ==================================================================================================================
_______________________________________________________________________________________________________ LineContinuationBear.test_run ________________________________________________________________________________________________________
self = <tests.general.LineContinuationBearTest.LineContinuationBear testMethod=test_run>
def setUp(self):
self.section = Section('name')
> self.uut = LineContinuationBear(self.section, Queue())
E TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given
tests/general/LineContinuationBearTest.py:26: TypeError
Profiling (from /home/abhishalya/coala_developement/coala-bears/prof/combined.prof):
Thu Nov 8 22:02:55 2018 /home/abhishalya/coala_developement/coala-bears/prof/combined.prof
160 function calls (159 primitive calls) in 0.000 seconds
Ordered by: cumulative time
List reduced from 83 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.000 0.000 runner.py:105(pytest_runtest_call)
2 0.000 0.000 0.000 0.000 capture.py:161(pytest_runtest_call)
1 0.000 0.000 0.000 0.000 unittest.py:182(runtest)
1 0.000 0.000 0.000 0.000 case.py:652(__call__)
1 0.000 0.000 0.000 0.000 case.py:570(run)
3 0.000 0.000 0.000 0.000 {method 'send' of 'generator' objects}
1 0.000 0.000 0.000 0.000 capture.py:185(suspend_capture_item)
1 0.000 0.000 0.000 0.000 capture.py:113(suspend_global_capture)
1 0.000 0.000 0.000 0.000 capture.py:434(readouterr)
2 0.000 0.000 0.000 0.000 capture.py:525(snap)
2 0.000 0.000 0.000 0.000 capture.py:488(snap)
1 0.000 0.000 0.000 0.000 case.py:535(_feedErrorsToResult)
1 0.000 0.000 0.000 0.000 unittest.py:134(addError)
1 0.000 0.000 0.000 0.000 unittest.py:105(_addexcinfo)
1 0.000 0.000 0.000 0.000 LineContinuationBearTest.py:24(setUp)
2 0.000 0.000 0.000 0.000 {method 'truncate' of '_io.FileIO' objects}
4/3 0.000 0.000 0.000 0.000 {built-in method builtins.next}
1 0.000 0.000 0.000 0.000 code.py:392(__init__)
2 0.000 0.000 0.000 0.000 {method 'read' of '_io.FileIO' objects}
1 0.000 0.000 0.000 0.000 queue.py:27(__init__)
============================================================================================ 1 failed, 1 skipped, 943 deselected in 15.48 seconds ============================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment