from abjad import *


def test_measure_meter_update_01( ):
   '''RigidMeasures allow meter update.'''

   t = RigidMeasure((4, 8), construct.scale(4))

   r'''
   {
           \time 4/8
           c'8
           d'8
           e'8
           f'8
   }
   '''

   t.pop( )
   t.meter.forced.numerator = 3

   r'''
   {
           \time 3/8
           c'8
           d'8
           e'8
   }
   '''

   assert t.format == "{\n\t\\time 3/8\n\tc'8\n\td'8\n\te'8\n}"
