blink1073 / oct2py

@@ -24,13 +24,13 @@
Loading
24 24
        """
25 25
        octave = Oct2Py()
26 26
        # write the same variable name in each thread and read it back
27 -
        octave.push('name', self.getName())
27 +
        octave.push('name', self.name)
28 28
        name = octave.pull('name')
29 29
        now = datetime.datetime.now()
30 -
        print("{0} got '{1}' at {2}".format(self.getName(), name, now))
30 +
        print("{0} got '{1}' at {2}".format(self.name, name, now))
31 31
        octave.exit()
32 32
        try:
33 -
            assert self.getName() == name
33 +
            assert self.name == name
34 34
        except AssertionError:  # pragma: no cover
35 35
            raise Oct2PyError('Thread collision detected')
36 36
        return
@@ -56,7 +56,7 @@
Loading
56 56
    threads = []
57 57
    for i in range(nthreads):
58 58
        thread = ThreadClass()
59 -
        thread.setDaemon(True)
59 +
        thread.daemon = True
60 60
        thread.start()
61 61
        threads.append(thread)
62 62
    for thread in threads:
Files Coverage
oct2py 88.79%
Project Totals (11 files) 88.79%
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1492938408 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1511428258 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
codecov-umbrella
Build #1540008590 -
unittests
1
comment: off
2
# show coverage in CI status, but never consider it a failure
3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: 0%
8
    patch:
9
      default:
10
        target: 0%
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