This file is indexed.

/usr/share/doc/python-mock-doc/html/changelog.html is in python-mock-doc 2.0.0-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>CHANGES &#8212; Mock 2.0.0 documentation</title>
    
    <link rel="stylesheet" href="_static/nature.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2.0.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="top" title="Mock 2.0.0 documentation" href="index.html" />
    <link rel="prev" title="Mock - Mocking and Testing Library" href="index.html" /> 
  </head>
  <body role="document">
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="index.html" title="Mock - Mocking and Testing Library"
             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">Mock 2.0.0 documentation</a> &#187;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="changes">
<h1>CHANGES<a class="headerlink" href="#changes" title="Permalink to this headline"></a></h1>
<div class="section" id="id1">
<h2>2.0.0<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Fix #338: depend on a fixed version of funcsigs</li>
<li>More 3.2 support dropping cleanup</li>
<li>Update sync point</li>
<li>Add Mock.assert_called()</li>
<li>Issue25347 - Format the error message output of mock&#8217;s assert_has_calls method</li>
<li>Issue #22138: Fix mock.patch behavior when patching descriptors. Restore original values after patching</li>
<li>Issue #24857: Comparing call_args to a long sequence now correctly returns a boolean result instead of raising an exception</li>
<li>Issue #23004: mock_open() now reads binary data correctly when the type of read_data is bytes</li>
<li>Add version info in the docs</li>
<li>Update six to a version with raises_from</li>
<li>Fix #328 - handle unicode __repr__ on Python 2.x</li>
<li>Drop support for Python 3.2</li>
<li>Fix typo in docs/index.txt</li>
<li>Fix README.rst checking</li>
<li>Be clearer about Python version compat</li>
<li>Issue #295: use a setup_requires dependency</li>
<li>Improve grouping of imports in tests</li>
<li>Use six to detect python2/3 in main module</li>
<li>Use six to detect python2/3 in test modules</li>
</ul>
</div>
<div class="section" id="id2">
<h2>1.3.0<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Update sync point</li>
<li>Issue #21750: Further fixup to be styled like other mock APIs</li>
<li>Typo fix in mock.patch</li>
</ul>
</div>
<div class="section" id="id3">
<h2>1.2.0<a class="headerlink" href="#id3" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Revert &#8220;Issue #21750: mock_open.read_data can now be read from each instance, as it&#8221;</li>
</ul>
</div>
<div class="section" id="id4">
<h2>1.1.4<a class="headerlink" href="#id4" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Add 2.6 back to classifiers</li>
<li>Record sync point</li>
<li>Issue #21750: mock_open.read_data can now be read from each instance, as it could in Python 3.3</li>
<li>Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely</li>
<li>Folk should test 2.6 locally too</li>
<li>Closes #279: setuptools.version is too new</li>
<li>Support python 2.6</li>
</ul>
</div>
<div class="section" id="id5">
<h2>1.1.3<a class="headerlink" href="#id5" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Update sync point and sync docs</li>
<li>Issue #23661: unittest.mock side_effects can now be exceptions again</li>
<li>Abort installation if the installer is using setuptools&lt;17.1</li>
</ul>
</div>
<div class="section" id="id6">
<h2>1.1.2<a class="headerlink" href="#id6" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Closes #269: setup_requires pbr 1.3</li>
</ul>
</div>
<div class="section" id="id7">
<h2>1.1.1<a class="headerlink" href="#id7" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Closes #257: version the dependency on six</li>
<li>Rename README.txt to README.rst</li>
</ul>
</div>
<div class="section" id="id8">
<h2>1.1.0<a class="headerlink" href="#id8" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Make reproducing travis behaviour somewhat easier</li>
<li>Cleanup version number handling</li>
<li>Overhaul docs</li>
<li>Update docs</li>
<li>Remove stale MANIFEST.in, ignore pbr outputs</li>
<li>Convert to a package, use pbr, update metadata</li>
<li>Bump versions</li>
<li>Officially drop 2.6 support</li>
<li>Issue #23310: Fix MagicMock&#8217;s initializer to work with __methods__. Behavior equivalent to m.configure_mock(). Patch by Kasia Jachim</li>
<li>Issue #23568: Add rdivmod support to MagicMock() objects</li>
<li>Issue #23581: Add matmul support to MagicMock</li>
<li>Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ implementation in issue #21408 they are redundant</li>
<li>Issue #22823: Use set literals instead of creating a set from a list. Fixed an output of sets in examples</li>
<li>Closes #21270 : We now override tuple methods in mock.call objects</li>
<li>Suppress a couple more DeprecationWarnings in the test suite</li>
<li>Closes #21256: Printout of keyword args in deterministic order in mock calls</li>
<li>Removes unused varargs and varkwargs from assert_not_called()</li>
<li>Closes Issue 21262: New method assert_not_called for Mock</li>
<li>Closes Issue 21238: New keyword argument <cite>unsafe</cite> to Mock</li>
<li>Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times</li>
<li>Closes Issue 21222</li>
<li>Closes issue 17660. You no longer need to explicitly pass create=True when patching builtin names</li>
<li>Issue 17826. Setting an iterable side_effect on a mock created by create_autospec now works</li>
<li>Issue 20968. unittest.mock.MagicMock now supports division</li>
<li>Issue #20189: Four additional builtin types (PyTypeObject, PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes</li>
<li>Issue #19594: Use specific asserts in unittest tests</li>
<li>Remove shadowed test</li>
<li>Adjust comment</li>
<li>Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation</li>
<li>Issue #19013: add unittest.main() epilogs to unittest.mock&#8217;s own test modules</li>
<li>Process DEFAULT values in mock side_effect that returns iterator</li>
<li>Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open</li>
<li>Issue #17047: remove doubled words added in 3.3 as reported by Serhiy Storchaka and Matthew Barnett</li>
<li>Issue #17015: When it has a spec, a Mock object now inspects its signature when matching calls, so that arguments can be matched positionally or by name</li>
<li>Closes issue 15323. Improve failure message of Mock.assert_called_once_with</li>
<li>Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue</li>
<li>Remove incorrect comment</li>
<li>Closes issue 14634. unittest.mock.create_autospec now supports keyword only arguments</li>
<li>unittest.mock: removed another bit of Python 2 only code</li>
<li>Adding unittest.mock documentation</li>
<li>unittest.mock: remove another piece of Python 2 specific code</li>
<li>Remove more Python 2 code from unittest.mock (obsolete function attributes)</li>
<li>Support subclassing unittest.mock._patch and fix various obscure bugs around patcher spec arguments</li>
<li>unittest.mock.MagicMock objects are now unorderable by default</li>
<li>Removed XXX from unittest.mock docstring and switch to a nicer try...except...finally</li>
<li>Remove more Python 2 compatibility cruft from unittest.mock</li>
<li>PEP 417: Adding unittest.mock</li>
<li>Ignore patch rejects too</li>
<li>Add NEWS</li>
<li>Add PyPy to travis</li>
<li>Issue #20189: Four additional builtin types</li>
<li>Just hard-depend on unittest2</li>
<li>Fix typo in test name</li>
<li>Some basic release process notes</li>
<li>Ignore more editor files</li>
<li>Add testrepository configuration</li>
<li>We never need sudo. Containers FTW</li>
<li>Fixup ignores</li>
<li>Iterating on .travis.yml</li>
<li>Setup Travis-CI</li>
</ul>
</div>
<div class="section" id="id9">
<h2>1.0.1<a class="headerlink" href="#id9" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Attribution update</li>
<li>License update</li>
<li>Doc update</li>
<li>Typo fix</li>
<li>Remove XXXX from comment</li>
<li>Restore Python 2.4 warning in the changelog</li>
<li>Proper compatibility with functools.wraps</li>
<li>Fix for wraps - __wrapped__ was added in 3.2 not 3.3</li>
<li>Remove mention of Python 2.4 from PyPI page</li>
<li>Typo fixes</li>
<li>Add __wrapped__ to functions decorated with patch variants</li>
<li>Final doc updates for 1.0 release</li>
<li>Doc updates for 1.0</li>
<li>Updates for the 1.0 release</li>
<li>Minor doc tweak</li>
<li>Date update</li>
<li>README update</li>
<li>Updated version number</li>
<li>Doc update</li>
<li>Adding patch.stopall method</li>
<li>reset_mock now resets magic method mocks</li>
<li>MagicMock.reset_mock on an autospec created mock no longer crashes</li>
<li>CHANGELOG update</li>
<li>Minor doc changes for new alpha release</li>
<li>Add example of exceptions on attribute access to docs</li>
<li>Support keyword only arguments in Python 3</li>
<li>Exceptions in iterable side_effect will be raised</li>
<li>Committed failing test for pickling</li>
<li>Changelog update</li>
<li>Docstring update</li>
<li>Doc fixes</li>
<li>Move test and update code comment</li>
<li>create_autospec now works with attributes that can&#8217;t be fetched</li>
<li>Minor update for mock_open docs</li>
<li>PropertyMock attributes and return values are standard MagicMocks</li>
<li>Doc typo fix</li>
<li>Update patch example in docs</li>
<li>Updated example to patch documentation</li>
<li>Add example to patch documentation</li>
<li>Doc / docstring improvement for patch</li>
<li>Bump version number</li>
<li>Changes for 1.0.0a1 release</li>
<li>A mock created by patch with a spec as the list argument will be callable if __call__ is in the spec</li>
<li>Minor cleanups</li>
<li>Some test fixes to always clean up patches</li>
<li>Update CHANGELOG</li>
<li>Fix various bugs around spec arguments to patchers</li>
<li>CHANGELOG update</li>
<li>Make using create=True with spec=True in patchers an error</li>
<li>Propagate exception info in _patch.__exit__</li>
<li>Set file_spec on first use</li>
<li>Remove obsolete comments</li>
<li>Minor doc and docstring updates</li>
<li>More documentation updates</li>
<li>Whitespace in doc changes</li>
<li>More documentation updates</li>
<li>Documentation updates</li>
<li>Change comparison methods on MagicMock to return NotImplemented</li>
<li>Further removal of mocksignature references</li>
<li>typo</li>
<li>Propogate exceptions in _patch.__exit__()</li>
<li>Adding PropertyMock</li>
<li>Make __class__ assignable</li>
<li>Removing mocksignature documentation</li>
<li>Adding mock_open helper</li>
<li>mocksignature and tests removed</li>
<li>Restore expectedFailure around test</li>
<li>Merge</li>
<li>Removed failing test for spec inheritance - should not be on by default</li>
<li>Doc updates</li>
<li>Version number change in comment</li>
<li>Failing test for create_autospec and unbound methods</li>
<li>Failing test and changelog entry for spec inheritance</li>
<li>Version update for 0.9 branch</li>
<li>Version update for maintenance branch</li>
<li>Merge</li>
<li>Minor doc wording change</li>
<li>merge</li>
<li>Update release date in docs</li>
<li>merge</li>
<li>Update release date in docs</li>
<li>Added tag 0.8.0 for changeset e074b39c3826</li>
</ul>
</div>
<div class="section" id="id10">
<h2>0.8.0<a class="headerlink" href="#id10" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>Branch for 0.8 series development</li>
<li>Complete changes to getting started doc</li>
<li>Document change to MagicMock.__iter__</li>
<li>Improvement to handing of MagicMock.__iter__ return value</li>
<li>Further update to getting started</li>
<li>Further update to getting started</li>
<li>Minor doc update plus whitespace removal</li>
<li>doctest fix</li>
<li>Further update to getting started</li>
<li>Getting started updates</li>
<li>Minor doc updates</li>
<li>Index doc updates</li>
<li>Markup correction</li>
<li>Markup correction</li>
<li>Markup correction</li>
<li>Markup correction</li>
<li>Extended examples for mocksignature</li>
<li>Extended examples for side_effect and calling mocks</li>
<li>Oops 2</li>
<li>Oops</li>
<li>Minor doc update</li>
<li>Add attaching mock doc and examples</li>
<li>Docs and example for patch.TEST_PREFIX</li>
<li>Bump version number and minor doc updates</li>
<li>Minor doc update</li>
<li>Adding examples for call objects as tuples</li>
<li>Minor doc update</li>
<li>Minor doc update</li>
<li>Minor doc update</li>
<li>Minor doc update</li>
<li>Reformat Mock attribute docs</li>
<li>Add links to 0.8 changelog</li>
<li>Minor doc updates</li>
<li>Minor doc updates</li>
<li>Example for patch.dict with dictionary like object</li>
<li>Doc and docstring updates for patch</li>
<li>Switch more references to ~Mock</li>
<li>Switch to using ~Mock instead of Mock in documentation references</li>
<li>Add documentation for Mock.__dir__</li>
<li>Re-ordering of changelog</li>
<li>Minor optimisation</li>
<li>Fix ANY comparisons with call objects</li>
<li>Doc updates to helpers documentation</li>
<li>Doc update</li>
<li>Moc docs update</li>
<li>Doc and docstring update</li>
<li>Doc update</li>
<li>Minor doc update</li>
<li>Doc updates Improved repr for sentinel objects</li>
<li>Doc updates</li>
<li>Example update</li>
<li>Example update</li>
<li>Doc updates</li>
<li>Doctest global setup change</li>
<li>README update</li>
<li>Setting date of 0.8rc2 release</li>
<li>Extended test for ANY</li>
<li>Extended test for ANY</li>
<li>Fix ANY equality with some types in assert_called_with calls</li>
<li>Adding a new link to the index</li>
<li>Adding a note about resetting side_effect on a mock</li>
<li>Docs update</li>
<li>Docs update</li>
<li>Change Mock theme</li>
<li>Renamed parameter</li>
<li>Doc update</li>
<li>Doc update</li>
<li>Doc update</li>
<li>Doc update</li>
<li>Update tox.ini to use new sphinx environment for every build</li>
<li>Removing one expectedFailure and adding one</li>
<li>Note and expectedFailure test for autospec and unbound methods</li>
<li>Minor doc update</li>
<li>Minor doc update</li>
<li>Minor doc update</li>
<li>Merge</li>
<li>Update copyright years</li>
<li>Minor doc update</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Docs update</li>
<li>Doc updates</li>
<li>Docs update</li>
<li>Doc updates, including global doctest setup</li>
<li>Docs update</li>
<li>Docs update</li>
<li>Remvove unused configure parameter from create_autospec More doc updates</li>
<li>Docs update</li>
<li>Doc updates</li>
<li>return_value (etc) arguments to patch work with autospec (again)</li>
<li>Doc update</li>
<li>Remove &#8216;configure&#8217; keyword argument from create_autospec and accept arbitrary keyword arguments</li>
<li>Doc updates</li>
<li>Minor changelog update</li>
<li>Doc and setup.py update</li>
<li>Setting date of 0.8.0 rc1 release</li>
<li>Additional example of mocks and mutable arguments</li>
<li>Adding Python implementation trove classifiers</li>
<li>Minor performance improvements</li>
<li>Minor tweak</li>
<li>CHANGELOG update</li>
<li>Removing a lot of calls to __setattr__ in Mock construction</li>
<li>Index page docs update</li>
<li>CHANGELOG update</li>
<li>Added a docstring for configure mock</li>
<li>Remove MagicProxy cache optimisation</li>
<li>Micro optimisation</li>
<li>Use weakrefs to avoid circular references</li>
<li>Further optimisation for MagicMock instantiation</li>
<li>Move a variable out of a loop</li>
<li>Remove unused code for setting MagicProxy on instances</li>
<li>Remove micro optimisation</li>
<li>Further performance improvements instantiating MagicMock</li>
<li>Performance improvement instantiating MagicMock, Magic methods of mocks are no longer hard coded to MagicMock</li>
<li>Extending test for create_autospec and non-callable instances</li>
<li>create_autospec uses __call__ method for the signature of mocks that are the return value of classes</li>
<li>Documentation update and failing test for create_autospec</li>
<li>README update</li>
<li>Minor test change</li>
<li>Extend test for patch &#8216;lazy importing&#8217;</li>
<li>Date of beta 4 release</li>
<li>Implementation of attach_mock</li>
<li>Setting a mock as a return value of itself no longer modifies repr of the mock</li>
<li>Fix setting a mock as its own return value, expose new issue of setting a return value of a child mock to the top level mock</li>
<li>Rename Sentinel and SentinelObject classes to make it clear they are private</li>
<li>Attribute deletion specified and tested</li>
<li>Calls to mocks attached as magic methods are recorded in mock calls</li>
<li>Test name refactor</li>
<li>patch imports lazily</li>
<li>Wing project file change</li>
<li>Link correction</li>
<li>CHANGELOG update</li>
<li>Added docstrings</li>
<li>changelog update</li>
<li>Mocks set as attributes and return values are attached correctly. Calls are recorded in method_calls and mock_calls of the parent</li>
<li>Implementation of mock_add_spec</li>
<li>Initial implementation of mock_add_spec</li>
<li>Test improvement</li>
<li>Extend some mock_calls tests for named mocks</li>
<li>Fix all doctests</li>
<li>Doctest fixes for repr changes</li>
<li>Doctest fixes for repr changes</li>
<li>Fixes for mock_calls on intermediate mocks in a call chain</li>
<li>Fix test for mock repr more</li>
<li>Fix test for mock repr</li>
<li>Mock uses new name for repr</li>
<li>Changelog update</li>
<li>Fix tests for call reprs</li>
<li>Fixing call repr</li>
<li>repr for call objects</li>
<li>Test improvements from pyflakes and removal of callargs</li>
<li>Start unification of callargs and _Call</li>
<li>mock_calls works on functions created by mocksignature</li>
<li>Changelog update</li>
<li>Changelog update</li>
<li>Update date in changelog</li>
<li>Tests for assert_any_call</li>
<li>Reducing markup in docstrings</li>
<li>Initial implementation of assert_any_call</li>
<li>Move assert_has_calls to Mock</li>
<li>Merge</li>
<li>Correct duplicate link in README</li>
<li>Merge</li>
<li>Update dev release README</li>
<li>ignore temporary script</li>
<li>Release data for 0.8 beta 2</li>
<li>Setting to an iterable will cause calls to the mock to return the next value from the iterable</li>
<li>Properly fix call_args, call_args_list issue</li>
<li>Fix regression in call_args and call_args_list behaviour</li>
<li>Minor changelog correction</li>
<li>Further updates to outstanding issues in the changelog</li>
<li>Update the outstanding issues in the changelog</li>
<li>Minor update to changelog</li>
<li>Adding full list of changes since 0.7 to changelog</li>
<li>Adding an example for mocker</li>
<li>Merge</li>
<li>Update the mock dev version link</li>
<li>Version number bump for beta 1 release</li>
<li>Minor changelog update</li>
<li>Addition of pretty-printed str to _CallList</li>
<li>patch.TEST_PREFIX controls the methods affected by patchers as class decorator</li>
<li>patch.multiple works with string subclasses</li>
<li>Tuples as well as lists allowed for specifying spec</li>
<li>Extend _CallList tests</li>
<li>Mock version bump</li>
<li>Extended test for callargs repr</li>
<li>Mock method_calls and mock_calls are now CallLists</li>
<li>Extended tests and improved docstring for callargs</li>
<li>Extending tests for callargs</li>
<li>_CallList.assert_has_calls handles duplicate call arguments correctly</li>
<li>Initial implementation of _CallList.assert_has_calls</li>
<li>Initial (partial) implementation of CallList for call_args_list</li>
<li>callargs now always have 3 members (name, args, kwargs)</li>
<li>Add docstring to Mock._get_child_mock</li>
<li>Implement __ne__ for callargs and call</li>
<li>Fix callargs call comparisons</li>
<li>Rename _new_name and _new_parent attributes</li>
<li>reset_mock includes mock_calls</li>
<li>Example update</li>
<li>Addition of subclassing example to the documentation</li>
<li>Test for overriding _get_child_mock in subclasses</li>
<li>Tests for call_list</li>
<li>Addition of &#8216;call_list&#8217; method to call for chained call assertions</li>
<li>Extending test for mock_calls and call</li>
<li>Test rename</li>
<li>Extending callargs test</li>
<li>Extending call for mock_calls</li>
<li>Initial implementation of mock_calls</li>
<li>Start extending a test for mock_calls</li>
<li>Improved failure messages for the mock assert methods</li>
<li>Fixed bug with argument passing when patch.multiple is creating mocks</li>
<li>Fix testpatch so it can be run standalone</li>
<li>Support for java exceptions on Jython</li>
<li>Making public the instance argument to create_autospec</li>
<li>CHANGELOG update</li>
<li>Minor text change</li>
<li>Modifications to docs for 0.8 alpha 2 release</li>
<li>Placeholders for missing docstrings</li>
<li>Mock is now the baseclass for MagicMock again</li>
<li>Testing patching failures with patch.multiple</li>
<li>Initial attempt to fix unpatching with patch.multiple failures</li>
<li>Test for problem with patch.multiple and adding js to docs in package</li>
<li>Fix bug where a failure to create a nested patch could leave patches undone</li>
<li>Extend tests for patch.multiple</li>
<li>Fix error message for stopping a patcher without starting it. Test create argument to patch.multiple</li>
<li>Test cleanup</li>
<li>True div operator no longer available on mocks in Python 3</li>
<li>patch.object no longer has patch.multiple functionality. patch.multiple can work on objects as well as target specified by string</li>
<li>Test update</li>
<li>Update on outstanding tests needed for patch.multiple</li>
<li>Fixing patch.multiple for decorating classes</li>
<li>Fix tests for pypy</li>
<li>patch.multiple passes in created mocks to decorated functions as keyword arguments</li>
<li>Fix test for issue I&#8217;m not going to fix</li>
<li>Failing test for copying magic methods from builtins</li>
<li>Fix for Python 3</li>
<li>Comment updates</li>
<li>Initial implementation of patch.multiple</li>
<li>Initial test for patch.multiple</li>
<li>Testing new_callable with class decorating</li>
<li>Update index page</li>
<li>Test fix for Python 3</li>
<li>spec inheritance with patch and new_callable only happens for mocks</li>
<li>CHANGELOG update</li>
<li>Using new_callable with new or autospec is an error</li>
<li>Test new_callable with spec</li>
<li>new_callable argument to patch / patch.object</li>
<li>Remove __unittest marker, which caused traceback truncation</li>
<li>create_autospec creates mocks without a spec for slot descriptors</li>
<li>Comment change</li>
<li>Test improvement</li>
<li>Test autospec name in mock repr</li>
<li>CHANGELOG update</li>
<li>Removed &#8216;inherit&#8217; argument from create_autospec</li>
<li>CHANGELOG update</li>
<li>CHANGELOG update</li>
<li>CHANGELOG update</li>
<li>autospec of a property doesn&#8217;t use a spec</li>
<li>Test for autospec and properties</li>
<li>Temporary commit for shift code downstairs</li>
<li>spec / spec_set inheritance works correctly with patch and creating non-callable mocks for instances</li>
<li>Test extension</li>
<li>Changelog update</li>
<li>create_autospec can create non-callable mocks</li>
<li>Changelog markup fix</li>
<li>Changelog update</li>
<li>Test extension</li>
<li>Test extension</li>
<li>Wing project file change</li>
<li>patching a class with non callable instances creates a non-callable return value for the mock</li>
<li>Changelog update</li>
<li>Fix bugs around methods / functions using self as an arbitrary argument Return values of mocks patching classes are also MagicMocks by default</li>
<li>Fix autospec for functions / methods with a self argument that isn&#8217;t the first argument</li>
<li>Fix for __class__ bug in Python 3</li>
<li>Minor changes</li>
<li>Test fixes</li>
<li>Test additions, currently failing</li>
<li>Test refactor and cleanup of issues reported by pyflakes</li>
<li>Addition of NonCallableMock and NonCallableMagicMock</li>
<li>New default inherit behaviour for create_autospec</li>
<li>Merge</li>
<li>Example modification</li>
<li>Merge</li>
<li>New example</li>
<li>Merge</li>
<li>Minor text update</li>
<li>Merge</li>
<li>Extending the mocking properties example</li>
<li>Minor change in doc</li>
<li>Change some rest styles on examples doc page</li>
<li>Minor changelog reformat</li>
<li>Minor changelog mod</li>
<li>Doc updates for 0.7.2 release</li>
<li>Doc updates for 0.7.2 release</li>
<li>Test extension</li>
<li>Minor text reformat</li>
<li>Extending import example</li>
<li>Further fixes for MagicMock equality</li>
<li>New example in getting started doc</li>
<li>Adding a new example to the docs</li>
<li>Minor changelog addition</li>
<li>Adding FILTER_DIR to configure private attribute filtering in __dir__</li>
<li>dir(mock) is less verbose. autospec with attributes of None creates non-specced mocks for those attributes</li>
<li>Preparation for 0.7.2</li>
<li>Tests for keyword arguments to patchers</li>
<li>Extend test to cover configure_mock</li>
<li>Test for passing keyword arguments to Mock / MagicMock constructor</li>
<li>Minor optimisation to configure_mock</li>
<li>MagicMock uses super instead of explicit upcall</li>
<li>Add <a href="#id11"><span class="problematic" id="id12">**</span></a>kwargs support to patchers and Mocks</li>
<li>Changelog update</li>
<li>Comment fix</li>
<li>autospec can now take arbitrary objects as well as True/False</li>
<li>Docstring typo fix</li>
<li>Improve test for equality / inequality</li>
<li>Remove incorrect comment</li>
<li>Fix tests for pypy and remove extraneous list call in Mock.__dir__</li>
<li>__dir__ implementation</li>
<li>Test refactor</li>
<li>Test name changes</li>
<li>Fix MagicMock equality tests</li>
<li>Adding custom __dir__ implementation</li>
<li>Updated changelog</li>
<li>patch creates a MagicMock instead of a Mock by default</li>
<li>Updated changelog</li>
<li>Updated changelog</li>
<li>Compile regex</li>
<li>Moving function definition</li>
<li>Functions created by _set_signature have the correct name</li>
<li>Make create_autospec public. Change the way autospec creates function signatures</li>
<li>Extend test for patchers and autospec argument</li>
<li>Test that combining autospec with new arguments to patch are invalid</li>
<li>Extending tests for Mock</li>
<li>Testing patch autospec argument</li>
<li>Testing signature mocking with _spec_signature</li>
<li>Testing signature mocking with _spec_signature</li>
<li>Testing signature mocking with _spec_signature</li>
<li>Test fix and minor cleanup</li>
<li>Remove use of apply from tests</li>
<li>Test name cleanup</li>
<li>patch autospec now creates a mocksignature for types and callables</li>
<li>Minor cleanup</li>
<li>Minor cleanup</li>
<li>Integrating _spec_signature with patch through the autospec keyword</li>
<li>Document limitations of auto-speccing in the changelog</li>
<li>Test fix</li>
<li>Test cleanup</li>
<li>Comment</li>
<li>Mocking with _spec_signature is now lazy. Two failing tests still to fix (those tests now out of date)</li>
<li>Avoid setting mock instance attributes unecessarily</li>
<li>Various minor fixes</li>
<li>Mocks used by _spec_signature are <em>always</em> created with a spec, instead of sometimes using standard mock attributes or allowing mocksignature to create them for us</li>
<li>Recursive function references work with _spec_signature</li>
<li>_spec_signature can mock a function</li>
<li>Comment</li>
<li>Fix _spec_signature with a spec of None</li>
<li>Fix for _spec_signature and builtin types</li>
<li>Extend tests for _spec_signature</li>
<li>id cache shared by _spec_signature for return values of mocked classes</li>
<li>Test for spec inheritance with _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Minor cleanup</li>
<li>Extend tests for _spec_signature</li>
<li>_spec_signature can now cope with objects that reference themselves</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Minor cleanup</li>
<li>_spec_signature works with classmethod and staticmethod for instances and types</li>
<li>Fix for classmethods and _spec_signature</li>
<li>Adding spec_set flag to _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Extend tests for _spec_signature</li>
<li>Correct an error message</li>
<li>Testing _spec_signature and builtin subclasses</li>
<li>_spec_signature is now recursive</li>
<li>Fix failing test for _spec_signature</li>
<li>Merge</li>
<li>Allowing tuples and list subclasses for _spec_signature</li>
<li>Issue 88: allow list subclass as a valid spec</li>
<li>Initial implementation of _spec_signature</li>
<li>Test cleanup</li>
<li>Test name cleanup</li>
<li>Test name cleanup</li>
<li>mocksignature reset_mock also resets return values</li>
<li>Adding mock API to mocksignature functions</li>
<li>Comment out failing test</li>
<li>Renamed private attributes to avoid clash. Test for mock_calls</li>
<li>Protocol methods on MagicMock are now MagicMocks, created lazily on first lookup</li>
<li>Testing call</li>
<li>Testing call</li>
<li>First changes towards 0.8.0 alpha 1</li>
<li>Merge</li>
<li>Typo fixes</li>
<li>Merge</li>
<li>Extended example for docs</li>
<li>Merge</li>
<li>Adding example to documentation</li>
<li>Fix examples.txt for recent versions of unittest2</li>
<li>Merge</li>
<li>Changelog for previous fixes</li>
<li>Use isolated binaries for tox config</li>
<li>Merge</li>
<li>Including templates in docs</li>
<li>Removing executable bit on docs</li>
<li>Converting getting-started to UNIX line endings</li>
<li>Update configure_mock recipe in docs</li>
<li>Adding link to pycon video to docs</li>
<li>Additional examples in docs</li>
<li>Remove unneeded line in docs</li>
<li>a typo, a formatting fix and an example added</li>
<li>Add fudge examples to mock comparison</li>
<li>Addition of note about patching django settings</li>
<li>Extending MagicMock as dictionary example</li>
<li>Doc tweak</li>
<li>Doc tweak</li>
<li>Doc tweak</li>
<li>Doc tweak</li>
<li>Doc tweak</li>
<li>Updating references in example</li>
<li>Adding example of mocking dictionary access with MagicMock</li>
<li>Further doctest improvements</li>
<li>Correct some doctests (to fail correctly). Adding example of nesting patches</li>
<li>Change trove status classifier to production</li>
<li>Create 0.7 branch</li>
<li>README changes for 0.7.0 release</li>
<li>Doc changes for 0.7.0 release</li>
<li>Doc changes for 0.7.0 release</li>
<li>Version number bump for 0.7.0 release</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Remove unused _has_local_attr</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Addition of note on terminology</li>
<li>Typo correction</li>
<li>Adding comparison document</li>
<li>Changelog update</li>
<li>Docs update</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Docs update</li>
<li>Doc updates</li>
<li>Rename a function to make it private. Docs update</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Theme change</li>
<li>Sphinx theme update</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Doc updates</li>
<li>Sphinx config change</li>
<li>Docs update</li>
<li>Docs update</li>
<li>docs update</li>
<li>docs update</li>
<li>docs update</li>
<li>docs update</li>
<li>Doc updates</li>
<li>Documentation update</li>
<li>Minor changes</li>
<li>Minor doc updates</li>
<li>Sphinx markup correction in examples.txt</li>
<li>Changing more examples to doctests</li>
<li>Minor doc updates</li>
<li>Changing dates in copyright notices</li>
<li>Update mailing list link in the docs</li>
<li>Changes for rc1</li>
<li>Fix recursion problem with mock.reset_mock when a mock is its own return value</li>
<li>Default implementation of wraps for Python 2.4 copies more function attributes Bunch version number Change a few dates to 2011</li>
<li>Changelog updates</li>
<li>Fix use of mock.patch with proxy objects</li>
<li>Ignore compiled jython files</li>
<li>Use standard unittest for Python 3.2 tests</li>
<li>Update to changelog</li>
<li>Adding jython, python 3.2 and pypy to tox configuration</li>
<li>Adding a link to the docs</li>
<li>Adding link to documentation</li>
<li>Changelog changes</li>
<li>Changelog change</li>
<li>Changelog changes</li>
<li>Minor changelog tinkering</li>
<li>Docs and changelog updates</li>
<li>Doc improvement</li>
<li>CHANGELOG addition</li>
<li>Docstring correction</li>
<li>Ignore latex output directory for building pdf documentation</li>
<li>Ignore build and dist directories</li>
<li>Adding a link to the docs</li>
<li>Documentation updates for 0.7.0b4 release</li>
<li>setup.py tinkerage</li>
<li>patch.dict as a class decorator</li>
<li>Removed duplicated definition of class_types</li>
<li>Slightly improved patch.start / stop test</li>
<li>Adding start and stop methods to patchers</li>
<li>Cleanup testpatch</li>
<li>Adding a test for subclassing Mock with property</li>
<li>Enhanced mocksignature test</li>
<li>Changelog tweak</li>
<li>Extending mocksignature test for patch.object</li>
<li>Fix mocksignature for patch.object and instance methods</li>
<li>Fix spec and spec_set for old style classes</li>
<li>Whitespace changes</li>
<li>Docstring and documentation updates</li>
<li>Documentation and sphinx config updates</li>
<li>spec_set defaults to None rather than False</li>
<li>Blank line additions</li>
<li>Docstring updates</li>
<li>Test for isinstance and spec_set</li>
<li>Update version number in sphinx conf</li>
<li>repr of a class with a spec_set is different to a class with a spec</li>
<li>Additional tests for spec_set</li>
<li>spec_set can be an object</li>
<li>Setting a non-existent attribute on mock created with a spec will only raise an AttributeError if spec_set keyword argument is used MagicMock attributes and return value are now MagicMocks</li>
<li>Ignoring files</li>
<li>update tags</li>
<li>Addition of assert_called_once_with method to Mock</li>
<li>Minor test tweak, changelog update</li>
<li>Spec class name included in mock repr</li>
<li>Line length changes in test</li>
<li>assert_called_with now works with python -OO</li>
<li>Slightly more elegant way of detecting invalid attribute setting with spec</li>
<li>Attempting to <em>set</em> an attribute on a class with a spec will raise an if the spec doesn&#8217;t have that attribute</li>
<li>Fix copy test for Python 2.7</li>
<li>Attempting to set an unsupported magic method now raises an AttributeError Change version number to 0.7.0 beta 4 Change copying test to work on Python 3 (no sys.maxint)</li>
<li>Allow mock objects to be copied</li>
<li>Change mock wing IDE project file to Wing 4 format</li>
<li>Corrected whitespace issue in README</li>
<li>Changelog formatting tweaks</li>
<li>Update PDF link in 0.7.0b3 docs</li>
<li>Changes for 0.7.0b3 release</li>
<li>Changes for 0.7.0b3 release</li>
<li>Updates for beta 3</li>
<li>Minor docs update</li>
<li>Simplified way MagicMock default methods are created</li>
<li>Updating docs for mocksignature</li>
<li>mocksignature works with classes and callable objects</li>
<li>Adding build_sphinx to setup.py Changing version number prior to a beta 3 release</li>
<li>docs update</li>
<li>docs update</li>
<li>Addition of sizeof to supported magic methods. Mocks can pass isinstance tests when a spec object is used</li>
<li>Added mock id to repr</li>
<li>Changed default numeric value of MagicMock to 1</li>
<li>repr to include name of mock</li>
<li>Modifying Wing ignored files</li>
<li>updating tests to use unittest2 on Python 2.7</li>
<li>Updates to config file</li>
<li>Update to wing project file and unittest config file</li>
<li>unittest.cfg update</li>
<li>Adding a unittest config file and ignoring other files</li>
<li>Enable with statement tests for Python 2.5</li>
<li>Remove unnecessary sphinx docs build for 2.7 (only need to test the docs build on one version of Python)</li>
<li>Update tox.ini for Python 3.1 (requires tox 0.7)</li>
<li>Adding commands to tox.ini</li>
<li>Change to tox configuration now that unittest2 0.5.1 is out</li>
<li>Project file update</li>
<li>Adding sphinx testing to tox.ini for Python 2.6 and 2.7</li>
<li>Modifying tox.ini for Windows compatibility</li>
<li>Minor tox.ini change</li>
<li>Adding tox config file and moving with tests to not see failures under Python 2.4</li>
<li>Fixing MANIFEST.in for Windows</li>
<li>Adding support for the setuptools &#8216;setup.py test&#8217; command</li>
<li>CHANGELOG update</li>
<li>Adding __getformat__ and __setformat__ magic method support</li>
<li>Adding more supported magic methods</li>
<li>Code formatting issue</li>
<li>Fix issue with _mock_ as varargs or varkwargs and mocksignature</li>
<li>Adding another test for mock magic methods</li>
<li>Whitespace change</li>
<li>Adding an additional mocksignature test</li>
<li>Adding an additional mocksignature test</li>
<li>Minor change to the way instance methods are checked in mocksignature</li>
<li>Adding text version of docs to distribution</li>
<li>Remove unused URL from setup.py</li>
<li>Minor CHANGELOG changes</li>
<li>Docs improvement</li>
<li>Documentation improvement</li>
<li>Adding pickling magic methods to the supported-but-not-default set</li>
<li>Adding pickling magic methods to the supported-but-not-default set</li>
<li>Improved interaction of spec and magic methods</li>
<li>Setting a magic method on a mock with a spec can only be done if the spec includes that method</li>
<li>The created class for each Mock now inherits Mock.__doc__</li>
<li>Improved failure message for Mock.assert_called_with when the mock has not yet been called</li>
<li>all leftover whitespace cleaned</li>
<li>Docs improvements</li>
<li>CHANGELOG preparation for final release</li>
<li>Additional docstrings</li>
<li>Version number and doc changes</li>
<li>Link correction in docs</li>
<li>README update</li>
<li>Removing the TODO page from the documentation and adding 0.7b2 changelog</li>
<li>Rename withAvailable to with_available</li>
<li>Enable additional tests under Python 2.5</li>
<li>Cleaning up issues reported by pyflakes and adding a descriptor test that I won&#8217;t yet fix</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Minor doc tweak</li>
<li>Doc update for patch.dict()</li>
<li>patch.dict(...) works with dictionaries specified by name (string)</li>
<li>patch.dict(...) now works as context manager</li>
<li>Fix a bug in patch.dict(...) and checkin two failing tests for new functionality</li>
<li>Adding Python 3 trove classifiers</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>Docs improvements</li>
<li>mocksignature will now create a mock for you if you don&#8217;t pass one in</li>
<li>Adding docs and tests to distribution</li>
<li>Docs changes</li>
<li>More doc changes</li>
<li>Updating index page for 0.7 release</li>
<li>CHANGELOG and TODO update</li>
<li>CHANGELOG update</li>
<li>Adding some docstrings</li>
<li>Test tinkering</li>
<li>mocksignature now adds the mock to the created function</li>
<li>More tinkering</li>
<li>More tinkering</li>
<li>Minor tinkering</li>
<li>Adding a test for the mocksignature argument to patch</li>
<li>Fixing test for __all__ and removing unused imports reported by pyflakes. Adding a test for the mocksignature argument to patch.oject</li>
<li>Version number change and test for __all__</li>
<li>Update copyright notices in code</li>
<li>Adding MagicMock to mock.__all__</li>
<li>Minor test improvement</li>
<li>Reorganise magic methods slightly</li>
<li>Comment change</li>
<li>Adding descriptor methods to non default magic methods</li>
<li>Reorganise magic methods slightly</li>
<li>Minor test improvement for MagicMock</li>
<li>More default values for magic methods in MagicMock</li>
<li>More default values for magic methods in MagicMock</li>
<li>Improved (again) handling of default return values for MagicMock</li>
<li>Improved way of supporting default return values in mock magic methods</li>
<li>Sensible defaults for <em>some</em> of the magic methods in MagicMock</li>
<li>Skipping the test for obsolete magic methods in Python 3</li>
<li>Add support of obsolete magic methods</li>
<li>Support for clear argument to patch.dict</li>
<li>Test patch.dict with list of tuples instead of dictionary for values</li>
<li>Support patch.dict for dictionary like objects</li>
<li>Support patch.dict for dictionary like objects</li>
<li>Preserve name of wrapped functions / methods</li>
<li>Replace <em>more</em> assertEquals with assertEqual</li>
<li>Initial implementation of patch.dict. Concerns that this overwrites the signature of wrapped functions / methods. Should we be using functools.wraps? Should patch.dict support the new mocksignature argument?</li>
<li>Ignoring build directories created by setuptools</li>
<li>regression test added</li>
<li>Making the import of unittest2 from tests.support</li>
<li>Getting rid of deprecation warning in Python 2.7 and removing some cruft from test modules</li>
<li>Changing test support code</li>
<li>made the tests slightly less evil (I couldn&#8217;t sleep because of that :D )</li>
<li>ignored MANIFEST</li>
<li>Typo correction</li>
<li>changelog update</li>
<li>double patch bug fixed</li>
<li>setup.py fixes</li>
<li>removed unused import</li>
<li>Minor doc change</li>
<li>Minor docs update</li>
<li>Minor docs update around testing</li>
<li>Adding a couple more articles on mock to the references section</li>
<li>Minor comment update</li>
<li>Minor update to unittest test discovery in docs</li>
<li>docs updated</li>
<li>Removing unused imports / variables reported by pyflakes and adding minor code comments</li>
<li>Minor CHANGELOG change</li>
<li>Minor README update</li>
<li>added a note about deprecating patch_object</li>
<li>updated the docs</li>
<li>side_effect now works with BaseException exceptions</li>
<li>made tests 2.4 compatible (partly)</li>
<li>moved patch_object to patch.object, deprecated previous api</li>
<li>Removing the types import and using the internally defined ClassType</li>
<li>Changing more assertEquals to assertEqual</li>
<li>Version number change</li>
<li>Minor change to class decorator code</li>
<li>Text formatting in documentation</li>
<li>py3 compatibility for class decorator</li>
<li>patch class decorator documented</li>
<li>test update</li>
<li>changelog update</li>
<li>class decorator implemented (as destructive decorator)</li>
<li>Fix text formatting in patch.txt</li>
<li>Fix a couple of examples in documentation</li>
<li>Fix spec=True examples</li>
<li>Minor changelog addition. Change all use of assertEquals to assertEqual</li>
<li>Updated README</li>
<li>Updated README</li>
<li>Updated README</li>
<li>Updated README</li>
<li>Changelog additions</li>
<li>Test for MagicMock as a context manager</li>
<li>Changelog additions</li>
<li>Code comment</li>
<li>Testing MagicMock</li>
<li>Ignoring Python 3 __pycache__ files</li>
<li>Support for mocking method signatures in Python 3</li>
<li>Added support for __bool__ as a magic method under Python 3</li>
<li>First steps towards Python 3 compatibility</li>
<li>Use unittest2 TestCase features and remove custom testcase</li>
<li>removed leftover files</li>
<li>changelog updated</li>
<li>documentation for lenient comparisons</li>
<li>explicit test for call_args</li>
<li>simple call_args comparison</li>
<li>fixed doctests</li>
<li>documetation updated</li>
<li>method_calls now returns callargs objects</li>
<li>switched to unittest2</li>
<li>moved to unittest2 and marked testMagicMethodWrapping as expected failure</li>
<li>Addition of MagicMock. Needs testing</li>
<li>Ignoring distribution building artefacts</li>
<li>Updating setup.py</li>
<li>Doc correction</li>
<li>Fix for fetching magic methods from the instance</li>
<li>Adding another note</li>
<li>Typo correction</li>
<li>Addition of new test file</li>
<li>Refactoring tests</li>
<li>Extending tests for magic method wrapping</li>
<li>Bypass wrapping when setting a magic method to a Mock</li>
<li>Add note to extendmock that all functionality has been merged into Mock 0.7.0</li>
<li>Minor note in docs</li>
<li>Minor note in docs</li>
<li>__enter__ and __exit__ now handled</li>
<li>Wrapping in Mock.__setattr__ so that magic methods fetched from the instance still get self passed in as the first argument</li>
<li>More noting of what hasn&#8217;t been done yet</li>
<li>Tests and docs updates</li>
<li>Date in docstring updated</li>
<li>Updating changelog</li>
<li>Improving tests</li>
<li>Merging extendmock into mock</li>
<li>docstring enhancement</li>
<li>Better implementation of MagicMock. MagicMock instances no longer have <em>all</em> magic methods</li>
<li>Minor code tinkerage</li>
<li>Minor test correction</li>
<li>Test completion for mocksignature</li>
<li>Correct horrible error accidentally left in previous commit (this message genuine as previous commit with spurious message was a slip of the fingers...)</li>
<li>Correct horrible error accidentally left in previous commit</li>
<li>Correct horrible error accidentally left in previous commit</li>
<li>Problem with the way default arguments arehandled in mocksignature</li>
<li>Test improvements for extendmock</li>
<li>Improvements to extendmock and tests</li>
<li>Adding extendmock</li>
<li>doc fix</li>
<li>Minor doc change</li>
<li>Doc change</li>
<li>Switching to using test discovery to run tests</li>
<li>Minor doc change</li>
<li>Fixing setup.py</li>
<li>Doc changes and removing dependency on setuptools in setup.py</li>
<li>Preparation for 0.6.0 release</li>
<li>Documentation updates</li>
<li>Documentation updates</li>
<li>Whitespace correction</li>
<li>Doc changes</li>
<li>Correct patching / unpatching of static methods</li>
<li>Fix syntax error - mock still not working</li>
<li>Implementation for safe_get_attribute but not wired in yet</li>
<li>Temporarily failing test..</li>
<li>Migrating tests to new layout</li>
<li>renaming test modules to be compatible with discovery</li>
<li>Adding call_count to the docs</li>
<li>date correction</li>
<li>0.5.0 release</li>
<li>Removing magics support for 0.5 release</li>
</ul>
</div>
<div class="section" id="release-0-5-0">
<h2>release-0.5.0<a class="headerlink" href="#release-0-5-0" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li>added empty latex directory for PDF doc builds</li>
<li>test changes for running under Wing</li>
<li>test changes for running under Wing</li>
<li>minor doc fix</li>
<li>more copyright year fixing</li>
<li>minor test fix</li>
<li>updating documentation and copyright year in sources</li>
<li>Changing the way side_effect is called</li>
<li>Changing the way side_effect is called</li>
<li>Adding wraps keyword argument</li>
<li>Adding wraps keyword argument</li>
<li>Making patch a context manager</li>
<li>Renamed .reset() to .reset_mock()</li>
<li>Docs update</li>
<li>Docs update</li>
<li>Addition of create argument to patch and inheritance of spec for patched classes</li>
<li>Doc update</li>
<li>Docs update</li>
<li>Docs update</li>
<li>Doc changes</li>
<li>Docs update</li>
<li>Docs update</li>
<li>Changes related to moving of tests</li>
<li>Changed &#8216;UnitTests&#8217; to &#8216;tests&#8217;</li>
<li>Doc update</li>
<li>Doc updates</li>
<li>Updated docs</li>
<li>Change docs to Sphinx</li>
<li>Spec changes</li>
<li>Merged spec / methods keyword arguments and added magics keyword argument</li>
<li>Spec changes</li>
<li>Typo fix in docs</li>
<li>Minor test change</li>
<li>Updated docs</li>
<li>Update</li>
<li>Update</li>
<li>Added EOL fixing</li>
<li>Initial checkin</li>
<li>Initial directory structure</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">CHANGES</a><ul>
<li><a class="reference internal" href="#id1">2.0.0</a></li>
<li><a class="reference internal" href="#id2">1.3.0</a></li>
<li><a class="reference internal" href="#id3">1.2.0</a></li>
<li><a class="reference internal" href="#id4">1.1.4</a></li>
<li><a class="reference internal" href="#id5">1.1.3</a></li>
<li><a class="reference internal" href="#id6">1.1.2</a></li>
<li><a class="reference internal" href="#id7">1.1.1</a></li>
<li><a class="reference internal" href="#id8">1.1.0</a></li>
<li><a class="reference internal" href="#id9">1.0.1</a></li>
<li><a class="reference internal" href="#id10">0.8.0</a></li>
<li><a class="reference internal" href="#release-0-5-0">release-0.5.0</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="index.html"
                        title="previous chapter">Mock - Mocking and Testing Library</a></p>
  <div role="note" aria-label="source link">
    <h3>This Page</h3>
    <ul class="this-page-menu">
      <li><a href="_sources/changelog.txt"
            rel="nofollow">Show Source</a></li>
    </ul>
   </div>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <div><input type="text" name="q" /></div>
      <div><input type="submit" value="Go" /></div>
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="index.html" title="Mock - Mocking and Testing Library"
             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">Mock 2.0.0 documentation</a> &#187;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &#169; Copyright 2007-2016, Michael Foord &amp; the mock team.
      Last updated on Oct 06, 2016.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.4.8.
    </div>
  </body>
</html>