

def test_empty_raises_Empty(self):
    conn = create_connection('database')
    q = conn.Queue('testing')
    self.assertRaises(Empty, q.get)

dataset/ETHPy150Open ask/ghettoq/ghettoq/tests/test_database.py TestDatabaseBackend.test_empty_raises_Empty/original