Showing 1 of 1 files from the diff.

@@ -522,14 +522,20 @@
Loading
522 522
            for arg in shlex.split(args):
523 523
                sys.argv.append(arg)
524 524
        if wdir is not None:
525 -
            try:
526 -
                wdir = wdir.decode('utf-8')
527 -
            except (UnicodeError, TypeError, AttributeError):
528 -
                # UnicodeError, TypeError --> eventually raised in Python 2
529 -
                # AttributeError --> systematically raised in Python 3
530 -
                pass
525 +
            if PY2:
526 +
                try:
527 +
                    wdir = wdir.decode('utf-8')
528 +
                except (UnicodeError, TypeError, AttributeError):
529 +
                    # UnicodeError, TypeError --> eventually raised in Python 2
530 +
                    pass
531 531
            if os.path.isdir(wdir):
532 532
                os.chdir(wdir)
533 +
                # See https://github.com/spyder-ide/spyder/issues/13632
534 +
                if "multiprocessing.process" in sys.modules:
535 +
                    import multiprocessing.process
536 +
                    multiprocessing.process.ORIGINAL_DIR = os.path.abspath(
537 +
                        wdir)
538 +
533 539
            else:
534 540
                _print("Working directory {} doesn't exist.\n".format(wdir))
535 541
Files Coverage
spyder_kernels 50.69%
Project Totals (22 files) 50.69%
1
codecov:
2
  branch: master
3

4
coverage:
5
  precision: 2
6
  round: down
7
  range: "70...100"
8
  
9
  status:
10
    project:
11
      default:
12
        threshold: 5%
13
    patch: no
14
    changes: no
15
    
16
parsers:
17
  gcov:
18
    branch_detection:
19
      conditional: yes
20
      loop: yes
21
      method: no
22
      macro: no
23
   
24
comment: false
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