pytest-dev / pytest

@@ -296,7 +296,7 @@
Loading
296 296
            mod.__loader__ = self
297 297
            # Normally, this attribute is 3.4+
298 298
            mod.__spec__ = spec_from_file_location(name, co.co_filename, loader=self)
299 -
            six.exec_(co, mod.__dict__)
299 +
            exec(co, mod.__dict__)
300 300
        except:  # noqa
301 301
            if name in sys.modules:
302 302
                del sys.modules[name]

@@ -52,7 +52,7 @@
Loading
52 52
    ns = {}
53 53
    if extra_ns is not None:
54 54
        ns.update(extra_ns)
55 -
    six.exec_(code, ns)
55 +
    exec(code, ns)
56 56
    func = ns[f.__name__]
57 57
    try:
58 58
        func()

@@ -312,7 +312,7 @@
Loading
312 312
313 313
    def test_compile_and_getsource(self):
314 314
        co = self.source.compile()
315 -
        six.exec_(co, globals())
315 +
        exec(co, globals())
316 316
        f(7)
317 317
        excinfo = pytest.raises(AssertionError, f, 6)
318 318
        frame = excinfo.traceback[-1].frame
@@ -376,7 +376,7 @@
Loading
376 376
        def g(): pass
377 377
    """
378 378
    co = _pytest._code.compile(source)
379 -
    six.exec_(co, globals())
379 +
    exec(co, globals())
380 380
    assert str(_pytest._code.Source(f)).strip() == "def f():\n    raise ValueError"
381 381
    assert str(_pytest._code.Source(g)).strip() == "def g(): pass"
382 382

@@ -7,7 +7,6 @@
Loading
7 7
from decimal import Decimal
8 8
from numbers import Number
9 9
10 -
import six
11 10
from more_itertools.more import always_iterable
12 11
from six.moves import filterfalse
13 12
from six.moves import zip
@@ -702,7 +701,7 @@
Loading
702 701
        # print "raises frame scope: %r" % frame.f_locals
703 702
        try:
704 703
            code = _pytest._code.Source(code).compile(_genframe=frame)
705 -
            six.exec_(code, frame.f_globals, loc)
704 +
            exec(code, frame.f_globals, loc)
706 705
            # XXX didn't mean f_globals == f_locals something special?
707 706
            #     this is destroyed here ...
708 707
        except expected_exception:

@@ -102,7 +102,7 @@
Loading
102 102
103 103
        with WarningsChecker(expected_warning):
104 104
            code = _pytest._code.Source(code).compile()
105 -
            six.exec_(code, frame.f_globals, loc)
105 +
            exec(code, frame.f_globals, loc)
106 106
    else:
107 107
        func = args[0]
108 108
        with WarningsChecker(expected_warning):

@@ -13,7 +13,6 @@
Loading
13 13
import attr
14 14
import pluggy
15 15
import py
16 -
import six
17 16
from six import text_type
18 17
19 18
import _pytest
@@ -138,7 +137,7 @@
Loading
138 137
        """
139 138
        f_locals = self.f_locals.copy()
140 139
        f_locals.update(vars)
141 -
        six.exec_(code, self.f_globals, f_locals)
140 +
        exec(code, self.f_globals, f_locals)
142 141
143 142
    def repr(self, object):
144 143
        """ return a 'safe' (non-recursive, one-line) string repr for 'object'
Files Coverage
src 94.36%
testing 97.32%
Project Totals (114 files) 96.05%
py35-xdist
Build #None -
py27-lsof-nobyte-numpy
Build #None -
py27-xdist-osx
Build #9103.4 -
TRAVIS_OS_NAME=osx
py34-xdist
Build #None -
py37-pexpect,py37-twisted-linux
Build #9103.15 -
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
py37
Build #None -
py37-lsof-numpy-xdist-linux
Build #9103.12 -
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
linting,docs,doctesting-linux
Build #9103.3 -
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
py27-pexpect,py27-twisted-linux
Build #9103.1 -
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
py27-pluggymaster-xdist
Build #None -
py35-xdist
Build #None -
py27-lsof-nobyte-numpy
Build #None -
py34-xdist
Build #None -
py27-pexpect,py27-twisted-linux
Build #9103.1 -
TRAVIS_PYTHON_VERSION=2.7
TRAVIS_OS_NAME=linux
py37
Build #None -
py27-pluggymaster-xdist
Build #None -
linting,docs,doctesting-linux
Build #9103.3 -
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading