[pypy-dev] Package directory test conflicts with module file test.py

Laura Creighton lac at strakt.com
Thu Dec 18 14:15:03 CET 2003


In a message of Thu, 18 Dec 2003 13:00:50 +0100, Stefan Schwarzer writes:
>In src/pypy/tool there's a file test.py . As all test directories
>are called "test" (and I want to add one), this would conflict
>with the existing module.
>
>For example, if you say
>
>from pypy.tool.test import main
>
>the package test's __init__.py would be loaded, but that doesn't
>contain a function "main". ;-)
>
>My suggestion is to rename test.py to something alse. Suggestions
>for the name?

testit.py?

>
>Stefan
>
>_______________________________________________
>pypy-dev at codespeak.net
>http://codespeak.net/mailman/listinfo/pypy-dev


More information about the Pypy-dev mailing list