Ezio Melotti added the comment:
The test could be made CPython-specific, but if you think it's not necessary
I'll just close the issue. The main reason I wrote this was to experiment a
bit with unittest.mock :)
--
resolution: - rejected
stage: patch review - committed/rejected
Éric Araujo added the comment:
Agreed with Antoine.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
___
Python-bugs-list mailing list
Ramchandra Apte added the comment:
@Antoine Aw.. no funny bone in you..
--
nosy: +ramchandra.apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
___
Python-bugs-list
Georg Brandl added the comment:
Are you serious?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
___
Christian Heimes added the comment:
Ezio is as serious as the antigravity module. *g*
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
Brett Cannon added the comment:
It's actually a nice example of using unittest.mock. =)
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
Michael Foord added the comment:
What happens if test_geohash runs first? It looks like test_antigravity will
only pass if it is run first. You could remove the order dependence by ensuring
antigravity is not in sys.modules. sys.modules.pop('antigravity', None)
--
Chris Jerdonek added the comment:
Oh, this explains it. I was wondering why my browser was opening xkcd whenever
I tried running doctest against all modules in the library.
--
nosy: +chris.jerdonek
___
Python tracker rep...@bugs.python.org
Antoine Pitrou added the comment:
I'm not sure why we would test undocumented jokes...
Do other Python implementations have to provide them too?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
Changes by Michele Orrù maker...@gmail.com:
--
nosy: +maker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
___
Python-bugs-list mailing
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16106
___
___
Python-bugs-list mailing list
New submission from Ezio Melotti:
The attached patch adds tests for antigravity.
--
assignee: ezio.melotti
components: Library (Lib)
files: antigravity_tests.diff
keywords: patch
messages: 171762
nosy: ezio.melotti, michael.foord
priority: normal
severity: normal
stage: patch review
13 matches
Mail list logo