Skip to content

Latest commit

 

History

History

ep094

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Today I talk about how to test a function which is decorated with lru_cache with pytest!

Interactive examples

Python

import shutil
shutil.which('ruby')
shutil.which('alksdjflkajsdf')

Bash

virtualenv venv
. venv/bin/activate
pip install pytest

pytest t.py
pytest t.py -v
pytest t2.py -v