-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Write real test for AttributeError for module.__file__.
Issue #6.
- Loading branch information
1 parent
8fc9aa2
commit 7fdf681
Showing
3 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
# This directory is used in a test in dependency.txt. | ||
# We need a package with a module that has no __file__ attribute. | ||
# This can happen in corner cases, for example with 'backports' on Python 2.7. | ||
# See https://github.com/zopefoundation/z3c.autoinclude/issues/6. | ||
del __file__ |