50 |
warnings.filterwarnings("error", "The Layer attribute.*is deprecated", |
warnings.filterwarnings("error", "The Layer attribute.*is deprecated", |
51 |
DeprecationWarning) |
DeprecationWarning) |
52 |
|
|
|
# Usage of the old table interface. This old interface is still used |
|
|
# by the test_table.py module which calls filterwarnings too to |
|
|
# ignore the warnings issued by its own intended use of the old |
|
|
# interface. |
|
|
warnings.filterwarnings("error", ".*old table interface.*", |
|
|
DeprecationWarning) |
|
|
|
|
53 |
verbosity = 1 |
verbosity = 1 |
54 |
|
|
55 |
opts, args = getopt.getopt(sys.argv[1:], 'v', ['verbose']) |
opts, args = getopt.getopt(sys.argv[1:], 'v', ['verbose']) |