diff options
| author | Tim Graham <timograham@gmail.com> | 2015-02-03 18:02:59 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-02-03 18:30:46 -0500 |
| commit | c0cc8f69e7abfa8578729031f97ae4b96c5cdafe (patch) | |
| tree | 7d8530b7e682abda046cbd7015816d1cb5c19b24 /tests/import_error_package | |
| parent | 65e005f8cd9c656e558e53e6c8b890cd0fcc9e74 (diff) | |
Refactored tests that rely on an ImportError for Python 3.5 compatibility
A change in Python test discovery [1] causes the old packages that raised
an error to be discovered; now we use a common directory that's
ignored during discovery. Refs #23763.
[1] http://bugs.python.org/issue7559
Diffstat (limited to 'tests/import_error_package')
| -rw-r--r-- | tests/import_error_package/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/import_error_package/__init__.py b/tests/import_error_package/__init__.py new file mode 100644 index 0000000000..c872aec5a7 --- /dev/null +++ b/tests/import_error_package/__init__.py @@ -0,0 +1,3 @@ +# A package that raises an ImportError that can be shared among test apps and +# excluded from test discovery. +raise ImportError("Oops") |
