Quantcast
Viewing all articles
Browse latest Browse all 5189

Simultating concurrent writes to sqlite3 with multiprocessing and pytest

Image may be NSFW.
Clik here to view.

def test_adding_10000_rows_sequentially_then_100_rows_in_parallel(): create_table() assert ... If you would like to run this locally, clone down the repo, install pytest in a virtualenv and run pytest ...

Viewing all articles
Browse latest Browse all 5189

Trending Articles