It doesn't, sorry.

```
In [3]: infinite_discontinuties(exp(1/(x+1))+exp(1/x), x)
Out[3]: [-1]
```