mirror of
https://github.com/python/cpython.git
synced 2025-09-12 19:57:40 +00:00
whitespace cleanup
This commit is contained in:
parent
849113af6b
commit
b0db3718d4
1 changed files with 2 additions and 2 deletions
|
@ -76,8 +76,8 @@ class Using__package__:
|
|||
def test_warn_when_package_and_spec_disagree(self):
|
||||
# Raise an ImportWarning if __package__ != __spec__.parent.
|
||||
with self.assertWarns(ImportWarning):
|
||||
self.import_module({'__package__': 'pkg.fake',
|
||||
'__spec__': FakeSpec('pkg.fakefake')})
|
||||
self.import_module({'__package__': 'pkg.fake',
|
||||
'__spec__': FakeSpec('pkg.fakefake')})
|
||||
|
||||
def test_bad__package__(self):
|
||||
globals = {'__package__': '<not real>'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue