Error in AVL_Tree del_node function #11502

Description

@Rosepetal2022

Repository commit

240d1b7

Python version (python --version)

Python 3.10.7

Dependencies version (pip freeze)

alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
anaconda-navigator==2.1.1
anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
anyio @ file:///C:/ci/anyio_1620153135622/work/dist
appdirs==1.4.4
argh==0.26.2
argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
arrow @ file:///C:/ci/arrow_1617738834352/work
asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
astroid @ file:///C:/ci/astroid_1628063282661/work
astropy @ file:///C:/ci/astropy_1629829318700/work
async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
atomicwrites==1.4.0
attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
backports.weakref==1.0.post1
bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
bitarray @ file:///C:/ci/bitarray_1629133068652/work
bkcharts==0.2
black==19.10b0
bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
bokeh @ file:///C:/ci/bokeh_1635306491714/work
boto==2.49.0
Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
brotlipy==0.7.0
cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
certifi==2021.10.8
cffi @ file:///C:/ci/cffi_1625831756778/work
chardet @ file:///C:/ci/chardet_1607706937985/work
charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
click==8.0.3
cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
clyent==1.2.2
colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
comtypes==1.1.10
conda==4.10.3
conda-build==3.21.6
conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
conda-verify==3.4.2
contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
cryptography @ file:///C:/ci/cryptography_1633520531101/work
cycler==0.10.0
Cython @ file:///C:/ci/cython_1636018292912/work
cytoolz==0.11.0
daal4py==2021.3.0
dask==2021.10.0
debugpy @ file:///C:/ci/debugpy_1629222819322/work
decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
distributed @ file:///C:/ci/distributed_1635968318313/work
docutils @ file:///C:/ci/docutils_1620828264669/work
entrypoints==0.3
et-xmlfile==1.1.0
fastcache @ file:///C:/ci/fastcache_1607571310570/work
filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
fonttools==4.25.0
fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
future @ file:///C:/ci/future_1607568713721/work
gevent @ file:///C:/ci/gevent_1628273776273/work
glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
greenlet @ file:///C:/ci/greenlet_1628888275363/work
h5py @ file:///C:/ci/h5py_1622088609188/work
HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
idna @ file:///tmp/build/80754af9/idna_1622654382723/work
imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
inflection==0.5.1
iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
ipython @ file:///C:/ci/ipython_1635944283918/work
ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
isort @ file:///tmp/build/80754af9/isort_1628603791788/work
itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
jedi @ file:///C:/ci/jedi_1611341083684/work
Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
jupyter @ file:///C:/ci/jupyter_1607685287094/work
jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
keyring @ file:///C:/ci/keyring_1629321702436/work
kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
llvmlite==0.37.0
locket==0.2.1
lxml @ file:///C:/ci/lxml_1616443418777/work
MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
mccabe==0.6.1
menuinst @ file:///C:/ci/menuinst_1631733438520/work
mistune @ file:///C:/ci/mistune_1607359457024/work
mkl-fft==1.3.1
mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
mkl-service==2.4.0
mock @ file:///tmp/build/80754af9/mock_1607622725907/work
more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
mpmath==1.2.1
msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
munkres==1.1.4
mypy-extensions==0.4.3
navigator-updater==0.2.1
nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
nltk==3.6.5
nose @ file:///tmp/build/80754af9/nose_1606773131901/work
notebook @ file:///C:/ci/notebook_1635393701545/work
numba @ file:///C:/ci/numba_1635186062888/work
numexpr @ file:///C:/ci/numexpr_1618856728739/work
numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
pandas @ file:///C:/ci/pandas_1635506685681/work
pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
parso @ file:///tmp/build/80754af9/parso_1617223946239/work
partd @ file:///tmp/build/80754af9/partd_1618000087440/work
path @ file:///C:/ci/path_1624287837534/work
pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
pathspec==0.7.0
patsy==0.5.2
pep8==1.7.1
pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
Pillow==8.4.0
pip==21.2.4
pkginfo==1.7.1
pluggy @ file:///C:/ci/pluggy_1615976440052/work
ply==3.11
poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
psutil @ file:///C:/ci/psutil_1612298199233/work
ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
py @ file:///tmp/build/80754af9/py_1607971587848/work
pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
pycosat==0.6.3
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
pycurl==7.44.1
pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
pylint @ file:///C:/ci/pylint_1627536884966/work
pyls-spyder==0.4.0
PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
pyodbc===4.0.0-unsupported
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
pyreadline==2.1
pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
PySocks @ file:///C:/ci/pysocks_1605307512533/work
pytest==6.2.4
python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
python-lsp-jsonrpc==1.0.0
python-lsp-server==1.2.4
python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
pytz==2021.3
PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
pywin32==228
pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
PyYAML==6.0
pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
regex @ file:///C:/ci/regex_1628063427816/work
requests @ file:///tmp/build/80754af9/requests_1629994808627/work
rope @ file:///tmp/build/80754af9/rope_1623703006312/work
Rtree @ file:///C:/ci/rtree_1618421015405/work
ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
scikit-image==0.18.3
scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
scikit-learn-intelex==2021.20210714.120553
scipy @ file:///C:/ci/scipy_1630606917240/work
seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
setuptools==58.0.4
simplegeneric==0.8.1
singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
sip==4.19.13
six @ file:///tmp/build/80754af9/six_1623709665295/work
sniffio @ file:///C:/ci/sniffio_1614030527509/work
snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
Sphinx==4.2.0
sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
spyder @ file:///C:/ci/spyder_1636480369575/work
spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
statsmodels==0.12.2
sympy @ file:///C:/ci/sympy_1635219088507/work
tables==3.6.1
TBB==0.2
tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
terminado==0.9.4
testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
toml @ file:///tmp/build/80754af9/toml_1616166611790/work
toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
tornado @ file:///C:/ci/tornado_1606924294691/work
tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
ujson @ file:///C:/ci/ujson_1611259568517/work
unicodecsv==0.14.1
Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
urllib3==1.26.7
watchdog @ file:///C:/ci/watchdog_1624955113064/work
wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
webencodings==0.5.1
Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
wheel==0.37.0
whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
win-unicode-console==0.5
wincertstore==0.2
wrapt @ file:///C:/ci/wrapt_1607574570428/work
xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
xlwings==0.24.9
xlwt==1.3.0
xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
zict==2.0.0
zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
zope.event==4.5.0
zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

Expected behavior

when you run the file locally and see the results of the other tests the expected output looks like this:

delete:1
6
3 9
0 5 7 *


Actual behavior

When running the file locally, this error occurs when the del_node function runs:

Traceback (most recent call last):
File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
t.del_node(i)
File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
self.root = del_node(self.root, data)
File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
root = rl_rotation(root)
File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
assert right_child is not None
AssertionError

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
       blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
      }
      } catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
      })();
      (function(){
      try {
      var __m = "github.com";
      var __re = new RegExp('^' + "github\\.com" + '
      
      Skip to content

      Error in AVL_Tree del_node function #11502

      Description

      @Rosepetal2022

      Repository commit

      240d1b7

      Python version (python --version)

      Python 3.10.7

      Dependencies version (pip freeze)

      alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
      anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
      anaconda-navigator==2.1.1
      anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
      anyio @ file:///C:/ci/anyio_1620153135622/work/dist
      appdirs==1.4.4
      argh==0.26.2
      argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
      arrow @ file:///C:/ci/arrow_1617738834352/work
      asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
      astroid @ file:///C:/ci/astroid_1628063282661/work
      astropy @ file:///C:/ci/astropy_1629829318700/work
      async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
      atomicwrites==1.4.0
      attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
      autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
      Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
      backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
      backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
      backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
      backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
      backports.weakref==1.0.post1
      bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
      beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
      binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
      bitarray @ file:///C:/ci/bitarray_1629133068652/work
      bkcharts==0.2
      black==19.10b0
      bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
      bokeh @ file:///C:/ci/bokeh_1635306491714/work
      boto==2.49.0
      Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
      brotlipy==0.7.0
      cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
      certifi==2021.10.8
      cffi @ file:///C:/ci/cffi_1625831756778/work
      chardet @ file:///C:/ci/chardet_1607706937985/work
      charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
      click==8.0.3
      cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
      clyent==1.2.2
      colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
      comtypes==1.1.10
      conda==4.10.3
      conda-build==3.21.6
      conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
      conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
      conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
      conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
      conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
      conda-verify==3.4.2
      contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
      cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
      cryptography @ file:///C:/ci/cryptography_1633520531101/work
      cycler==0.10.0
      Cython @ file:///C:/ci/cython_1636018292912/work
      cytoolz==0.11.0
      daal4py==2021.3.0
      dask==2021.10.0
      debugpy @ file:///C:/ci/debugpy_1629222819322/work
      decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
      defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
      diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
      distributed @ file:///C:/ci/distributed_1635968318313/work
      docutils @ file:///C:/ci/docutils_1620828264669/work
      entrypoints==0.3
      et-xmlfile==1.1.0
      fastcache @ file:///C:/ci/fastcache_1607571310570/work
      filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
      flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
      Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
      fonttools==4.25.0
      fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
      future @ file:///C:/ci/future_1607568713721/work
      gevent @ file:///C:/ci/gevent_1628273776273/work
      glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
      greenlet @ file:///C:/ci/greenlet_1628888275363/work
      h5py @ file:///C:/ci/h5py_1622088609188/work
      HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
      html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
      idna @ file:///tmp/build/80754af9/idna_1622654382723/work
      imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
      imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
      imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
      importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
      inflection==0.5.1
      iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
      intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
      ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
      ipython @ file:///C:/ci/ipython_1635944283918/work
      ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
      ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
      isort @ file:///tmp/build/80754af9/isort_1628603791788/work
      itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
      jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
      jedi @ file:///C:/ci/jedi_1611341083684/work
      Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
      jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
      joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
      json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
      jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
      jupyter @ file:///C:/ci/jupyter_1607685287094/work
      jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
      jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
      jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
      jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
      jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
      jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
      jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
      jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
      keyring @ file:///C:/ci/keyring_1629321702436/work
      kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
      lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
      libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
      llvmlite==0.37.0
      locket==0.2.1
      lxml @ file:///C:/ci/lxml_1616443418777/work
      MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
      matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
      matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
      mccabe==0.6.1
      menuinst @ file:///C:/ci/menuinst_1631733438520/work
      mistune @ file:///C:/ci/mistune_1607359457024/work
      mkl-fft==1.3.1
      mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
      mkl-service==2.4.0
      mock @ file:///tmp/build/80754af9/mock_1607622725907/work
      more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
      mpmath==1.2.1
      msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
      multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
      munkres==1.1.4
      mypy-extensions==0.4.3
      navigator-updater==0.2.1
      nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
      nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
      nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
      nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
      nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
      networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
      nltk==3.6.5
      nose @ file:///tmp/build/80754af9/nose_1606773131901/work
      notebook @ file:///C:/ci/notebook_1635393701545/work
      numba @ file:///C:/ci/numba_1635186062888/work
      numexpr @ file:///C:/ci/numexpr_1618856728739/work
      numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
      numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
      olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
      openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
      packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
      pandas @ file:///C:/ci/pandas_1635506685681/work
      pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
      paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
      parso @ file:///tmp/build/80754af9/parso_1617223946239/work
      partd @ file:///tmp/build/80754af9/partd_1618000087440/work
      path @ file:///C:/ci/path_1624287837534/work
      pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
      pathspec==0.7.0
      patsy==0.5.2
      pep8==1.7.1
      pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
      pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
      Pillow==8.4.0
      pip==21.2.4
      pkginfo==1.7.1
      pluggy @ file:///C:/ci/pluggy_1615976440052/work
      ply==3.11
      poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
      prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
      prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
      psutil @ file:///C:/ci/psutil_1612298199233/work
      ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
      py @ file:///tmp/build/80754af9/py_1607971587848/work
      pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
      pycosat==0.6.3
      pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
      pycurl==7.44.1
      pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
      pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
      pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
      Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
      PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
      pylint @ file:///C:/ci/pylint_1627536884966/work
      pyls-spyder==0.4.0
      PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
      pyodbc===4.0.0-unsupported
      pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
      pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
      pyreadline==2.1
      pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
      PySocks @ file:///C:/ci/pysocks_1605307512533/work
      pytest==6.2.4
      python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
      python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
      python-lsp-jsonrpc==1.0.0
      python-lsp-server==1.2.4
      python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
      pytz==2021.3
      PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
      pywin32==228
      pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
      pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
      PyYAML==6.0
      pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
      QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
      qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
      QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
      qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
      QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
      regex @ file:///C:/ci/regex_1628063427816/work
      requests @ file:///tmp/build/80754af9/requests_1629994808627/work
      rope @ file:///tmp/build/80754af9/rope_1623703006312/work
      Rtree @ file:///C:/ci/rtree_1618421015405/work
      ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
      scikit-image==0.18.3
      scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
      scikit-learn-intelex==2021.20210714.120553
      scipy @ file:///C:/ci/scipy_1630606917240/work
      seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
      Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
      setuptools==58.0.4
      simplegeneric==0.8.1
      singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
      sip==4.19.13
      six @ file:///tmp/build/80754af9/six_1623709665295/work
      sniffio @ file:///C:/ci/sniffio_1614030527509/work
      snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
      sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
      sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
      soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
      Sphinx==4.2.0
      sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
      sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
      sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
      sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
      sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
      sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
      sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
      spyder @ file:///C:/ci/spyder_1636480369575/work
      spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
      SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
      statsmodels==0.12.2
      sympy @ file:///C:/ci/sympy_1635219088507/work
      tables==3.6.1
      TBB==0.2
      tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
      terminado==0.9.4
      testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
      text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
      textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
      threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
      three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
      tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
      tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
      toml @ file:///tmp/build/80754af9/toml_1616166611790/work
      toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
      tornado @ file:///C:/ci/tornado_1606924294691/work
      tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
      traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
      typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
      typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
      ujson @ file:///C:/ci/ujson_1611259568517/work
      unicodecsv==0.14.1
      Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
      urllib3==1.26.7
      watchdog @ file:///C:/ci/watchdog_1624955113064/work
      wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
      webencodings==0.5.1
      Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
      wheel==0.37.0
      whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
      widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
      win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
      win-unicode-console==0.5
      wincertstore==0.2
      wrapt @ file:///C:/ci/wrapt_1607574570428/work
      xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
      XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
      xlwings==0.24.9
      xlwt==1.3.0
      xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
      yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
      zict==2.0.0
      zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
      zope.event==4.5.0
      zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

      Expected behavior

      when you run the file locally and see the results of the other tests the expected output looks like this:

      delete:1
      6
      3 9
      0 5 7 *


      Actual behavior

      When running the file locally, this error occurs when the del_node function runs:

      Traceback (most recent call last):
      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
      t.del_node(i)
      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
      self.root = del_node(self.root, data)
      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
      root = rl_rotation(root)
      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
      assert right_child is not None
      AssertionError

      Metadata

      Metadata

      Assignees

      No one assigned

        Labels

        Type

        No type

        Projects

        No projects

          Milestone

          No milestone

          Relationships

          None yet

          Development

          No branches or pull requests

          Issue actions

          , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
          Skip to content

          Error in AVL_Tree del_node function #11502

          Description

          @Rosepetal2022

          Repository commit

          240d1b7

          Python version (python --version)

          Python 3.10.7

          Dependencies version (pip freeze)

          alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
          anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
          anaconda-navigator==2.1.1
          anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
          anyio @ file:///C:/ci/anyio_1620153135622/work/dist
          appdirs==1.4.4
          argh==0.26.2
          argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
          arrow @ file:///C:/ci/arrow_1617738834352/work
          asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
          astroid @ file:///C:/ci/astroid_1628063282661/work
          astropy @ file:///C:/ci/astropy_1629829318700/work
          async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
          atomicwrites==1.4.0
          attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
          autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
          Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
          backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
          backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
          backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
          backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
          backports.weakref==1.0.post1
          bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
          beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
          binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
          bitarray @ file:///C:/ci/bitarray_1629133068652/work
          bkcharts==0.2
          black==19.10b0
          bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
          bokeh @ file:///C:/ci/bokeh_1635306491714/work
          boto==2.49.0
          Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
          brotlipy==0.7.0
          cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
          certifi==2021.10.8
          cffi @ file:///C:/ci/cffi_1625831756778/work
          chardet @ file:///C:/ci/chardet_1607706937985/work
          charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
          click==8.0.3
          cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
          clyent==1.2.2
          colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
          comtypes==1.1.10
          conda==4.10.3
          conda-build==3.21.6
          conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
          conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
          conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
          conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
          conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
          conda-verify==3.4.2
          contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
          cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
          cryptography @ file:///C:/ci/cryptography_1633520531101/work
          cycler==0.10.0
          Cython @ file:///C:/ci/cython_1636018292912/work
          cytoolz==0.11.0
          daal4py==2021.3.0
          dask==2021.10.0
          debugpy @ file:///C:/ci/debugpy_1629222819322/work
          decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
          defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
          diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
          distributed @ file:///C:/ci/distributed_1635968318313/work
          docutils @ file:///C:/ci/docutils_1620828264669/work
          entrypoints==0.3
          et-xmlfile==1.1.0
          fastcache @ file:///C:/ci/fastcache_1607571310570/work
          filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
          flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
          Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
          fonttools==4.25.0
          fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
          future @ file:///C:/ci/future_1607568713721/work
          gevent @ file:///C:/ci/gevent_1628273776273/work
          glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
          greenlet @ file:///C:/ci/greenlet_1628888275363/work
          h5py @ file:///C:/ci/h5py_1622088609188/work
          HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
          html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
          idna @ file:///tmp/build/80754af9/idna_1622654382723/work
          imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
          imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
          imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
          importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
          inflection==0.5.1
          iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
          intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
          ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
          ipython @ file:///C:/ci/ipython_1635944283918/work
          ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
          ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
          isort @ file:///tmp/build/80754af9/isort_1628603791788/work
          itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
          jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
          jedi @ file:///C:/ci/jedi_1611341083684/work
          Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
          jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
          joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
          json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
          jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
          jupyter @ file:///C:/ci/jupyter_1607685287094/work
          jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
          jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
          jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
          jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
          jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
          jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
          jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
          jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
          keyring @ file:///C:/ci/keyring_1629321702436/work
          kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
          lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
          libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
          llvmlite==0.37.0
          locket==0.2.1
          lxml @ file:///C:/ci/lxml_1616443418777/work
          MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
          matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
          matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
          mccabe==0.6.1
          menuinst @ file:///C:/ci/menuinst_1631733438520/work
          mistune @ file:///C:/ci/mistune_1607359457024/work
          mkl-fft==1.3.1
          mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
          mkl-service==2.4.0
          mock @ file:///tmp/build/80754af9/mock_1607622725907/work
          more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
          mpmath==1.2.1
          msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
          multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
          munkres==1.1.4
          mypy-extensions==0.4.3
          navigator-updater==0.2.1
          nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
          nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
          nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
          nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
          nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
          networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
          nltk==3.6.5
          nose @ file:///tmp/build/80754af9/nose_1606773131901/work
          notebook @ file:///C:/ci/notebook_1635393701545/work
          numba @ file:///C:/ci/numba_1635186062888/work
          numexpr @ file:///C:/ci/numexpr_1618856728739/work
          numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
          numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
          olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
          openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
          packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
          pandas @ file:///C:/ci/pandas_1635506685681/work
          pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
          paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
          parso @ file:///tmp/build/80754af9/parso_1617223946239/work
          partd @ file:///tmp/build/80754af9/partd_1618000087440/work
          path @ file:///C:/ci/path_1624287837534/work
          pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
          pathspec==0.7.0
          patsy==0.5.2
          pep8==1.7.1
          pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
          pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
          Pillow==8.4.0
          pip==21.2.4
          pkginfo==1.7.1
          pluggy @ file:///C:/ci/pluggy_1615976440052/work
          ply==3.11
          poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
          prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
          prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
          psutil @ file:///C:/ci/psutil_1612298199233/work
          ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
          py @ file:///tmp/build/80754af9/py_1607971587848/work
          pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
          pycosat==0.6.3
          pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
          pycurl==7.44.1
          pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
          pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
          pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
          Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
          PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
          pylint @ file:///C:/ci/pylint_1627536884966/work
          pyls-spyder==0.4.0
          PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
          pyodbc===4.0.0-unsupported
          pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
          pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
          pyreadline==2.1
          pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
          PySocks @ file:///C:/ci/pysocks_1605307512533/work
          pytest==6.2.4
          python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
          python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
          python-lsp-jsonrpc==1.0.0
          python-lsp-server==1.2.4
          python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
          pytz==2021.3
          PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
          pywin32==228
          pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
          pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
          PyYAML==6.0
          pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
          QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
          qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
          QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
          qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
          QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
          regex @ file:///C:/ci/regex_1628063427816/work
          requests @ file:///tmp/build/80754af9/requests_1629994808627/work
          rope @ file:///tmp/build/80754af9/rope_1623703006312/work
          Rtree @ file:///C:/ci/rtree_1618421015405/work
          ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
          scikit-image==0.18.3
          scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
          scikit-learn-intelex==2021.20210714.120553
          scipy @ file:///C:/ci/scipy_1630606917240/work
          seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
          Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
          setuptools==58.0.4
          simplegeneric==0.8.1
          singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
          sip==4.19.13
          six @ file:///tmp/build/80754af9/six_1623709665295/work
          sniffio @ file:///C:/ci/sniffio_1614030527509/work
          snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
          sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
          sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
          soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
          Sphinx==4.2.0
          sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
          sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
          sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
          sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
          sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
          sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
          sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
          spyder @ file:///C:/ci/spyder_1636480369575/work
          spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
          SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
          statsmodels==0.12.2
          sympy @ file:///C:/ci/sympy_1635219088507/work
          tables==3.6.1
          TBB==0.2
          tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
          terminado==0.9.4
          testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
          text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
          textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
          threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
          three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
          tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
          tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
          toml @ file:///tmp/build/80754af9/toml_1616166611790/work
          toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
          tornado @ file:///C:/ci/tornado_1606924294691/work
          tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
          traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
          typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
          typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
          ujson @ file:///C:/ci/ujson_1611259568517/work
          unicodecsv==0.14.1
          Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
          urllib3==1.26.7
          watchdog @ file:///C:/ci/watchdog_1624955113064/work
          wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
          webencodings==0.5.1
          Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
          wheel==0.37.0
          whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
          widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
          win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
          win-unicode-console==0.5
          wincertstore==0.2
          wrapt @ file:///C:/ci/wrapt_1607574570428/work
          xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
          XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
          xlwings==0.24.9
          xlwt==1.3.0
          xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
          yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
          zict==2.0.0
          zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
          zope.event==4.5.0
          zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

          Expected behavior

          when you run the file locally and see the results of the other tests the expected output looks like this:

          delete:1
          6
          3 9
          0 5 7 *


          Actual behavior

          When running the file locally, this error occurs when the del_node function runs:

          Traceback (most recent call last):
          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
          t.del_node(i)
          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
          self.root = del_node(self.root, data)
          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
          root = rl_rotation(root)
          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
          assert right_child is not None
          AssertionError

          Metadata

          Metadata

          Assignees

          No one assigned

            Labels

            Type

            No type

            Projects

            No projects

              Milestone

              No milestone

              Relationships

              None yet

              Development

              No branches or pull requests

              Issue actions

              , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
              Skip to content

              Error in AVL_Tree del_node function #11502

              Description

              @Rosepetal2022

              Repository commit

              240d1b7

              Python version (python --version)

              Python 3.10.7

              Dependencies version (pip freeze)

              alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
              anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
              anaconda-navigator==2.1.1
              anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
              anyio @ file:///C:/ci/anyio_1620153135622/work/dist
              appdirs==1.4.4
              argh==0.26.2
              argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
              arrow @ file:///C:/ci/arrow_1617738834352/work
              asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
              astroid @ file:///C:/ci/astroid_1628063282661/work
              astropy @ file:///C:/ci/astropy_1629829318700/work
              async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
              atomicwrites==1.4.0
              attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
              autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
              Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
              backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
              backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
              backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
              backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
              backports.weakref==1.0.post1
              bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
              beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
              binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
              bitarray @ file:///C:/ci/bitarray_1629133068652/work
              bkcharts==0.2
              black==19.10b0
              bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
              bokeh @ file:///C:/ci/bokeh_1635306491714/work
              boto==2.49.0
              Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
              brotlipy==0.7.0
              cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
              certifi==2021.10.8
              cffi @ file:///C:/ci/cffi_1625831756778/work
              chardet @ file:///C:/ci/chardet_1607706937985/work
              charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
              click==8.0.3
              cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
              clyent==1.2.2
              colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
              comtypes==1.1.10
              conda==4.10.3
              conda-build==3.21.6
              conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
              conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
              conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
              conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
              conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
              conda-verify==3.4.2
              contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
              cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
              cryptography @ file:///C:/ci/cryptography_1633520531101/work
              cycler==0.10.0
              Cython @ file:///C:/ci/cython_1636018292912/work
              cytoolz==0.11.0
              daal4py==2021.3.0
              dask==2021.10.0
              debugpy @ file:///C:/ci/debugpy_1629222819322/work
              decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
              defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
              diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
              distributed @ file:///C:/ci/distributed_1635968318313/work
              docutils @ file:///C:/ci/docutils_1620828264669/work
              entrypoints==0.3
              et-xmlfile==1.1.0
              fastcache @ file:///C:/ci/fastcache_1607571310570/work
              filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
              flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
              Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
              fonttools==4.25.0
              fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
              future @ file:///C:/ci/future_1607568713721/work
              gevent @ file:///C:/ci/gevent_1628273776273/work
              glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
              greenlet @ file:///C:/ci/greenlet_1628888275363/work
              h5py @ file:///C:/ci/h5py_1622088609188/work
              HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
              html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
              idna @ file:///tmp/build/80754af9/idna_1622654382723/work
              imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
              imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
              imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
              importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
              inflection==0.5.1
              iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
              intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
              ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
              ipython @ file:///C:/ci/ipython_1635944283918/work
              ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
              ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
              isort @ file:///tmp/build/80754af9/isort_1628603791788/work
              itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
              jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
              jedi @ file:///C:/ci/jedi_1611341083684/work
              Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
              jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
              joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
              json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
              jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
              jupyter @ file:///C:/ci/jupyter_1607685287094/work
              jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
              jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
              jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
              jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
              jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
              jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
              jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
              jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
              keyring @ file:///C:/ci/keyring_1629321702436/work
              kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
              lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
              libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
              llvmlite==0.37.0
              locket==0.2.1
              lxml @ file:///C:/ci/lxml_1616443418777/work
              MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
              matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
              matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
              mccabe==0.6.1
              menuinst @ file:///C:/ci/menuinst_1631733438520/work
              mistune @ file:///C:/ci/mistune_1607359457024/work
              mkl-fft==1.3.1
              mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
              mkl-service==2.4.0
              mock @ file:///tmp/build/80754af9/mock_1607622725907/work
              more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
              mpmath==1.2.1
              msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
              multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
              munkres==1.1.4
              mypy-extensions==0.4.3
              navigator-updater==0.2.1
              nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
              nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
              nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
              nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
              nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
              networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
              nltk==3.6.5
              nose @ file:///tmp/build/80754af9/nose_1606773131901/work
              notebook @ file:///C:/ci/notebook_1635393701545/work
              numba @ file:///C:/ci/numba_1635186062888/work
              numexpr @ file:///C:/ci/numexpr_1618856728739/work
              numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
              numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
              olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
              openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
              packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
              pandas @ file:///C:/ci/pandas_1635506685681/work
              pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
              paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
              parso @ file:///tmp/build/80754af9/parso_1617223946239/work
              partd @ file:///tmp/build/80754af9/partd_1618000087440/work
              path @ file:///C:/ci/path_1624287837534/work
              pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
              pathspec==0.7.0
              patsy==0.5.2
              pep8==1.7.1
              pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
              pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
              Pillow==8.4.0
              pip==21.2.4
              pkginfo==1.7.1
              pluggy @ file:///C:/ci/pluggy_1615976440052/work
              ply==3.11
              poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
              prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
              prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
              psutil @ file:///C:/ci/psutil_1612298199233/work
              ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
              py @ file:///tmp/build/80754af9/py_1607971587848/work
              pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
              pycosat==0.6.3
              pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
              pycurl==7.44.1
              pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
              pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
              pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
              Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
              PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
              pylint @ file:///C:/ci/pylint_1627536884966/work
              pyls-spyder==0.4.0
              PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
              pyodbc===4.0.0-unsupported
              pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
              pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
              pyreadline==2.1
              pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
              PySocks @ file:///C:/ci/pysocks_1605307512533/work
              pytest==6.2.4
              python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
              python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
              python-lsp-jsonrpc==1.0.0
              python-lsp-server==1.2.4
              python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
              pytz==2021.3
              PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
              pywin32==228
              pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
              pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
              PyYAML==6.0
              pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
              QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
              qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
              QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
              qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
              QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
              regex @ file:///C:/ci/regex_1628063427816/work
              requests @ file:///tmp/build/80754af9/requests_1629994808627/work
              rope @ file:///tmp/build/80754af9/rope_1623703006312/work
              Rtree @ file:///C:/ci/rtree_1618421015405/work
              ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
              scikit-image==0.18.3
              scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
              scikit-learn-intelex==2021.20210714.120553
              scipy @ file:///C:/ci/scipy_1630606917240/work
              seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
              Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
              setuptools==58.0.4
              simplegeneric==0.8.1
              singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
              sip==4.19.13
              six @ file:///tmp/build/80754af9/six_1623709665295/work
              sniffio @ file:///C:/ci/sniffio_1614030527509/work
              snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
              sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
              sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
              soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
              Sphinx==4.2.0
              sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
              sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
              sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
              sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
              sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
              sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
              sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
              spyder @ file:///C:/ci/spyder_1636480369575/work
              spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
              SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
              statsmodels==0.12.2
              sympy @ file:///C:/ci/sympy_1635219088507/work
              tables==3.6.1
              TBB==0.2
              tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
              terminado==0.9.4
              testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
              text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
              textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
              threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
              three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
              tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
              tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
              toml @ file:///tmp/build/80754af9/toml_1616166611790/work
              toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
              tornado @ file:///C:/ci/tornado_1606924294691/work
              tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
              traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
              typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
              typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
              ujson @ file:///C:/ci/ujson_1611259568517/work
              unicodecsv==0.14.1
              Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
              urllib3==1.26.7
              watchdog @ file:///C:/ci/watchdog_1624955113064/work
              wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
              webencodings==0.5.1
              Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
              wheel==0.37.0
              whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
              widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
              win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
              win-unicode-console==0.5
              wincertstore==0.2
              wrapt @ file:///C:/ci/wrapt_1607574570428/work
              xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
              XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
              xlwings==0.24.9
              xlwt==1.3.0
              xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
              yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
              zict==2.0.0
              zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
              zope.event==4.5.0
              zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

              Expected behavior

              when you run the file locally and see the results of the other tests the expected output looks like this:

              delete:1
              6
              3 9
              0 5 7 *


              Actual behavior

              When running the file locally, this error occurs when the del_node function runs:

              Traceback (most recent call last):
              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
              t.del_node(i)
              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
              self.root = del_node(self.root, data)
              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
              root = rl_rotation(root)
              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
              assert right_child is not None
              AssertionError

              Metadata

              Metadata

              Assignees

              No one assigned

                Labels

                Type

                No type

                Projects

                No projects

                  Milestone

                  No milestone

                  Relationships

                  None yet

                  Development

                  No branches or pull requests

                  Issue actions

                  , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
                  Skip to content

                  Error in AVL_Tree del_node function #11502

                  Description

                  @Rosepetal2022

                  Repository commit

                  240d1b7

                  Python version (python --version)

                  Python 3.10.7

                  Dependencies version (pip freeze)

                  alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
                  anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
                  anaconda-navigator==2.1.1
                  anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
                  anyio @ file:///C:/ci/anyio_1620153135622/work/dist
                  appdirs==1.4.4
                  argh==0.26.2
                  argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
                  arrow @ file:///C:/ci/arrow_1617738834352/work
                  asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
                  astroid @ file:///C:/ci/astroid_1628063282661/work
                  astropy @ file:///C:/ci/astropy_1629829318700/work
                  async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
                  atomicwrites==1.4.0
                  attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
                  autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
                  Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
                  backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
                  backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
                  backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
                  backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
                  backports.weakref==1.0.post1
                  bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
                  beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
                  binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
                  bitarray @ file:///C:/ci/bitarray_1629133068652/work
                  bkcharts==0.2
                  black==19.10b0
                  bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
                  bokeh @ file:///C:/ci/bokeh_1635306491714/work
                  boto==2.49.0
                  Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
                  brotlipy==0.7.0
                  cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
                  certifi==2021.10.8
                  cffi @ file:///C:/ci/cffi_1625831756778/work
                  chardet @ file:///C:/ci/chardet_1607706937985/work
                  charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
                  click==8.0.3
                  cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
                  clyent==1.2.2
                  colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
                  comtypes==1.1.10
                  conda==4.10.3
                  conda-build==3.21.6
                  conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
                  conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
                  conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
                  conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
                  conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
                  conda-verify==3.4.2
                  contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
                  cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
                  cryptography @ file:///C:/ci/cryptography_1633520531101/work
                  cycler==0.10.0
                  Cython @ file:///C:/ci/cython_1636018292912/work
                  cytoolz==0.11.0
                  daal4py==2021.3.0
                  dask==2021.10.0
                  debugpy @ file:///C:/ci/debugpy_1629222819322/work
                  decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
                  defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
                  diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
                  distributed @ file:///C:/ci/distributed_1635968318313/work
                  docutils @ file:///C:/ci/docutils_1620828264669/work
                  entrypoints==0.3
                  et-xmlfile==1.1.0
                  fastcache @ file:///C:/ci/fastcache_1607571310570/work
                  filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
                  flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
                  Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
                  fonttools==4.25.0
                  fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
                  future @ file:///C:/ci/future_1607568713721/work
                  gevent @ file:///C:/ci/gevent_1628273776273/work
                  glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
                  greenlet @ file:///C:/ci/greenlet_1628888275363/work
                  h5py @ file:///C:/ci/h5py_1622088609188/work
                  HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
                  html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
                  idna @ file:///tmp/build/80754af9/idna_1622654382723/work
                  imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
                  imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
                  imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
                  importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
                  inflection==0.5.1
                  iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
                  intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
                  ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
                  ipython @ file:///C:/ci/ipython_1635944283918/work
                  ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
                  ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
                  isort @ file:///tmp/build/80754af9/isort_1628603791788/work
                  itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
                  jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
                  jedi @ file:///C:/ci/jedi_1611341083684/work
                  Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
                  jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
                  joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
                  json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
                  jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
                  jupyter @ file:///C:/ci/jupyter_1607685287094/work
                  jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
                  jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
                  jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
                  jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
                  jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
                  jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
                  jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
                  jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
                  keyring @ file:///C:/ci/keyring_1629321702436/work
                  kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
                  lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
                  libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
                  llvmlite==0.37.0
                  locket==0.2.1
                  lxml @ file:///C:/ci/lxml_1616443418777/work
                  MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
                  matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
                  matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
                  mccabe==0.6.1
                  menuinst @ file:///C:/ci/menuinst_1631733438520/work
                  mistune @ file:///C:/ci/mistune_1607359457024/work
                  mkl-fft==1.3.1
                  mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
                  mkl-service==2.4.0
                  mock @ file:///tmp/build/80754af9/mock_1607622725907/work
                  more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
                  mpmath==1.2.1
                  msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
                  multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
                  munkres==1.1.4
                  mypy-extensions==0.4.3
                  navigator-updater==0.2.1
                  nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
                  nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
                  nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
                  nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
                  nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
                  networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
                  nltk==3.6.5
                  nose @ file:///tmp/build/80754af9/nose_1606773131901/work
                  notebook @ file:///C:/ci/notebook_1635393701545/work
                  numba @ file:///C:/ci/numba_1635186062888/work
                  numexpr @ file:///C:/ci/numexpr_1618856728739/work
                  numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
                  numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
                  olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
                  openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
                  packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
                  pandas @ file:///C:/ci/pandas_1635506685681/work
                  pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
                  paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
                  parso @ file:///tmp/build/80754af9/parso_1617223946239/work
                  partd @ file:///tmp/build/80754af9/partd_1618000087440/work
                  path @ file:///C:/ci/path_1624287837534/work
                  pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
                  pathspec==0.7.0
                  patsy==0.5.2
                  pep8==1.7.1
                  pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
                  pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
                  Pillow==8.4.0
                  pip==21.2.4
                  pkginfo==1.7.1
                  pluggy @ file:///C:/ci/pluggy_1615976440052/work
                  ply==3.11
                  poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
                  prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
                  prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
                  psutil @ file:///C:/ci/psutil_1612298199233/work
                  ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
                  py @ file:///tmp/build/80754af9/py_1607971587848/work
                  pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
                  pycosat==0.6.3
                  pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
                  pycurl==7.44.1
                  pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
                  pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
                  pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
                  Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
                  PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
                  pylint @ file:///C:/ci/pylint_1627536884966/work
                  pyls-spyder==0.4.0
                  PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
                  pyodbc===4.0.0-unsupported
                  pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
                  pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
                  pyreadline==2.1
                  pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
                  PySocks @ file:///C:/ci/pysocks_1605307512533/work
                  pytest==6.2.4
                  python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
                  python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
                  python-lsp-jsonrpc==1.0.0
                  python-lsp-server==1.2.4
                  python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
                  pytz==2021.3
                  PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
                  pywin32==228
                  pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
                  pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
                  PyYAML==6.0
                  pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
                  QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
                  qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
                  QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
                  qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
                  QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
                  regex @ file:///C:/ci/regex_1628063427816/work
                  requests @ file:///tmp/build/80754af9/requests_1629994808627/work
                  rope @ file:///tmp/build/80754af9/rope_1623703006312/work
                  Rtree @ file:///C:/ci/rtree_1618421015405/work
                  ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
                  scikit-image==0.18.3
                  scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
                  scikit-learn-intelex==2021.20210714.120553
                  scipy @ file:///C:/ci/scipy_1630606917240/work
                  seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
                  Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
                  setuptools==58.0.4
                  simplegeneric==0.8.1
                  singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
                  sip==4.19.13
                  six @ file:///tmp/build/80754af9/six_1623709665295/work
                  sniffio @ file:///C:/ci/sniffio_1614030527509/work
                  snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
                  sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
                  sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
                  soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
                  Sphinx==4.2.0
                  sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
                  sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
                  sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
                  sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
                  sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
                  sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
                  sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
                  spyder @ file:///C:/ci/spyder_1636480369575/work
                  spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
                  SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
                  statsmodels==0.12.2
                  sympy @ file:///C:/ci/sympy_1635219088507/work
                  tables==3.6.1
                  TBB==0.2
                  tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
                  terminado==0.9.4
                  testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
                  text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
                  textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
                  threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
                  three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
                  tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
                  tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
                  toml @ file:///tmp/build/80754af9/toml_1616166611790/work
                  toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
                  tornado @ file:///C:/ci/tornado_1606924294691/work
                  tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
                  traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
                  typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
                  typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
                  ujson @ file:///C:/ci/ujson_1611259568517/work
                  unicodecsv==0.14.1
                  Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
                  urllib3==1.26.7
                  watchdog @ file:///C:/ci/watchdog_1624955113064/work
                  wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
                  webencodings==0.5.1
                  Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
                  wheel==0.37.0
                  whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
                  widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
                  win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
                  win-unicode-console==0.5
                  wincertstore==0.2
                  wrapt @ file:///C:/ci/wrapt_1607574570428/work
                  xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
                  XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
                  xlwings==0.24.9
                  xlwt==1.3.0
                  xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
                  yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
                  zict==2.0.0
                  zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
                  zope.event==4.5.0
                  zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

                  Expected behavior

                  when you run the file locally and see the results of the other tests the expected output looks like this:

                  delete:1
                  6
                  3 9
                  0 5 7 *


                  Actual behavior

                  When running the file locally, this error occurs when the del_node function runs:

                  Traceback (most recent call last):
                  File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
                  t.del_node(i)
                  File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
                  self.root = del_node(self.root, data)
                  File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
                  root = rl_rotation(root)
                  File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
                  assert right_child is not None
                  AssertionError

                  Metadata

                  Metadata

                  Assignees

                  No one assigned

                    Labels

                    Type

                    No type

                    Projects

                    No projects

                      Milestone

                      No milestone

                      Relationships

                      None yet

                      Development

                      No branches or pull requests

                      Issue actions

                      , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
                      Skip to content

                      Error in AVL_Tree del_node function #11502

                      Description

                      @Rosepetal2022

                      Repository commit

                      240d1b7

                      Python version (python --version)

                      Python 3.10.7

                      Dependencies version (pip freeze)

                      alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
                      anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
                      anaconda-navigator==2.1.1
                      anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
                      anyio @ file:///C:/ci/anyio_1620153135622/work/dist
                      appdirs==1.4.4
                      argh==0.26.2
                      argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
                      arrow @ file:///C:/ci/arrow_1617738834352/work
                      asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
                      astroid @ file:///C:/ci/astroid_1628063282661/work
                      astropy @ file:///C:/ci/astropy_1629829318700/work
                      async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
                      atomicwrites==1.4.0
                      attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
                      autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
                      Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
                      backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
                      backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
                      backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
                      backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
                      backports.weakref==1.0.post1
                      bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
                      beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
                      binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
                      bitarray @ file:///C:/ci/bitarray_1629133068652/work
                      bkcharts==0.2
                      black==19.10b0
                      bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
                      bokeh @ file:///C:/ci/bokeh_1635306491714/work
                      boto==2.49.0
                      Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
                      brotlipy==0.7.0
                      cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
                      certifi==2021.10.8
                      cffi @ file:///C:/ci/cffi_1625831756778/work
                      chardet @ file:///C:/ci/chardet_1607706937985/work
                      charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
                      click==8.0.3
                      cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
                      clyent==1.2.2
                      colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
                      comtypes==1.1.10
                      conda==4.10.3
                      conda-build==3.21.6
                      conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
                      conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
                      conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
                      conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
                      conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
                      conda-verify==3.4.2
                      contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
                      cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
                      cryptography @ file:///C:/ci/cryptography_1633520531101/work
                      cycler==0.10.0
                      Cython @ file:///C:/ci/cython_1636018292912/work
                      cytoolz==0.11.0
                      daal4py==2021.3.0
                      dask==2021.10.0
                      debugpy @ file:///C:/ci/debugpy_1629222819322/work
                      decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
                      defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
                      diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
                      distributed @ file:///C:/ci/distributed_1635968318313/work
                      docutils @ file:///C:/ci/docutils_1620828264669/work
                      entrypoints==0.3
                      et-xmlfile==1.1.0
                      fastcache @ file:///C:/ci/fastcache_1607571310570/work
                      filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
                      flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
                      Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
                      fonttools==4.25.0
                      fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
                      future @ file:///C:/ci/future_1607568713721/work
                      gevent @ file:///C:/ci/gevent_1628273776273/work
                      glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
                      greenlet @ file:///C:/ci/greenlet_1628888275363/work
                      h5py @ file:///C:/ci/h5py_1622088609188/work
                      HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
                      html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
                      idna @ file:///tmp/build/80754af9/idna_1622654382723/work
                      imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
                      imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
                      imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
                      importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
                      inflection==0.5.1
                      iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
                      intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
                      ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
                      ipython @ file:///C:/ci/ipython_1635944283918/work
                      ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
                      ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
                      isort @ file:///tmp/build/80754af9/isort_1628603791788/work
                      itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
                      jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
                      jedi @ file:///C:/ci/jedi_1611341083684/work
                      Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
                      jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
                      joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
                      json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
                      jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
                      jupyter @ file:///C:/ci/jupyter_1607685287094/work
                      jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
                      jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
                      jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
                      jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
                      jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
                      jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
                      jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
                      jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
                      keyring @ file:///C:/ci/keyring_1629321702436/work
                      kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
                      lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
                      libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
                      llvmlite==0.37.0
                      locket==0.2.1
                      lxml @ file:///C:/ci/lxml_1616443418777/work
                      MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
                      matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
                      matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
                      mccabe==0.6.1
                      menuinst @ file:///C:/ci/menuinst_1631733438520/work
                      mistune @ file:///C:/ci/mistune_1607359457024/work
                      mkl-fft==1.3.1
                      mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
                      mkl-service==2.4.0
                      mock @ file:///tmp/build/80754af9/mock_1607622725907/work
                      more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
                      mpmath==1.2.1
                      msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
                      multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
                      munkres==1.1.4
                      mypy-extensions==0.4.3
                      navigator-updater==0.2.1
                      nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
                      nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
                      nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
                      nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
                      nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
                      networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
                      nltk==3.6.5
                      nose @ file:///tmp/build/80754af9/nose_1606773131901/work
                      notebook @ file:///C:/ci/notebook_1635393701545/work
                      numba @ file:///C:/ci/numba_1635186062888/work
                      numexpr @ file:///C:/ci/numexpr_1618856728739/work
                      numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
                      numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
                      olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
                      openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
                      packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
                      pandas @ file:///C:/ci/pandas_1635506685681/work
                      pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
                      paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
                      parso @ file:///tmp/build/80754af9/parso_1617223946239/work
                      partd @ file:///tmp/build/80754af9/partd_1618000087440/work
                      path @ file:///C:/ci/path_1624287837534/work
                      pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
                      pathspec==0.7.0
                      patsy==0.5.2
                      pep8==1.7.1
                      pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
                      pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
                      Pillow==8.4.0
                      pip==21.2.4
                      pkginfo==1.7.1
                      pluggy @ file:///C:/ci/pluggy_1615976440052/work
                      ply==3.11
                      poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
                      prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
                      prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
                      psutil @ file:///C:/ci/psutil_1612298199233/work
                      ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
                      py @ file:///tmp/build/80754af9/py_1607971587848/work
                      pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
                      pycosat==0.6.3
                      pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
                      pycurl==7.44.1
                      pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
                      pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
                      pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
                      Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
                      PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
                      pylint @ file:///C:/ci/pylint_1627536884966/work
                      pyls-spyder==0.4.0
                      PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
                      pyodbc===4.0.0-unsupported
                      pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
                      pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
                      pyreadline==2.1
                      pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
                      PySocks @ file:///C:/ci/pysocks_1605307512533/work
                      pytest==6.2.4
                      python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
                      python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
                      python-lsp-jsonrpc==1.0.0
                      python-lsp-server==1.2.4
                      python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
                      pytz==2021.3
                      PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
                      pywin32==228
                      pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
                      pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
                      PyYAML==6.0
                      pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
                      QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
                      qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
                      QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
                      qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
                      QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
                      regex @ file:///C:/ci/regex_1628063427816/work
                      requests @ file:///tmp/build/80754af9/requests_1629994808627/work
                      rope @ file:///tmp/build/80754af9/rope_1623703006312/work
                      Rtree @ file:///C:/ci/rtree_1618421015405/work
                      ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
                      scikit-image==0.18.3
                      scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
                      scikit-learn-intelex==2021.20210714.120553
                      scipy @ file:///C:/ci/scipy_1630606917240/work
                      seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
                      Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
                      setuptools==58.0.4
                      simplegeneric==0.8.1
                      singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
                      sip==4.19.13
                      six @ file:///tmp/build/80754af9/six_1623709665295/work
                      sniffio @ file:///C:/ci/sniffio_1614030527509/work
                      snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
                      sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
                      sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
                      soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
                      Sphinx==4.2.0
                      sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
                      sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
                      sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
                      sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
                      sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
                      sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
                      sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
                      spyder @ file:///C:/ci/spyder_1636480369575/work
                      spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
                      SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
                      statsmodels==0.12.2
                      sympy @ file:///C:/ci/sympy_1635219088507/work
                      tables==3.6.1
                      TBB==0.2
                      tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
                      terminado==0.9.4
                      testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
                      text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
                      textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
                      threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
                      three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
                      tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
                      tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
                      toml @ file:///tmp/build/80754af9/toml_1616166611790/work
                      toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
                      tornado @ file:///C:/ci/tornado_1606924294691/work
                      tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
                      traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
                      typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
                      typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
                      ujson @ file:///C:/ci/ujson_1611259568517/work
                      unicodecsv==0.14.1
                      Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
                      urllib3==1.26.7
                      watchdog @ file:///C:/ci/watchdog_1624955113064/work
                      wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
                      webencodings==0.5.1
                      Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
                      wheel==0.37.0
                      whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
                      widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
                      win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
                      win-unicode-console==0.5
                      wincertstore==0.2
                      wrapt @ file:///C:/ci/wrapt_1607574570428/work
                      xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
                      XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
                      xlwings==0.24.9
                      xlwt==1.3.0
                      xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
                      yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
                      zict==2.0.0
                      zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
                      zope.event==4.5.0
                      zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

                      Expected behavior

                      when you run the file locally and see the results of the other tests the expected output looks like this:

                      delete:1
                      6
                      3 9
                      0 5 7 *


                      Actual behavior

                      When running the file locally, this error occurs when the del_node function runs:

                      Traceback (most recent call last):
                      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
                      t.del_node(i)
                      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
                      self.root = del_node(self.root, data)
                      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
                      root = rl_rotation(root)
                      File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
                      assert right_child is not None
                      AssertionError

                      Metadata

                      Metadata

                      Assignees

                      No one assigned

                        Labels

                        Type

                        No type

                        Projects

                        No projects

                          Milestone

                          No milestone

                          Relationships

                          None yet

                          Development

                          No branches or pull requests

                          Issue actions

                          , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
                          Skip to content

                          Error in AVL_Tree del_node function #11502

                          Description

                          @Rosepetal2022

                          Repository commit

                          240d1b7

                          Python version (python --version)

                          Python 3.10.7

                          Dependencies version (pip freeze)

                          alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
                          anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
                          anaconda-navigator==2.1.1
                          anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
                          anyio @ file:///C:/ci/anyio_1620153135622/work/dist
                          appdirs==1.4.4
                          argh==0.26.2
                          argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
                          arrow @ file:///C:/ci/arrow_1617738834352/work
                          asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
                          astroid @ file:///C:/ci/astroid_1628063282661/work
                          astropy @ file:///C:/ci/astropy_1629829318700/work
                          async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
                          atomicwrites==1.4.0
                          attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
                          autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
                          Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
                          backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
                          backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
                          backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
                          backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
                          backports.weakref==1.0.post1
                          bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
                          beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
                          binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
                          bitarray @ file:///C:/ci/bitarray_1629133068652/work
                          bkcharts==0.2
                          black==19.10b0
                          bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
                          bokeh @ file:///C:/ci/bokeh_1635306491714/work
                          boto==2.49.0
                          Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
                          brotlipy==0.7.0
                          cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
                          certifi==2021.10.8
                          cffi @ file:///C:/ci/cffi_1625831756778/work
                          chardet @ file:///C:/ci/chardet_1607706937985/work
                          charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
                          click==8.0.3
                          cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
                          clyent==1.2.2
                          colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
                          comtypes==1.1.10
                          conda==4.10.3
                          conda-build==3.21.6
                          conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
                          conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
                          conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
                          conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
                          conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
                          conda-verify==3.4.2
                          contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
                          cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
                          cryptography @ file:///C:/ci/cryptography_1633520531101/work
                          cycler==0.10.0
                          Cython @ file:///C:/ci/cython_1636018292912/work
                          cytoolz==0.11.0
                          daal4py==2021.3.0
                          dask==2021.10.0
                          debugpy @ file:///C:/ci/debugpy_1629222819322/work
                          decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
                          defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
                          diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
                          distributed @ file:///C:/ci/distributed_1635968318313/work
                          docutils @ file:///C:/ci/docutils_1620828264669/work
                          entrypoints==0.3
                          et-xmlfile==1.1.0
                          fastcache @ file:///C:/ci/fastcache_1607571310570/work
                          filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
                          flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
                          Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
                          fonttools==4.25.0
                          fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
                          future @ file:///C:/ci/future_1607568713721/work
                          gevent @ file:///C:/ci/gevent_1628273776273/work
                          glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
                          greenlet @ file:///C:/ci/greenlet_1628888275363/work
                          h5py @ file:///C:/ci/h5py_1622088609188/work
                          HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
                          html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
                          idna @ file:///tmp/build/80754af9/idna_1622654382723/work
                          imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
                          imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
                          imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
                          importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
                          inflection==0.5.1
                          iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
                          intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
                          ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
                          ipython @ file:///C:/ci/ipython_1635944283918/work
                          ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
                          ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
                          isort @ file:///tmp/build/80754af9/isort_1628603791788/work
                          itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
                          jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
                          jedi @ file:///C:/ci/jedi_1611341083684/work
                          Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
                          jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
                          joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
                          json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
                          jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
                          jupyter @ file:///C:/ci/jupyter_1607685287094/work
                          jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
                          jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
                          jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
                          jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
                          jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
                          jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
                          jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
                          jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
                          keyring @ file:///C:/ci/keyring_1629321702436/work
                          kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
                          lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
                          libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
                          llvmlite==0.37.0
                          locket==0.2.1
                          lxml @ file:///C:/ci/lxml_1616443418777/work
                          MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
                          matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
                          matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
                          mccabe==0.6.1
                          menuinst @ file:///C:/ci/menuinst_1631733438520/work
                          mistune @ file:///C:/ci/mistune_1607359457024/work
                          mkl-fft==1.3.1
                          mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
                          mkl-service==2.4.0
                          mock @ file:///tmp/build/80754af9/mock_1607622725907/work
                          more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
                          mpmath==1.2.1
                          msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
                          multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
                          munkres==1.1.4
                          mypy-extensions==0.4.3
                          navigator-updater==0.2.1
                          nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
                          nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
                          nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
                          nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
                          nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
                          networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
                          nltk==3.6.5
                          nose @ file:///tmp/build/80754af9/nose_1606773131901/work
                          notebook @ file:///C:/ci/notebook_1635393701545/work
                          numba @ file:///C:/ci/numba_1635186062888/work
                          numexpr @ file:///C:/ci/numexpr_1618856728739/work
                          numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
                          numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
                          olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
                          openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
                          packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
                          pandas @ file:///C:/ci/pandas_1635506685681/work
                          pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
                          paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
                          parso @ file:///tmp/build/80754af9/parso_1617223946239/work
                          partd @ file:///tmp/build/80754af9/partd_1618000087440/work
                          path @ file:///C:/ci/path_1624287837534/work
                          pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
                          pathspec==0.7.0
                          patsy==0.5.2
                          pep8==1.7.1
                          pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
                          pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
                          Pillow==8.4.0
                          pip==21.2.4
                          pkginfo==1.7.1
                          pluggy @ file:///C:/ci/pluggy_1615976440052/work
                          ply==3.11
                          poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
                          prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
                          prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
                          psutil @ file:///C:/ci/psutil_1612298199233/work
                          ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
                          py @ file:///tmp/build/80754af9/py_1607971587848/work
                          pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
                          pycosat==0.6.3
                          pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
                          pycurl==7.44.1
                          pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
                          pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
                          pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
                          Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
                          PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
                          pylint @ file:///C:/ci/pylint_1627536884966/work
                          pyls-spyder==0.4.0
                          PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
                          pyodbc===4.0.0-unsupported
                          pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
                          pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
                          pyreadline==2.1
                          pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
                          PySocks @ file:///C:/ci/pysocks_1605307512533/work
                          pytest==6.2.4
                          python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
                          python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
                          python-lsp-jsonrpc==1.0.0
                          python-lsp-server==1.2.4
                          python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
                          pytz==2021.3
                          PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
                          pywin32==228
                          pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
                          pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
                          PyYAML==6.0
                          pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
                          QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
                          qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
                          QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
                          qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
                          QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
                          regex @ file:///C:/ci/regex_1628063427816/work
                          requests @ file:///tmp/build/80754af9/requests_1629994808627/work
                          rope @ file:///tmp/build/80754af9/rope_1623703006312/work
                          Rtree @ file:///C:/ci/rtree_1618421015405/work
                          ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
                          scikit-image==0.18.3
                          scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
                          scikit-learn-intelex==2021.20210714.120553
                          scipy @ file:///C:/ci/scipy_1630606917240/work
                          seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
                          Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
                          setuptools==58.0.4
                          simplegeneric==0.8.1
                          singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
                          sip==4.19.13
                          six @ file:///tmp/build/80754af9/six_1623709665295/work
                          sniffio @ file:///C:/ci/sniffio_1614030527509/work
                          snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
                          sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
                          sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
                          soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
                          Sphinx==4.2.0
                          sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
                          sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
                          sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
                          sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
                          sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
                          sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
                          sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
                          spyder @ file:///C:/ci/spyder_1636480369575/work
                          spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
                          SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
                          statsmodels==0.12.2
                          sympy @ file:///C:/ci/sympy_1635219088507/work
                          tables==3.6.1
                          TBB==0.2
                          tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
                          terminado==0.9.4
                          testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
                          text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
                          textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
                          threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
                          three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
                          tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
                          tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
                          toml @ file:///tmp/build/80754af9/toml_1616166611790/work
                          toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
                          tornado @ file:///C:/ci/tornado_1606924294691/work
                          tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
                          traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
                          typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
                          typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
                          ujson @ file:///C:/ci/ujson_1611259568517/work
                          unicodecsv==0.14.1
                          Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
                          urllib3==1.26.7
                          watchdog @ file:///C:/ci/watchdog_1624955113064/work
                          wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
                          webencodings==0.5.1
                          Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
                          wheel==0.37.0
                          whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
                          widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
                          win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
                          win-unicode-console==0.5
                          wincertstore==0.2
                          wrapt @ file:///C:/ci/wrapt_1607574570428/work
                          xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
                          XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
                          xlwings==0.24.9
                          xlwt==1.3.0
                          xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
                          yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
                          zict==2.0.0
                          zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
                          zope.event==4.5.0
                          zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

                          Expected behavior

                          when you run the file locally and see the results of the other tests the expected output looks like this:

                          delete:1
                          6
                          3 9
                          0 5 7 *


                          Actual behavior

                          When running the file locally, this error occurs when the del_node function runs:

                          Traceback (most recent call last):
                          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
                          t.del_node(i)
                          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
                          self.root = del_node(self.root, data)
                          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
                          root = rl_rotation(root)
                          File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
                          assert right_child is not None
                          AssertionError

                          Metadata

                          Metadata

                          Assignees

                          No one assigned

                            Labels

                            Type

                            No type

                            Projects

                            No projects

                              Milestone

                              No milestone

                              Relationships

                              None yet

                              Development

                              No branches or pull requests

                              Issue actions

                              , 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
                              Skip to content

                              Error in AVL_Tree del_node function #11502

                              Description

                              @Rosepetal2022

                              Repository commit

                              240d1b7

                              Python version (python --version)

                              Python 3.10.7

                              Dependencies version (pip freeze)

                              alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work
                              anaconda-client @ file:///C:/ci/anaconda-client_1635342725944/work
                              anaconda-navigator==2.1.1
                              anaconda-project @ file:///tmp/build/80754af9/anaconda-project_1626085644852/work
                              anyio @ file:///C:/ci/anyio_1620153135622/work/dist
                              appdirs==1.4.4
                              argh==0.26.2
                              argon2-cffi @ file:///C:/ci/argon2-cffi_1613037869401/work
                              arrow @ file:///C:/ci/arrow_1617738834352/work
                              asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
                              astroid @ file:///C:/ci/astroid_1628063282661/work
                              astropy @ file:///C:/ci/astropy_1629829318700/work
                              async-generator @ file:///home/ktietz/src/ci/async_generator_1611927993394/work
                              atomicwrites==1.4.0
                              attrs @ file:///tmp/build/80754af9/attrs_1620827162558/work
                              autopep8 @ file:///tmp/build/80754af9/autopep8_1620866417880/work
                              Babel @ file:///tmp/build/80754af9/babel_1620871417480/work
                              backcall @ file:///home/ktietz/src/ci/backcall_1611930011877/work
                              backports.functools-lru-cache @ file:///tmp/build/80754af9/backports.functools_lru_cache_1618170165463/work
                              backports.shutil-get-terminal-size @ file:///tmp/build/80754af9/backports.shutil_get_terminal_size_1608222128777/work
                              backports.tempfile @ file:///home/linux1/recipes/ci/backports.tempfile_1610991236607/work
                              backports.weakref==1.0.post1
                              bcrypt @ file:///C:/ci/bcrypt_1607022693089/work
                              beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1631874778482/work
                              binaryornot @ file:///tmp/build/80754af9/binaryornot_1617751525010/work
                              bitarray @ file:///C:/ci/bitarray_1629133068652/work
                              bkcharts==0.2
                              black==19.10b0
                              bleach @ file:///tmp/build/80754af9/bleach_1628110601003/work
                              bokeh @ file:///C:/ci/bokeh_1635306491714/work
                              boto==2.49.0
                              Bottleneck @ file:///C:/ci/bottleneck_1607557040328/work
                              brotlipy==0.7.0
                              cached-property @ file:///tmp/build/80754af9/cached-property_1600785575025/work
                              certifi==2021.10.8
                              cffi @ file:///C:/ci/cffi_1625831756778/work
                              chardet @ file:///C:/ci/chardet_1607706937985/work
                              charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work
                              click==8.0.3
                              cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1632508026186/work
                              clyent==1.2.2
                              colorama @ file:///tmp/build/80754af9/colorama_1607707115595/work
                              comtypes==1.1.10
                              conda==4.10.3
                              conda-build==3.21.6
                              conda-content-trust @ file:///tmp/build/80754af9/conda-content-trust_1617045594566/work
                              conda-pack @ file:///tmp/build/80754af9/conda-pack_1611163042455/work
                              conda-package-handling @ file:///C:/ci/conda-package-handling_1618262410900/work
                              conda-repo-cli @ file:///tmp/build/80754af9/conda-repo-cli_1620168426516/work
                              conda-token @ file:///tmp/build/80754af9/conda-token_1620076980546/work
                              conda-verify==3.4.2
                              contextlib2 @ file:///Users/ktietz/demo/mc3/conda-bld/contextlib2_1630668244042/work
                              cookiecutter @ file:///tmp/build/80754af9/cookiecutter_1617748928239/work
                              cryptography @ file:///C:/ci/cryptography_1633520531101/work
                              cycler==0.10.0
                              Cython @ file:///C:/ci/cython_1636018292912/work
                              cytoolz==0.11.0
                              daal4py==2021.3.0
                              dask==2021.10.0
                              debugpy @ file:///C:/ci/debugpy_1629222819322/work
                              decorator @ file:///tmp/build/80754af9/decorator_1632776554403/work
                              defusedxml @ file:///tmp/build/80754af9/defusedxml_1615228127516/work
                              diff-match-patch @ file:///Users/ktietz/demo/mc3/conda-bld/diff-match-patch_1630511840874/work
                              distributed @ file:///C:/ci/distributed_1635968318313/work
                              docutils @ file:///C:/ci/docutils_1620828264669/work
                              entrypoints==0.3
                              et-xmlfile==1.1.0
                              fastcache @ file:///C:/ci/fastcache_1607571310570/work
                              filelock @ file:///tmp/build/80754af9/filelock_1635402558181/work
                              flake8 @ file:///tmp/build/80754af9/flake8_1620776156532/work
                              Flask @ file:///home/ktietz/src/ci/flask_1611932660458/work
                              fonttools==4.25.0
                              fsspec @ file:///tmp/build/80754af9/fsspec_1636116461911/work
                              future @ file:///C:/ci/future_1607568713721/work
                              gevent @ file:///C:/ci/gevent_1628273776273/work
                              glob2 @ file:///home/linux1/recipes/ci/glob2_1610991677669/work
                              greenlet @ file:///C:/ci/greenlet_1628888275363/work
                              h5py @ file:///C:/ci/h5py_1622088609188/work
                              HeapDict @ file:///Users/ktietz/demo/mc3/conda-bld/heapdict_1630598515714/work
                              html5lib @ file:///Users/ktietz/demo/mc3/conda-bld/html5lib_1629144453894/work
                              idna @ file:///tmp/build/80754af9/idna_1622654382723/work
                              imagecodecs @ file:///C:/ci/imagecodecs_1635511087451/work
                              imageio @ file:///tmp/build/80754af9/imageio_1617700267927/work
                              imagesize @ file:///Users/ktietz/demo/mc3/conda-bld/imagesize_1628863108022/work
                              importlib-metadata @ file:///C:/ci/importlib-metadata_1631916826748/work
                              inflection==0.5.1
                              iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work
                              intervaltree @ file:///Users/ktietz/demo/mc3/conda-bld/intervaltree_1630511889664/work
                              ipykernel @ file:///C:/ci/ipykernel_1633545585502/work/dist/ipykernel-6.4.1-py3-none-any.whl
                              ipython @ file:///C:/ci/ipython_1635944283918/work
                              ipython-genutils @ file:///tmp/build/80754af9/ipython_genutils_1606773439826/work
                              ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1634143127070/work
                              isort @ file:///tmp/build/80754af9/isort_1628603791788/work
                              itsdangerous @ file:///tmp/build/80754af9/itsdangerous_1621432558163/work
                              jdcal @ file:///Users/ktietz/demo/mc3/conda-bld/jdcal_1630584345063/work
                              jedi @ file:///C:/ci/jedi_1611341083684/work
                              Jinja2 @ file:///tmp/build/80754af9/jinja2_1612213139570/work
                              jinja2-time @ file:///tmp/build/80754af9/jinja2-time_1617751524098/work
                              joblib @ file:///tmp/build/80754af9/joblib_1635411271373/work
                              json5 @ file:///tmp/build/80754af9/json5_1624432770122/work
                              jsonschema @ file:///Users/ktietz/demo/mc3/conda-bld/jsonschema_1630511932244/work
                              jupyter @ file:///C:/ci/jupyter_1607685287094/work
                              jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1616770841739/work
                              jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1616615302928/work
                              jupyter-core @ file:///C:/ci/jupyter_core_1633420716440/work
                              jupyter-server @ file:///C:/ci/jupyter_server_1616084298419/work
                              jupyterlab @ file:///tmp/build/80754af9/jupyterlab_1635799997693/work
                              jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
                              jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1633419203660/work
                              jupyterlab-widgets @ file:///tmp/build/80754af9/jupyterlab_widgets_1609884341231/work
                              keyring @ file:///C:/ci/keyring_1629321702436/work
                              kiwisolver @ file:///C:/ci/kiwisolver_1612282555033/work
                              lazy-object-proxy @ file:///C:/ci/lazy-object-proxy_1616529288960/work
                              libarchive-c @ file:///tmp/build/80754af9/python-libarchive-c_1617780486945/work
                              llvmlite==0.37.0
                              locket==0.2.1
                              lxml @ file:///C:/ci/lxml_1616443418777/work
                              MarkupSafe @ file:///C:/ci/markupsafe_1607027406824/work
                              matplotlib @ file:///C:/ci/matplotlib-suite_1634667159685/work
                              matplotlib-inline @ file:///tmp/build/80754af9/matplotlib-inline_1628242447089/work
                              mccabe==0.6.1
                              menuinst @ file:///C:/ci/menuinst_1631733438520/work
                              mistune @ file:///C:/ci/mistune_1607359457024/work
                              mkl-fft==1.3.1
                              mkl-random @ file:///C:/ci/mkl_random_1626186184308/work
                              mkl-service==2.4.0
                              mock @ file:///tmp/build/80754af9/mock_1607622725907/work
                              more-itertools @ file:///tmp/build/80754af9/more-itertools_1635423142362/work
                              mpmath==1.2.1
                              msgpack @ file:///C:/ci/msgpack-python_1612287350784/work
                              multipledispatch @ file:///C:/ci/multipledispatch_1607574329826/work
                              munkres==1.1.4
                              mypy-extensions==0.4.3
                              navigator-updater==0.2.1
                              nbclassic @ file:///tmp/build/80754af9/nbclassic_1616085367084/work
                              nbclient @ file:///tmp/build/80754af9/nbclient_1614364831625/work
                              nbconvert @ file:///C:/ci/nbconvert_1624479160025/work
                              nbformat @ file:///tmp/build/80754af9/nbformat_1617383369282/work
                              nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1613680548246/work
                              networkx @ file:///tmp/build/80754af9/networkx_1633639043937/work
                              nltk==3.6.5
                              nose @ file:///tmp/build/80754af9/nose_1606773131901/work
                              notebook @ file:///C:/ci/notebook_1635393701545/work
                              numba @ file:///C:/ci/numba_1635186062888/work
                              numexpr @ file:///C:/ci/numexpr_1618856728739/work
                              numpy @ file:///C:/ci/numpy_and_numpy_base_1626271900803/work
                              numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
                              olefile @ file:///Users/ktietz/demo/mc3/conda-bld/olefile_1629805411829/work
                              openpyxl @ file:///tmp/build/80754af9/openpyxl_1632777717936/work
                              packaging @ file:///tmp/build/80754af9/packaging_1625611678980/work
                              pandas @ file:///C:/ci/pandas_1635506685681/work
                              pandocfilters @ file:///C:/ci/pandocfilters_1605114832805/work
                              paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
                              parso @ file:///tmp/build/80754af9/parso_1617223946239/work
                              partd @ file:///tmp/build/80754af9/partd_1618000087440/work
                              path @ file:///C:/ci/path_1624287837534/work
                              pathlib2 @ file:///C:/ci/pathlib2_1625585796814/work
                              pathspec==0.7.0
                              patsy==0.5.2
                              pep8==1.7.1
                              pexpect @ file:///tmp/build/80754af9/pexpect_1605563209008/work
                              pickleshare @ file:///tmp/build/80754af9/pickleshare_1606932040724/work
                              Pillow==8.4.0
                              pip==21.2.4
                              pkginfo==1.7.1
                              pluggy @ file:///C:/ci/pluggy_1615976440052/work
                              ply==3.11
                              poyo @ file:///tmp/build/80754af9/poyo_1617751526755/work
                              prometheus-client @ file:///tmp/build/80754af9/prometheus_client_1623189609245/work
                              prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1633440160888/work
                              psutil @ file:///C:/ci/psutil_1612298199233/work
                              ptyprocess @ file:///tmp/build/80754af9/ptyprocess_1609355006118/work/dist/ptyprocess-0.7.0-py2.py3-none-any.whl
                              py @ file:///tmp/build/80754af9/py_1607971587848/work
                              pycodestyle @ file:///tmp/build/80754af9/pycodestyle_1615748559966/work
                              pycosat==0.6.3
                              pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
                              pycurl==7.44.1
                              pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1621600989141/work
                              pyerfa @ file:///C:/ci/pyerfa_1621560974055/work
                              pyflakes @ file:///tmp/build/80754af9/pyflakes_1617200973297/work
                              Pygments @ file:///tmp/build/80754af9/pygments_1629234116488/work
                              PyJWT @ file:///C:/ci/pyjwt_1619682721924/work
                              pylint @ file:///C:/ci/pylint_1627536884966/work
                              pyls-spyder==0.4.0
                              PyNaCl @ file:///C:/ci/pynacl_1607612759007/work
                              pyodbc===4.0.0-unsupported
                              pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1635333100036/work
                              pyparsing @ file:///tmp/build/80754af9/pyparsing_1635766073266/work
                              pyreadline==2.1
                              pyrsistent @ file:///C:/ci/pyrsistent_1636093225342/work
                              PySocks @ file:///C:/ci/pysocks_1605307512533/work
                              pytest==6.2.4
                              python-dateutil @ file:///tmp/build/80754af9/python-dateutil_1626374649649/work
                              python-lsp-black @ file:///tmp/build/80754af9/python-lsp-black_1634232156041/work
                              python-lsp-jsonrpc==1.0.0
                              python-lsp-server==1.2.4
                              python-slugify @ file:///tmp/build/80754af9/python-slugify_1620405669636/work
                              pytz==2021.3
                              PyWavelets @ file:///C:/ci/pywavelets_1607645631519/work
                              pywin32==228
                              pywin32-ctypes @ file:///C:/ci/pywin32-ctypes_1607553594546/work
                              pywinpty @ file:///C:/ci/pywinpty_1607419945780/work
                              PyYAML==6.0
                              pyzmq @ file:///C:/ci/pyzmq_1628276105793/work
                              QDarkStyle @ file:///tmp/build/80754af9/qdarkstyle_1617386714626/work
                              qstylizer @ file:///tmp/build/80754af9/qstylizer_1617713584600/work/dist/qstylizer-0.1.10-py2.py3-none-any.whl
                              QtAwesome @ file:///tmp/build/80754af9/qtawesome_1615991616277/work
                              qtconsole @ file:///tmp/build/80754af9/qtconsole_1632739723211/work
                              QtPy @ file:///tmp/build/80754af9/qtpy_1629397026935/work
                              regex @ file:///C:/ci/regex_1628063427816/work
                              requests @ file:///tmp/build/80754af9/requests_1629994808627/work
                              rope @ file:///tmp/build/80754af9/rope_1623703006312/work
                              Rtree @ file:///C:/ci/rtree_1618421015405/work
                              ruamel-yaml-conda @ file:///C:/ci/ruamel_yaml_1616016898638/work
                              scikit-image==0.18.3
                              scikit-learn @ file:///C:/ci/scikit-learn_1622739499047/work
                              scikit-learn-intelex==2021.20210714.120553
                              scipy @ file:///C:/ci/scipy_1630606917240/work
                              seaborn @ file:///tmp/build/80754af9/seaborn_1629307859561/work
                              Send2Trash @ file:///tmp/build/80754af9/send2trash_1632406701022/work
                              setuptools==58.0.4
                              simplegeneric==0.8.1
                              singledispatch @ file:///tmp/build/80754af9/singledispatch_1629321204894/work
                              sip==4.19.13
                              six @ file:///tmp/build/80754af9/six_1623709665295/work
                              sniffio @ file:///C:/ci/sniffio_1614030527509/work
                              snowballstemmer @ file:///tmp/build/80754af9/snowballstemmer_1611258885636/work
                              sortedcollections @ file:///tmp/build/80754af9/sortedcollections_1611172717284/work
                              sortedcontainers @ file:///tmp/build/80754af9/sortedcontainers_1623949099177/work
                              soupsieve @ file:///tmp/build/80754af9/soupsieve_1616183228191/work
                              Sphinx==4.2.0
                              sphinxcontrib-applehelp @ file:///home/ktietz/src/ci/sphinxcontrib-applehelp_1611920841464/work
                              sphinxcontrib-devhelp @ file:///home/ktietz/src/ci/sphinxcontrib-devhelp_1611920923094/work
                              sphinxcontrib-htmlhelp @ file:///tmp/build/80754af9/sphinxcontrib-htmlhelp_1623945626792/work
                              sphinxcontrib-jsmath @ file:///home/ktietz/src/ci/sphinxcontrib-jsmath_1611920942228/work
                              sphinxcontrib-qthelp @ file:///home/ktietz/src/ci/sphinxcontrib-qthelp_1611921055322/work
                              sphinxcontrib-serializinghtml @ file:///tmp/build/80754af9/sphinxcontrib-serializinghtml_1624451540180/work
                              sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
                              spyder @ file:///C:/ci/spyder_1636480369575/work
                              spyder-kernels @ file:///C:/ci/spyder-kernels_1634237096710/work
                              SQLAlchemy @ file:///C:/ci/sqlalchemy_1626948551162/work
                              statsmodels==0.12.2
                              sympy @ file:///C:/ci/sympy_1635219088507/work
                              tables==3.6.1
                              TBB==0.2
                              tblib @ file:///Users/ktietz/demo/mc3/conda-bld/tblib_1629402031467/work
                              terminado==0.9.4
                              testpath @ file:///tmp/build/80754af9/testpath_1624638946665/work
                              text-unidecode @ file:///Users/ktietz/demo/mc3/conda-bld/text-unidecode_1629401354553/work
                              textdistance @ file:///tmp/build/80754af9/textdistance_1612461398012/work
                              threadpoolctl @ file:///Users/ktietz/demo/mc3/conda-bld/threadpoolctl_1629802263681/work
                              three-merge @ file:///tmp/build/80754af9/three-merge_1607553261110/work
                              tifffile @ file:///tmp/build/80754af9/tifffile_1627275862826/work
                              tinycss @ file:///tmp/build/80754af9/tinycss_1617713798712/work
                              toml @ file:///tmp/build/80754af9/toml_1616166611790/work
                              toolz @ file:///home/linux1/recipes/ci/toolz_1610987900194/work
                              tornado @ file:///C:/ci/tornado_1606924294691/work
                              tqdm @ file:///tmp/build/80754af9/tqdm_1635330843403/work
                              traitlets @ file:///tmp/build/80754af9/traitlets_1632522747050/work
                              typed-ast @ file:///C:/ci/typed-ast_1624953797214/work
                              typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1631814937681/work
                              ujson @ file:///C:/ci/ujson_1611259568517/work
                              unicodecsv==0.14.1
                              Unidecode @ file:///tmp/build/80754af9/unidecode_1614712377438/work
                              urllib3==1.26.7
                              watchdog @ file:///C:/ci/watchdog_1624955113064/work
                              wcwidth @ file:///Users/ktietz/demo/mc3/conda-bld/wcwidth_1629357192024/work
                              webencodings==0.5.1
                              Werkzeug @ file:///tmp/build/80754af9/werkzeug_1635505089296/work
                              wheel==0.37.0
                              whichcraft @ file:///tmp/build/80754af9/whichcraft_1617751293875/work
                              widgetsnbextension @ file:///C:/ci/widgetsnbextension_1607531582688/work
                              win-inet-pton @ file:///C:/ci/win_inet_pton_1605306162074/work
                              win-unicode-console==0.5
                              wincertstore==0.2
                              wrapt @ file:///C:/ci/wrapt_1607574570428/work
                              xlrd @ file:///tmp/build/80754af9/xlrd_1608072521494/work
                              XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1628603415431/work
                              xlwings==0.24.9
                              xlwt==1.3.0
                              xmltodict @ file:///Users/ktietz/demo/mc3/conda-bld/xmltodict_1629301980723/work
                              yapf @ file:///tmp/build/80754af9/yapf_1615749224965/work
                              zict==2.0.0
                              zipp @ file:///tmp/build/80754af9/zipp_1633618647012/work
                              zope.event==4.5.0
                              zope.interface @ file:///C:/ci/zope.interface_1625036252485/work

                              Expected behavior

                              when you run the file locally and see the results of the other tests the expected output looks like this:

                              delete:1
                              6
                              3 9
                              0 5 7 *


                              Actual behavior

                              When running the file locally, this error occurs when the del_node function runs:

                              Traceback (most recent call last):
                              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 336, in
                              t.del_node(i)
                              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 282, in del_node
                              self.root = del_node(self.root, data)
                              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 221, in del_node
                              root = rl_rotation(root)
                              File "C:\Users\marco\cs464\testing\OriginalFIle.py", line 137, in rl_rotation
                              assert right_child is not None
                              AssertionError

                              Metadata

                              Metadata

                              Assignees

                              No one assigned

                                Labels

                                Type

                                No type

                                Projects

                                No projects

                                  Milestone

                                  No milestone

                                  Relationships

                                  None yet

                                  Development

                                  No branches or pull requests

                                  Issue actions