File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313
1414
1515if __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-
3916 from matplotlib import test
4017
4118 parser = argparse .ArgumentParser (add_help = False )
You can’t perform that action at this time.
0 commit comments