def test_empty_queue():
    '''test that TaggedQueue returns Empty correctly'''
    q = TaggedQueue()
    try:
        q.get_nowait()
        assert False
    except Empty:
        pass
    
    try:
        q.get_nowait(tag='non_existing')
        assert False
    except Empty:
        pass
test that TaggedQueue returns Empty correctly
recipes/Python/576632_Queue_with_tagged_items/recipe-576632.py