Closed rspeer closed 5 years ago
When you run pytest on wordfreq, it accidentally runs the top_n.py script and outputs a bunch of stuff. I've fixed this in two ways:
top_n.py
scripts
if __name__ == '__main__':
When you run pytest on wordfreq, it accidentally runs the
top_n.py
script and outputs a bunch of stuff. I've fixed this in two ways:scripts
directory using a pytest optiontop_n.py
withif __name__ == '__main__':