Toilal / rebulk

Define simple search patterns in bulk to perform advanced matching on any string
MIT License
55 stars 9 forks source link

Some tests fail with Python 2.7 on Arch Linux #19

Closed fryfrog closed 4 years ago

fryfrog commented 4 years ago

I own the AUR package for Arch Linux which covers the python3 and python2 versions. The tests are fine in python3, but a number fail when run via python2.

1 ✗ fryfrog@apollo ~/aur/python-rebulk/src/rebulk-1.0.0-py2 $[master*] python2 setup.py test
running pytest
running egg_info
writing requirements to rebulk.egg-info/requires.txt
writing rebulk.egg-info/PKG-INFO
writing top-level names to rebulk.egg-info/top_level.txt
writing dependency_links to rebulk.egg-info/dependency_links.txt
reading manifest file 'rebulk.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'rebulk.egg-info/SOURCES.txt'
running build_ext
========================================================================================================================================== test session starts =========================================================================================================================================$
platform linux2 -- Python 2.7.16, pytest-4.6.4, py-1.8.0, pluggy-0.12.0
rootdir: /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2, inifile: pytest.ini
collected 164 items / 41 errors / 123 selected

================================================================================================================================================ ERRORS ================================================================================================================================================$
_______________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/runtests.py ______________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('runtests', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/runtests.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/runtests.py'))
__________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/__version__.py _________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.__version__', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/__version__.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/__version__.py'))
_____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/chain.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.chain', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/chain.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/chain.py'))
_____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/debug.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.debug', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/debug.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/debug.py'))
__________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/formatters.py __________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.formatters', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/formatters.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/formatters.py'))
_________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/introspector.py _________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.introspector', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/introspector.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/introspector.py'))
_____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/loose.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.loose', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/loose.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/loose.py'))
_____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/match.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.match', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/match.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/match.py'))
____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/pattern.py ___________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.pattern', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/pattern.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/pattern.py'))
__________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/processors.py __________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.processors', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/processors.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/processors.py'))
____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/rebulk.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.rebulk', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/rebulk.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/rebulk.py'))
___________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/remodule.py ___________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.remodule', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/remodule.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/remodule.py'))
_____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/rules.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.rules', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/rules.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/rules.py'))
___________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/toposort.py ___________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.toposort', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/toposort.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/toposort.py'))
_____________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/utils.py ____________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.utils', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/utils.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/utils.py'))
__________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/validators.py __________________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.validators', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/validators.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/validators.py'))
___________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/default_rules_module.py __________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.default_rules_module', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/default_rules_module.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/default_rules_module.py'))
___________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/rebulk_rules_module.py ___________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.rebulk_rules_module', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/rebulk_rules_module.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/rebulk_rules_module.py'))
_______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/rules_module.py ______________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.rules_module', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/rules_module.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/rules_module.py'))
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_chain.py _______________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_chain', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_chain.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_chain.py'))
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_chain.py _______________________________________________________________________________________________________________________$
import file mismatch:
imported module 'rebulk.test.test_chain' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_chain.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_chain.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_debug.py _______________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_debug', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_debug.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_debug.py'))
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_debug.py _______________________________________________________________________________________________________________________$
import file mismatch:
imported module 'rebulk.test.test_debug' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_debug.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_debug.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
____________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_introspector.py ____________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_introspector', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_introspector.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_introspector.py'))
____________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_introspector.py ____________________________________________________________________________________________________________________$
import file mismatch:
imported module 'rebulk.test.test_introspector' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_introspector.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_introspector.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_loose.py _______________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_loose', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_loose.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_loose.py'))
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_loose.py _______________________________________________________________________________________________________________________$
import file mismatch:
imported module 'rebulk.test.test_loose' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_loose.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_loose.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_match.py _______________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_match', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_match.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_match.py'))
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_match.py _______________________________________________________________________________________________________________________$
import file mismatch:
imported module 'rebulk.test.test_match' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_match.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_match.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_pattern.py ______________________________________________________________________________________________________________________$
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_pattern', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_pattern.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_pattern.py'))
_______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_pattern.py _______________________________________________________________________________________________________________________
import file mismatch:
imported module 'rebulk.test.test_pattern' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_pattern.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_pattern.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_____________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_processors.py ______________________________________________________________________________________________________________________
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_processors', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_processors.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_processors.py'))
_____________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_processors.py ______________________________________________________________________________________________________________________
import file mismatch:
imported module 'rebulk.test.test_processors' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_processors.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_processors.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_rebulk.py ________________________________________________________________________________________________________________________
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_rebulk', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_rebulk.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_rebulk.py'))
_______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_rebulk.py ________________________________________________________________________________________________________________________
import file mismatch:
imported module 'rebulk.test.test_rebulk' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_rebulk.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_rebulk.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_rules.py ________________________________________________________________________________________________________________________
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_rules', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_rules.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_rules.py'))
________________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_rules.py ________________________________________________________________________________________________________________________
import file mismatch:
imported module 'rebulk.test.test_rules' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_rules.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_rules.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_toposort.py _______________________________________________________________________________________________________________________
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_toposort', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_toposort.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_toposort.py'))
______________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_toposort.py _______________________________________________________________________________________________________________________
import file mismatch:
imported module 'rebulk.test.test_toposort' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_toposort.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_toposort.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
_____________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_validators.py ______________________________________________________________________________________________________________________
/usr/lib/python2.7/site-packages/py/_path/local.py:721: in pyimport
    raise self.ImportMismatchError(modname, modfile, self)
E   ImportMismatchError: ('rebulk.test.test_validators', '/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_validators.py', local('/home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_validators.py'))
_____________________________________________________________________________________________________________________ ERROR collecting rebulk-1.0.0/rebulk/test/test_validators.py ______________________________________________________________________________________________________________________
import file mismatch:
imported module 'rebulk.test.test_validators' has this __file__ attribute:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk/test/test_validators.py
which is not the same as the test file we want to collect:
  /home/fryfrog/aur/python-rebulk/src/rebulk-1.0.0-py2/rebulk-1.0.0/rebulk/test/test_validators.py
HINT: remove __pycache__ / .pyc files and/or use a unique basename for your test file modules
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 41 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
======================================================================================================================================= 41 error in 1.27 seconds ========================================================================================================================================