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

Stefan Schwarzer sschwarzer at sschwarzer.net
Thu Dec 18 13:00:50 CET 2003

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?


More information about the Pypy-dev mailing list