File tree 1 file changed +0
-23
lines changed 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change 13
13
14
14
15
15
if __name__ == '__main__' :
16
-
17
- import dateutil .parser
18
- try :
19
- import setuptools
20
- except ImportError :
21
- pass
22
-
23
- # The warnings need to be before any of matplotlib imports, but after
24
- # dateutil.parser and setuptools (if present) which has syntax error with
25
- # the warnings enabled. Filtering by module does not work as this will be
26
- # raised by Python itself so `module=matplotlib.*` is out of question.
27
-
28
- import warnings
29
-
30
- # Python 3.6 deprecate invalid character-pairs \A, \* ... in non
31
- # raw-strings and other things. Let's not re-introduce them
32
- warnings .filterwarnings ('error' , '.*invalid escape sequence.*' ,
33
- category = DeprecationWarning )
34
- warnings .filterwarnings (
35
- 'default' ,
36
- r'.*inspect.getargspec\(\) is deprecated.*' ,
37
- category = DeprecationWarning )
38
-
39
16
from matplotlib import test
40
17
41
18
parser = argparse .ArgumentParser (add_help = False )
You can’t perform that action at this time.
0 commit comments