[pypy-commit] pypy py3.5: Fix test: pick an obscure module that won't have been imported yet

rlamy pypy.commits at gmail.com
Sun Dec 3 13:38:16 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r93257:5afa98675f99
Date: 2017-12-03 18:37 +0000
http://bitbucket.org/pypy/pypy/changeset/5afa98675f99/

Log:	Fix test: pick an obscure module that won't have been imported yet

diff --git a/pypy/module/cpyext/test/test_import.py b/pypy/module/cpyext/test/test_import.py
--- a/pypy/module/cpyext/test/test_import.py
+++ b/pypy/module/cpyext/test/test_import.py
@@ -22,7 +22,7 @@
                                          space.wrap('__name__'))) == 'foobar'
 
     def test_getmoduledict(self, space, api):
-        testmod = "contextlib"
+        testmod = "imghdr"
         w_pre_dict = PyImport_GetModuleDict(space, )
         assert not space.contains_w(w_pre_dict, space.wrap(testmod))
 


More information about the pypy-commit mailing list