Skip to content

py.test 2.1.0 causes new errors #60

@pytestbot

Description

@pytestbot

Originally reported by: Brian O'Neill (BitBucket: sfbrian, GitHub: sfbrian)


After upgrading to 2.1.0, when running the same tests I normal run I get a bunch of new errors:

helpers/mysql.py:1: in <module>
>   import MySQLdb
build/bdist.macosx-10.3-fat/egg/MySQLdb/__init__.py:17: in <module>
>   ???
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/_pytest/assertion/rewrite.py:93: in find_module
>       py.path.local(cache_dir).ensure(dir=True)
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py/_path/local.py:413: in ensure
>           return p._ensuredirs()
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py/_path/local.py:395: in _ensuredirs
>           parent._ensuredirs()
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py/_path/local.py:395: in _ensuredirs
>           parent._ensuredirs()
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py/_path/local.py:398: in _ensuredirs
>               self.mkdir()
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py/_path/local.py:370: in mkdir
>       py.error.checked_call(os.mkdir, str(p))
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py/_error.py:82: in checked_call
>           raise cls("%s%r" % (func.__name__, args))
E           EEXIST: [File exists]: mkdir('/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/MySQL_python-1.2.3-py2.6-macosx-10.3-fat.egg',)

I'm not sure what is causing these new errors.


Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions