========================================================================================================================================= ERRORS =========================================================================================================================================
_____ ERROR collecting tests/pools/eth/test_exchange_reverts.py ____
import file mismatch:
imported module 'test_exchange_reverts' has this file attribute:
/home/e/r/[removed]/curve-venv/curve-contract/tests/pools/common/unitary/test_exchange_reverts.py
which is not the same as the test file we want to collect:
/home/e/r/[removed]/curve-venv/curve-contract/tests/pools/eth/test_exchange_reverts.py
HINT: remove pycache / .pyc files and/or use a unique basename for your test file modules
__ ERROR collecting tests/zaps/meta/integration/test_remove_liquidity_imbalancezap.py
import file mismatch:
imported module 'test_remove_liquidity_imbalance_zap' has this file attribute:
/home/e/r/[removed]/curve-venv/curve-contract/tests/zaps/common/test_remove_liquidity_imbalance_zap.py
which is not the same as the test file we want to collect:
/home/e/r/[removed]/curve-venv/curve-contract/tests/zaps/meta/integration/test_remove_liquidity_imbalance_zap.py
HINT: remove pycache / .pyc files and/or use a unique basename for your test file modules
How can it be fixed?
No idea.
I'm using a venv, as instructed.
Note that I'm using Python 3.9.5 and you currently require 3.6 to 3.8, but this doesn't seem like a Python issue.
Environment information
curve-contract
branch/commit: master/latestbrownie
Version: 1.14.5ganache-cli
Version: 6.12.2What was wrong?
Please include information like:
brownie test
Compiling contracts... Solc version: 0.5.17 Optimizer: Enabled Runs: 200 EVM Version: Istanbul Generating build data...
================================================================================================================================== test session starts =================================================================================================================================== platform linux -- Python 3.9.5, pytest-6.0.1, py-1.10.0, pluggy-0.13.1 rootdir: /home/e/r/[removed]/curve-venv/curve-contract plugins: eth-brownie-1.14.5, xdist-1.34.0, forked-1.3.0, hypothesis-5.41.3, web3-5.11.1 collected 14564 items / 2 errors / 14562 selected
Launching 'ganache-cli --port 8545 --gasLimit 12000000 --accounts 10 --hardfork istanbul --mnemonic brownie --defaultBalanceEther 10000'...
========================================================================================================================================= ERRORS ========================================================================================================================================= _____ ERROR collecting tests/pools/eth/test_exchange_reverts.py ____ import file mismatch: imported module 'test_exchange_reverts' has this file attribute: /home/e/r/[removed]/curve-venv/curve-contract/tests/pools/common/unitary/test_exchange_reverts.py which is not the same as the test file we want to collect: /home/e/r/[removed]/curve-venv/curve-contract/tests/pools/eth/test_exchange_reverts.py HINT: remove pycache / .pyc files and/or use a unique basename for your test file modules __ ERROR collecting tests/zaps/meta/integration/test_remove_liquidity_imbalancezap.py import file mismatch: imported module 'test_remove_liquidity_imbalance_zap' has this file attribute: /home/e/r/[removed]/curve-venv/curve-contract/tests/zaps/common/test_remove_liquidity_imbalance_zap.py which is not the same as the test file we want to collect: /home/e/r/[removed]/curve-venv/curve-contract/tests/zaps/meta/integration/test_remove_liquidity_imbalance_zap.py HINT: remove pycache / .pyc files and/or use a unique basename for your test file modules
How can it be fixed?
No idea.
I'm using a venv, as instructed.
Note that I'm using Python 3.9.5 and you currently require 3.6 to 3.8, but this doesn't seem like a Python issue.