Notts County slipped to a 3-1 defeat in their final pre-season friendly of the summer.
Dan Maguire and Macauley Langstaff left the Magpies with it all to do after firing the Minstermen into a two-goal lead.
With nine minutes to play, Pierce Bird halved the deficit when he bundled the ball home at the back post.
But any hopes of a Notts revival were quashed almost immediately as Alex Kempster nodded the ball home from a corner to wrap the game up.
STARTING XI: Ross Fitzsimons, Christian Oxlade-Chamberlain, Pierce Bird, Damien McCrory (T), Dion Kelly-Evans (T), Kyel Reid (T), Michael Doyle, Mitch Rose, Andy Kellett, Enzio Boldewijn, Nathan Tyson (T).