gdb/testsuite/ChangeLog:
2016-01-06  Pedro Alves  <palves@redhat.com>
	* gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
+2016-01-06  Pedro Alves  <palves@redhat.com>
+
+       * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
+
 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
 
        * gdb.btrace/dlopen.exp: New.
 
 
 gdb_py_test_silent_cmd "python t0 = gdb.selected_thread ()" "test gdb.selected_thread" 1
 gdb_test "python print (t0)" "\\<gdb.InferiorThread object at 0x\[\[:xdigit:\]\]+>" "verify InferiorThread object"
-gdb_test "python print ('result = %s' % t0.num)" " = \[0-9\]+" "test Inferior.num"
+gdb_test "python print ('result = %s' % t0.num)" " = 1" "test InferiorThread.num"
 gdb_test "python print ('result = %s' % str (t0.ptid))" " = \\(\[0-9\]+, \[0-9\]+, \[0-9\]+\\)" "test InferiorThread.ptid"
 
 gdb_py_test_silent_cmd "python name = gdb.selected_thread().name" \