blink1073 / oct2py

Compare 5928cc5 ... +7 ... b3636a9

Flags

Flags have been temporarily removed from this view while the flagging feature is refactored for better performance and user experience.

You can still use flags when viewing individual files. Flag-level thresholds will also remain on pull and merge requests in your repository provider.

More information can be found in our documentation.


@@ -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:

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
oct2py 88.79%
Project Totals (11 files) 88.79%
Loading