call the function os.path.basename with an argument fixture_file, use the result as an argument for the call to the method,
_ , ser_fmt , cmp_fmt = self . parse_name ( os . path . basename ( fixture_file ) )