Skip to content

Instantly share code, notes, and snippets.

View damian1996's full-sized avatar

Damian Stachura damian1996

View GitHub Profile
__________________________________________________________________________ VultureBearTest.test_used_variable ___________________________________________________________________________
self = <tests.python.VultureBearTest.VultureBearTest testMethod=test_used_variable>
def test_used_variable(self):
> self.verify_results('used_variable.py', {})
tests/python/VultureBearTest.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/python/VultureBearTest.py:59: in verify_results
__________________________________________________________________________ VultureBearTest.test_used_variable ___________________________________________________________________________
self = <tests.python.VultureBearTest.VultureBearTest testMethod=test_used_variable>
def test_used_variable(self):
> self.verify_results('used_variable.py', {})
tests/python/VultureBearTest.py:63:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/python/VultureBearTest.py:59: in verify_results
================================== FAILURES ===================================
__________________________ LatexBearTest.test_result __________________________
self = <tests.latex.LatexLintBearTest.LatexBearTest testMethod=test_result>
def setUp(self):
self.section = Section('name')
> self.uut = LatexLintBear(self.section, Queue())
tests\latex\LatexLintBearTest.py:30:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
C:\Python34-x64\lib\site-packages\coala_utils\decorators.py:429: in decorated
return function(*args, **kwargs)
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int solution(vector<int> &A) {
int arrSize = A.size(), prev = A[0], castles = 0;
bool check = false;
int j = 1;
while(true) {
from datetime import datetime, timedelta
import time
from dateutil import relativedelta
def countingSessions(tms):
size = len(tms)
lastDay = datetime.strptime(tms[size-1], "%Y-%m-%d %H:%M:%S")
lastDays = 1
for i in range(size-1):
d1 = datetime.strptime(tms[size-1-i], "%Y-%m-%d %H:%M:%S")
#include <iostream>
#include <unordered_map>
#include <vector>
#include <cstdlib>
#include <ctime>
#define ll long long
using namespace std;
ll mul(ll x, ll y, ll num)
{
#include <iostream>
#include <map>
#include <vector>
#include <cstdlib>
#include <ctime>
#define ll long long
using namespace std;
ll mul(ll x, ll y, ll num)
{
============================= test session starts ==============================
platform linux -- Python 3.5.2, pytest-3.1.3, py-1.4.34, pluggy-0.4.0
rootdir: /home/damian/Desktop/coala-bears, inifile: setup.cfg
plugins: xdist-1.20.1, timeout-1.2.0, reqs-0.0.6, reorder-0.1.0, mock-1.6.3, instafail-0.3.0, forked-0.2, error-for-skips-1.0.0, env-0.6.2, cov-2.5.1
timeout: 35.0s method: signal
collected 791 items / 1 skipped
tests/coalaBearTest.py .
tests/generate_packageTest.py ............
tests/apertium/ApertiumLintBearTest.py ..