def test_pop(self): s = Stack() s.push(Slice(1, 2, 3)) assert s.pop().__str__() == '1,2,3 R0' assert s.__len__() == 0