It's hard to say, really, because I do not know anything about your financial situation. If the testator had already died and you stand to benefit under the will, then I
think it is likely that it would, at least, be taken into account. One possibility is that you might be allowed to keep the inheritance but your wife gets a higher proportion of the other assets. There are some jurisdictions, mainly in the USA, where inherited property is not available for distribution, but that is not the case in England and Wales. In Scotland I believe the position is slightly different.