Damian Ballantyne, aged 39, of Windsor Court, Harworth, denied two counts of possessing a blade in a public place when he appeared at Mansfield Magistrates Court, on Wednesday.
The offences are alleged to have happened on Chichester Walk, Carlton-in-Lindrick, on August 30, last year.
Magistrates heard each offence has a starting point of 18 months in custody.
Ballantyne was bailed to appear at Nottingham Crown Court, on April 6.