expected itUsually used with a reflexive pronoun, as in « je m’y attendais » (“I expected it” or “I saw it coming”). The « y » refers to a situation or outcome. « Je m’y attendais pas » is an informal spoken form of « Je ne m’y attendais pas ».
FR: Avec tous ces problèmes, je m’y attendais un peu.
EN: With all these problems, I expected it a little.