File tree Expand file tree Collapse file tree 3 files changed +0
-19
lines changed Expand file tree Collapse file tree 3 files changed +0
-19
lines changed Original file line number Diff line number Diff line change 13
13
from ..core .comments import read_comments , add_comments , exist_comments
14
14
from ..core .iosignature import io_signature , message_port
15
15
from ..core .base import BlockToolException , BlockTool
16
- import time
17
16
import os
18
17
import re
19
18
import codecs
20
19
import logging
21
20
22
21
PYGCCXML_AVAILABLE = False
23
- # ugly hack to make pygccxml work with Python >= 3.8
24
- try :
25
- time .clock
26
- except :
27
- time .clock = time .perf_counter
28
22
try :
29
23
from pygccxml import parser , declarations , utils
30
24
PYGCCXML_AVAILABLE = True
Original file line number Diff line number Diff line change 9
9
""" Module to generate AST for the headers and parse it """
10
10
11
11
12
- import time
13
12
import os
14
13
import re
15
14
import codecs
22
21
23
22
LOGGER = logging .getLogger (__name__ )
24
23
PYGCCXML_AVAILABLE = False
25
- # ugly hack to make pygccxml work with Python >= 3.8
26
- try :
27
- time .clock
28
- except :
29
- time .clock = time .perf_counter
30
24
31
25
try :
32
26
from pygccxml import parser , declarations , utils
Original file line number Diff line number Diff line change 13
13
import unittest
14
14
import warnings
15
15
16
- # ugly hack to make pygccxml work with Python >= 3.8
17
- import time
18
- try :
19
- time .clock
20
- except :
21
- time .clock = time .perf_counter
22
-
23
16
try :
24
17
import pygccxml
25
18
SKIP_BLOCK_TEST = False
You can’t perform that action at this time.
0 commit comments