diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/import/pkg7/subpkg1/subpkg2/mod3.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/import/pkg7/subpkg1/subpkg2/mod3.py b/tests/import/pkg7/subpkg1/subpkg2/mod3.py index 747cde03b6..7ed69bdee9 100644 --- a/tests/import/pkg7/subpkg1/subpkg2/mod3.py +++ b/tests/import/pkg7/subpkg1/subpkg2/mod3.py @@ -7,5 +7,5 @@ print(bar) # whereas CPython raises a ValueError try: from .... import mod1 -except (ImportError, ValueError): - print('Error') +except ValueError: + print('ValueError') |