diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-01 09:46:38 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-01 09:46:38 +0200 |
commit | b4014d12517af93a860e73c1f85d79b5b31068e1 (patch) | |
tree | c7057c22e1968d50b7a940cb1db92f76c41b59e2 /_test/lib | |
parent | 6ab2708766cd4f1d604fc7c1973afa2b7ff24301 (diff) | |
download | ruamel.yaml-b4014d12517af93a860e73c1f85d79b5b31068e1.tar.gz |
flake8-bugbear
Diffstat (limited to '_test/lib')
-rw-r--r-- | _test/lib/test_constructor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_test/lib/test_constructor.py b/_test/lib/test_constructor.py index 87e7a6d..d10ea4d 100644 --- a/_test/lib/test_constructor.py +++ b/_test/lib/test_constructor.py @@ -257,7 +257,7 @@ def _make_objects(): try: from ruamel.ordereddict import ordereddict -except: +except ImportError: from collections import OrderedDict # to get the right name import ... as ordereddict doesn't do that |