pyfolio/tests/test_capacity.py::CapacityTestCase::test_apply_slippage_penalty_0
pyfolio/tests/test_capacity.py::CapacityTestCase::test_apply_slippage_penalty_1
pyfolio/tests/test_capacity.py::CapacityTestCase::test_apply_slippage_penalty_2
pyfolio/tests/test_capacity.py::CapacityTestCase::test_apply_slippage_penalty_3
pyfolio/tests/test_capacity.py::CapacityTestCase::test_daily_txns_with_bar_data
pyfolio/tests/test_capacity.py::CapacityTestCase::test_days_to_liquidate_positions
pyfolio/tests/test_capacity.py::CapacityTestCase::test_get_low_liquidity_transactions_0
pyfolio/tests/test_capacity.py::CapacityTestCase::test_get_low_liquidity_transactions_1
pyfolio/tests/test_capacity.py::CapacityTestCase::test_get_max_days_to_liquidate_by_ticker
pyfolio/tests/test_perf_attrib.py::PerfAttribTestCase::test_cumulative_returns_less_costs
pyfolio/tests/test_perf_attrib.py::PerfAttribTestCase::test_high_turnover_warning
pyfolio/tests/test_perf_attrib.py::PerfAttribTestCase::test_missing_stocks_and_dates
pyfolio/tests/test_perf_attrib.py::PerfAttribTestCase::test_perf_attrib_regression
pyfolio/tests/test_perf_attrib.py::PerfAttribTestCase::test_perf_attrib_simple
pyfolio/tests/test_pos.py::PositionsTestCase::test_check_intraday_0_infer
pyfolio/tests/test_pos.py::PositionsTestCase::test_check_intraday_1
pyfolio/tests/test_pos.py::PositionsTestCase::test_detect_intraday_0
pyfolio/tests/test_pos.py::PositionsTestCase::test_detect_intraday_1
pyfolio/tests/test_pos.py::PositionsTestCase::test_estimate_intraday_0
pyfolio/tests/test_pos.py::PositionsTestCase::test_estimate_intraday_1
pyfolio/tests/test_pos.py::PositionsTestCase::test_extract_pos
pyfolio/tests/test_pos.py::PositionsTestCase::test_get_percent_alloc
pyfolio/tests/test_pos.py::PositionsTestCase::test_max_median_exposure_0
pyfolio/tests/test_pos.py::PositionsTestCase::test_max_median_exposure_1
pyfolio/tests/test_pos.py::PositionsTestCase::test_max_median_exposure_2
pyfolio/tests/test_pos.py::PositionsTestCase::test_sector_exposure_0
pyfolio/tests/test_pos.py::PositionsTestCase::test_sector_exposure_1
pyfolio/tests/test_pos.py::PositionsTestCase::test_sector_exposure_2
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_add_closing_trades
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_extract_round_trips_0
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_extract_round_trips_1
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_extract_round_trips_2
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_extract_round_trips_3
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_extract_round_trips_4
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_groupby_consecutive_0
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_groupby_consecutive_1
pyfolio/tests/test_round_trips.py::RoundTripTestCase::test_txn_pnl_matches_round_trip_pnl
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_1
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_2
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_3
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_4
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_5
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_full_tear_sheet_breakdown_6
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_interesting_times_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_interesting_times_tear_sheet_breakdown_1
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_position_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_position_tear_sheet_breakdown_1
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_position_tear_sheet_breakdown_2
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_position_tear_sheet_breakdown_3
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_returns_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_returns_tear_sheet_breakdown_1
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_returns_tear_sheet_breakdown_2
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_returns_tear_sheet_breakdown_3
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_round_trip_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_round_trip_tear_sheet_breakdown_1
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_simple_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_simple_tear_sheet_breakdown_1
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_simple_tear_sheet_breakdown_2
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_txn_tear_sheet_breakdown_0
pyfolio/tests/test_tears.py::PositionsTestCase::test_create_txn_tear_sheet_breakdown_1
pyfolio/tests/test_timeseries.py::TestDrawdown::test_drawdown_overlaps
pyfolio/tests/test_timeseries.py::TestDrawdown::test_gen_drawdown_table_0
pyfolio/tests/test_timeseries.py::TestDrawdown::test_gen_drawdown_table_1
pyfolio/tests/test_timeseries.py::TestDrawdown::test_gen_drawdown_table_relative_0
pyfolio/tests/test_timeseries.py::TestDrawdown::test_get_max_drawdown_0
pyfolio/tests/test_timeseries.py::TestDrawdown::test_get_max_drawdown_1
pyfolio/tests/test_timeseries.py::TestDrawdown::test_get_max_drawdown_begins_first_day_0
pyfolio/tests/test_timeseries.py::TestDrawdown::test_top_drawdowns_0
pyfolio/tests/test_timeseries.py::TestVariance::test_var_cov_var_normal_0
pyfolio/tests/test_timeseries.py::TestNormalize::test_normalize_0
pyfolio/tests/test_timeseries.py::TestStats::test_beta_0
pyfolio/tests/test_timeseries.py::TestStats::test_sharpe_2_0
pyfolio/tests/test_timeseries.py::TestCone::test_bootstrap_cone_against_linear_cone_normal_returns
pyfolio/tests/test_timeseries.py::TestBootstrap::test_calc_bootstrap_0
pyfolio/tests/test_timeseries.py::TestBootstrap::test_calc_bootstrap_1
pyfolio/tests/test_timeseries.py::TestBootstrap::test_calc_bootstrap_2
pyfolio/tests/test_timeseries.py::TestGrossLev::test_gross_lev_calculation
pyfolio/tests/test_txn.py::TransactionsTestCase::test_adjust_returns_for_slippage
pyfolio/tests/test_txn.py::TransactionsTestCase::test_get_turnover

==================================================================================================== ERRORS =====================================================================================================
__________________________________________________________________________________ ERROR collecting pyfolio/tests/test_nbs.py ___________________________________________________________________________________
ImportError while importing test module '/home/saikatd2/projects/borntobeflaky/projects/pytorch-deps/pyfolio/pyfolio/tests/test_nbs.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
pyfolio/tests/test_nbs.py:12: in <module>
    from pyfolio.utils import pyfolio_root
E   ImportError: cannot import name 'pyfolio_root' from 'pyfolio.utils' (/home/saikatd2/projects/borntobeflaky/projects/pytorch-deps/pyfolio/pyfolio/utils.py)
=============================================================================================== warnings summary ================================================================================================
pyfolio/pos.py:27
  /home/saikatd2/projects/borntobeflaky/projects/pytorch-deps/pyfolio/pyfolio/pos.py:27: UserWarning: Module "zipline.assets" not found; multipliers will not be applied to position notionals.
    'Module "zipline.assets" not found; multipliers will not be applied'

/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/__init__.py:7
  /home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/__init__.py:7: UserWarning: The 'nose-parameterized' package has been renamed 'parameterized'. For the two step migration instructions, see: https://github.com/wolever/parameterized#migrating-from-nose-parameterized-to-parameterized (set NOSE_PARAMETERIZED_NO_WARN=1 to suppress this warning)
    "The 'nose-parameterized' package has been renamed 'parameterized'. "

/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nbformat/notebooknode.py:4
  /home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nbformat/notebooknode.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3,and in 3.9 it will stop working
    from collections import Mapping

/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136
/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136
/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136
/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136
/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136
/home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136
  /home/saikatd2/anaconda3/envs/pv3.6_pyfolio/lib/python3.7/site-packages/nose_parameterized/parameterized.py:136: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
    argspec = inspect.getargspec(func)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
9 warnings, 1 error in 2.26s
